src/main/java/com/xx/base*, src/main/java/com/xx*, src/main/resource*, src/test/java*
- 原文
I have a project configured in maven and the code analysis is done by SonarQube.
I am trying to configure SonarQube in the pom.xml file to exclude a few files from the code analysis. Those files can be identified by their class names, they contain the underscore character before the extension (they are metamodel classes). Below I give the part of the pom.xml file where I try to exclude them:
org.codehaus.mojo sonar-maven-plugin2.2 src/main/java file:**/src/main/java*_.*
However, the above code does not work. Is there a way to configure SonarQube from my pom.xml file to ignore those files when analysing the source code?
Thank you in advance.
解决方案
Sonar exclusions (like other sonar properties) section">have to be added to the
UTF-8 http://www.example.com/ jdbc:postgresql://www.example.com/sonar org.postgresql.Driver sonar sonar org/binarytherapy/generated*, **/GuiceBindComposer.java reuseReports



