Maven skip tests

后端 未结 8 2152
攒了一身酷
攒了一身酷 2020-12-12 09:10

I am using Maven 2.2.1 and to build my project I used this command

mvn clean install -Dmaven.test.skip=true

However, the build failed sayin

8条回答
  •  佛祖请我去吃肉
    2020-12-12 09:46

    During maven compilation you can skip test execution by adding following plugin in pom.xml

    
        org.apache.maven.plugins
        maven-surefire-plugin
        2.20.1
        
             true
        
    
    

提交回复
热议问题