spring boot 打包跳过测试

备注:我使用的是 idea

方式一:在pom.xml中添加 spring boot maven打包插件

 
        
            
                org.springframework.boot
                spring-boot-maven-plugin
                true
            
        
    


方式二: pom.xml 中的 properties 设置

    
        true
    

 

你可能感兴趣的:(springboot,build)