【maven】如何去跳过maven一些插件的检查与测试环节

【问题】下载Maven管理的一些源码后或使用一些maven插件时,编译会出现一定检查测试执行类问题,可分别通过如下办法跳过


【跳过findbugs检查】

       
       org.codehaus.mojo        
       findbugs-maven-plugin        
       ${maven-findbugs-plugin.version}        
                
        true                
       


【跳过surefire测试】
       
             
                     
   org.apache.maven.plugins                 
   maven-surefire-plugin                   
                    
    true 
                                
   
           
 
       
 
   

【跳过license检查】
       
 com.mycila        
 license-maven-plugin        
          
  true        
 
      

【跳过test校验】
行 Run Configurations,在Goals中输入 -> 
install -Dmaven.test.skip=true 执行 
【跳过checkstyle检查】
    
 org.apache.maven.plugins     
 maven-checkstyle-plugin     
 ${maven-checkstyle-plugin.version}     
       
  true         
 


你可能感兴趣的:(Maven相关)