打包时跳过测试

1.x
tanghc 6 years ago
parent c7f24e815c
commit f6504b17f7
  1. 9
      sop-example/sop-story/sop-story-web/pom.xml

@ -89,6 +89,15 @@
<build> <build>
<plugins> <plugins>
<!-- 打包时跳过测试 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>

Loading…
Cancel
Save