Define some Sonar properties to skip unwanted classes and modules
[deliverable/tracecompass.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 70019596602e282f99e2d3589cfe254440424950..ebeeac802386d582cfc5fe0105119a8f13d78fc0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,8 @@
   <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
   <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
   <sonar.java.source>1.8</sonar.java.source>
+  <sonar.exclusions>**/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/**</sonar.exclusions>
+  <sonar.skippedModules>org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples</sonar.skippedModules>
   <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
   <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.5</help-docs-eclipserun-repo>
   <!-- Disable GTK3 because it's not quite usable yet and it can make the tests hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
This page took 0.027347 seconds and 5 git commands to generate.