Browse Source

跳过单元测试

shuzheng 8 years ago
parent
commit
17ea94cb56
1 changed files with 22 additions and 0 deletions
  1. 22 0
      zheng-common/pom.xml

+ 22 - 0
zheng-common/pom.xml

@@ -161,6 +161,11 @@
             <artifactId>jackson-databind</artifactId>
             <version>2.5.4</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-compress</artifactId>
+            <version>1.12</version>
+        </dependency>
         <!-- Hibernate Validator -->
         <dependency>
             <groupId>javax.persistence</groupId>
@@ -230,4 +235,21 @@
             <version>1.2</version>
         </dependency>
     </dependencies>
+
+    <build>
+        <finalName>zheng-common</finalName>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.18.1</version>
+                <configuration>
+                    <!--是否跳过单元测试-->
+                    <skipTests>true</skipTests>
+                    <!--是否忽略单元测试错误-->
+                    <testFailureIgnore>true</testFailureIgnore>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 </project>