Browse Source

打包过滤

tags/正式3.2.0
王宁 2 years ago
parent
commit
264becdf31
6 changed files with 54 additions and 0 deletions
  1. 9
    0
      gateway/pom.xml
  2. 9
    0
      register/pom.xml
  3. 9
    0
      sapi/pom.xml
  4. 9
    0
      sclass/pom.xml
  5. 9
    0
      slive/pom.xml
  6. 9
    0
      sstudy/pom.xml

+ 9
- 0
gateway/pom.xml View File

@@ -59,6 +59,15 @@
59 59
                 <groupId>org.springframework.boot</groupId>
60 60
                 <artifactId>spring-boot-maven-plugin</artifactId>
61 61
             </plugin>
62
+            <plugin>
63
+                <!--编译跳过测试文件检查的生命周期-->
64
+                <groupId>org.apache.maven.plugins</groupId>
65
+                <artifactId>maven-surefire-plugin</artifactId>
66
+                <version>2.22.2</version>
67
+                <configuration>
68
+                    <skip>true</skip>
69
+                </configuration>
70
+            </plugin>
62 71
         </plugins>
63 72
     </build>
64 73
 

+ 9
- 0
register/pom.xml View File

@@ -47,6 +47,15 @@
47 47
                 <groupId>org.springframework.boot</groupId>
48 48
                 <artifactId>spring-boot-maven-plugin</artifactId>
49 49
             </plugin>
50
+            <plugin>
51
+                <!--编译跳过测试文件检查的生命周期-->
52
+                <groupId>org.apache.maven.plugins</groupId>
53
+                <artifactId>maven-surefire-plugin</artifactId>
54
+                <version>2.22.2</version>
55
+                <configuration>
56
+                    <skip>true</skip>
57
+                </configuration>
58
+            </plugin>
50 59
         </plugins>
51 60
     </build>
52 61
 

+ 9
- 0
sapi/pom.xml View File

@@ -119,6 +119,15 @@
119 119
                     </excludes>
120 120
                 </configuration>
121 121
             </plugin>
122
+            <plugin>
123
+                <!--编译跳过测试文件检查的生命周期-->
124
+                <groupId>org.apache.maven.plugins</groupId>
125
+                <artifactId>maven-surefire-plugin</artifactId>
126
+                <version>2.22.2</version>
127
+                <configuration>
128
+                    <skip>true</skip>
129
+                </configuration>
130
+            </plugin>
122 131
         </plugins>
123 132
     </build>
124 133
 

+ 9
- 0
sclass/pom.xml View File

@@ -98,6 +98,15 @@
98 98
                     </excludes>
99 99
                 </configuration>
100 100
             </plugin>
101
+            <plugin>
102
+                <!--编译跳过测试文件检查的生命周期-->
103
+                <groupId>org.apache.maven.plugins</groupId>
104
+                <artifactId>maven-surefire-plugin</artifactId>
105
+                <version>2.22.2</version>
106
+                <configuration>
107
+                    <skip>true</skip>
108
+                </configuration>
109
+            </plugin>
101 110
         </plugins>
102 111
     </build>
103 112
 

+ 9
- 0
slive/pom.xml View File

@@ -108,6 +108,15 @@
108 108
                     </excludes>
109 109
                 </configuration>
110 110
             </plugin>
111
+            <plugin>
112
+                <!--编译跳过测试文件检查的生命周期-->
113
+                <groupId>org.apache.maven.plugins</groupId>
114
+                <artifactId>maven-surefire-plugin</artifactId>
115
+                <version>2.22.2</version>
116
+                <configuration>
117
+                    <skip>true</skip>
118
+                </configuration>
119
+            </plugin>
111 120
         </plugins>
112 121
     </build>
113 122
 

+ 9
- 0
sstudy/pom.xml View File

@@ -119,6 +119,15 @@
119 119
                     </excludes>
120 120
                 </configuration>
121 121
             </plugin>
122
+            <plugin>
123
+                <!--编译跳过测试文件检查的生命周期-->
124
+                <groupId>org.apache.maven.plugins</groupId>
125
+                <artifactId>maven-surefire-plugin</artifactId>
126
+                <version>2.22.2</version>
127
+                <configuration>
128
+                    <skip>true</skip>
129
+                </configuration>
130
+            </plugin>
122 131
         </plugins>
123 132
     </build>
124 133
 

Loading…
Cancel
Save