Define some Sonar properties to skip unwanted classes and modules
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tue, 17 Nov 2015 23:45:52 +0000 (18:45 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 18 Nov 2015 21:56:51 +0000 (16:56 -0500)
Those are defined in our Hudson job right now but it's nicer to
have them as a default. For example, when running locally.

Change-Id: I2224a5573162454197be5459bdabcbebb6a8349c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/60674
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
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.024767 seconds and 5 git commands to generate.