]> source.dussan.org Git - sonarqube.git/commitdiff
Exclude protobuf generated files from the SQ analysis 616/head
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 4 Nov 2015 21:38:26 +0000 (22:38 +0100)
committerJulien HENRY <julien.henry@sonarsource.com>
Thu, 5 Nov 2015 08:34:48 +0000 (09:34 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index a574fac25aba567de97a51299398aea5fcff1334..d8f301eea29fb33507efe74bf117eba34129d3eb 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           <exists>src/main/protobuf</exists>
         </file>
       </activation>
+      <properties>
+        <sonar.exclusions>${project.build.directory}/generated-sources/protobuf/**/*</sonar.exclusions>
+      </properties>
       <build>
         <plugins>
           <plugin>
           <exists>src/test/protobuf</exists>
         </file>
       </activation>
+      <properties>
+        <sonar.test.exclusions>${project.build.directory}/generated-test-sources/protobuf/**/*</sonar.test.exclusions>
+      </properties>
       <build>
         <plugins>
           <plugin>