I look through the Internet and tried a million diferent ways, but didn't find an answer.
Is there any way to exclude some folders with source files from the Sonar analysis, when I use maven to launch it (e.g. mvn sonar:sonar)?
I look through the Internet and tried a million diferent ways, but didn't find an answer.
Is there any way to exclude some folders with source files from the Sonar analysis, when I use maven to launch it (e.g. mvn sonar:sonar)?
You can use the "sonar.exclusions" property to exclude source files using patterns: see http://docs.sonarqube.org/display/SONAR/Analysis+Parameters