环境:Springboot2.x,配置如下
true 跳过测试且不会生成classtrue 会跳过测试但是会生成测试class
org.apache.maven.plugins
maven-surefire-plugin
org.springframework
springloaded
1.2.8.RELEASE
true
true 跳过测试且不会生成class
true 会跳过测试但是会生成测试class
spring-boot-maven-plugin插件已经集成了maven-surefire-plugin插件,会自动运行 Junit test,因此停用自动单元测试,只需要调用true 或者true 即可
org.springframework.boot
spring-boot-maven-plugin
org.springframework
springloaded
1.2.8.RELEASE
true