aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-11-04 22:38:26 +0100
committerJulien HENRY <julien.henry@sonarsource.com>2015-11-05 09:34:48 +0100
commit52c69fcd007fcad58f23bc80ffcab9b06326fb0a (patch)
tree1278aaa6bc7d9e5b581ecba19c0c2737fc2b9dc0 /pom.xml
parent57c9deb5d99cc878ef86cd79976249c2543865df (diff)
downloadsonarqube-52c69fcd007fcad58f23bc80ffcab9b06326fb0a.tar.gz
sonarqube-52c69fcd007fcad58f23bc80ffcab9b06326fb0a.zip
Exclude protobuf generated files from the SQ analysis
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index a574fac25ab..d8f301eea29 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1363,6 +1363,9 @@
<exists>src/main/protobuf</exists>
</file>
</activation>
+ <properties>
+ <sonar.exclusions>${project.build.directory}/generated-sources/protobuf/**/*</sonar.exclusions>
+ </properties>
<build>
<plugins>
<plugin>
@@ -1430,6 +1433,9 @@
<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>