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

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

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -