aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar/scratchpad/pom.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/sonar/scratchpad/pom.xml b/sonar/scratchpad/pom.xml
index 24e8045d76..a05d12696d 100644
--- a/sonar/scratchpad/pom.xml
+++ b/sonar/scratchpad/pom.xml
@@ -13,6 +13,12 @@
<name>Apache POI Scratchpad package</name>
+ <properties>
+ <!-- Exclude some generated code from Sonar analysis -->
+ <sonar.exclusions>src/main/java/org/apache/poi/hwpf/model/types/*,src/main/java/org/apache/poi/hdf/model/hdftypes/definitions/*</sonar.exclusions>
+ </properties>
+
+
<build>
<plugins>
<!-- copy sources, resources and tests in place as otherwise Sonar does not pick them up correctly! -->