summaryrefslogtreecommitdiffstats
path: root/sonar
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2014-03-10 19:35:25 +0000
committerDominik Stadler <centic@apache.org>2014-03-10 19:35:25 +0000
commit9f322d5543182ae5f38f76500edae2d5d3e7fb82 (patch)
tree8a5d07c58e0f8ccc17dcb856f470423edb35f2b3 /sonar
parent668aa034831e3e8670c55a94a4379df0866282b1 (diff)
downloadpoi-9f322d5543182ae5f38f76500edae2d5d3e7fb82.tar.gz
poi-9f322d5543182ae5f38f76500edae2d5d3e7fb82.zip
Try one more way of excluding generated sources in the Maven pom.xml files for Sonar analysis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1576063 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sonar')
-rw-r--r--sonar/ooxml-schema-encryption/pom.xml5
-rw-r--r--sonar/ooxml-schema/pom.xml5
-rw-r--r--sonar/pom.xml3
3 files changed, 10 insertions, 3 deletions
diff --git a/sonar/ooxml-schema-encryption/pom.xml b/sonar/ooxml-schema-encryption/pom.xml
index aa723d0d6f..56d2976775 100644
--- a/sonar/ooxml-schema-encryption/pom.xml
+++ b/sonar/ooxml-schema-encryption/pom.xml
@@ -13,6 +13,11 @@
<name>Apach POI - Openxmlformats Encryption Schema package</name>
+ <properties>
+ <!-- see http://docs.codehaus.org/display/SONAR/Narrowing+the+Focus for details of this property -->
+ <sonar.exclusions>target/generated-sources/*</sonar.exclusions>
+ </properties>
+
<build>
<plugins>
<plugin>
diff --git a/sonar/ooxml-schema/pom.xml b/sonar/ooxml-schema/pom.xml
index 92426b486b..453b53fa57 100644
--- a/sonar/ooxml-schema/pom.xml
+++ b/sonar/ooxml-schema/pom.xml
@@ -13,6 +13,11 @@
<name>Apach POI - Openxmlformats Schema package</name>
+ <properties>
+ <!-- see http://docs.codehaus.org/display/SONAR/Narrowing+the+Focus for details of this property -->
+ <sonar.exclusions>target/generated-sources/*</sonar.exclusions>
+ </properties>
+
<build>
<plugins>
<!-- Download and unpack the OfficeOpenXML Schema and use xmlbeans to create classes from the XSDs -->
diff --git a/sonar/pom.xml b/sonar/pom.xml
index abc8375135..387ff8181a 100644
--- a/sonar/pom.xml
+++ b/sonar/pom.xml
@@ -64,9 +64,6 @@
<properties>
<project.build.sourceEncoding>ASCII</project.build.sourceEncoding>
-
- <!-- see http://docs.codehaus.org/display/SONAR/Narrowing+the+Focus for details of this property -->
- <sonar.exclusions>com/microsoft/*,org/openxmlformats/*,schemasMicrosoftCom*</sonar.exclusions>
</properties>
<build>