How to make SonarQube module analyze the project only once when sonar analysis is bound to maven lifecycle in a multi-module project?

前端 未结 1 1940
终归单人心
终归单人心 2020-12-19 11:43

What I am trying to achieve is integrate SonarQube analysis into the build process, so that whenever mvn clean install is run, the code is analyzed with SonarQu

1条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-19 12:17

    IMO, this is just a Maven configuration issue, you're missing the false element on the execution of sonar:sonar:

                    
                    
                       org.codehaus.mojo
                       sonar-maven-plugin
                       2.5
                       
                            
                               verify
                               
                                  sonar
                               
                               false
                            
                      
                    
    

    0 讨论(0)
提交回复
热议问题