sonarqube - How to skip a sub module in a sonar analysis in a multi module java project -


i have multi module maven project. need exclude 1 of sub module sonar anlaysis.

i run mvn sonar:sonar parent directory.

is there way specify exclusions in pom file or need configure in sonar qube.

from documentation:

you can either:

  • define property <sonar.skip>true</sonar.skip> in pom.xml of module want exclude
  • use build profiles exclude module (like integration tests)
  • use advanced reactor options (such "-pl"). example } mvn sonar:sonar -pl !module2

Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -