maven-surefire-plugin配置跳过单元测试
解决方法:
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>com.AdminServiceApplication</mainClass>
</configuration>
</plugin>
<!-- 跳过单元测试 -->
http://www.yayihouse.com/yayishuwu/chapter/2034
</plugins>
</build>