Browse Source

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
pull/132/head
Dominik Stadler 10 years ago
parent
commit
d30236c873
3 changed files with 10 additions and 3 deletions
  1. 5
    0
      sonar/ooxml-schema-encryption/pom.xml
  2. 5
    0
      sonar/ooxml-schema/pom.xml
  3. 0
    3
      sonar/pom.xml

+ 5
- 0
sonar/ooxml-schema-encryption/pom.xml View File

@@ -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>

+ 5
- 0
sonar/ooxml-schema/pom.xml View File

@@ -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 -->

+ 0
- 3
sonar/pom.xml View File

@@ -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>

Loading…
Cancel
Save