Tuesday, June 26, 2012

skip test while build maven project

1)


  [...]
  
    
      
        org.apache.maven.plugins
        maven-surefire-plugin
        2.12
        
          true
        
      
    
  
  [...]

2)
mvn install -DskipTests
3)mvn install -Dmaven.test.skip=true

No comments:

Post a Comment