FELIX-5160 : Update configuration for Apache rat plugin
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1723476 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom/changelog.txt b/pom/changelog.txt
index 7d3b514..ccaba9b 100644
--- a/pom/changelog.txt
+++ b/pom/changelog.txt
@@ -4,6 +4,7 @@
* [FELIX-5157] - Add m2e lifecycle mappings
* [FELIX-5158] - Update test dependencies
* [FELIX-5159] - Update plugin dependencies
+ * [FELIX-5160] - Update configuration for Apache rat plugin
Changes from 2.1 to 3
diff --git a/pom/pom.xml b/pom/pom.xml
index 385eca7..cc3406b 100644
--- a/pom/pom.xml
+++ b/pom/pom.xml
@@ -158,7 +158,7 @@
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
- <version>0.10</version>
+ <version>0.11</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -280,7 +280,7 @@
<target>1.${felix.java.version}</target>
</configuration>
</plugin>
- <plugin>
+ <plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<executions>
@@ -296,12 +296,15 @@
<includes>
<include>src/**</include>
</includes>
- <excludes>
+ <excludes combine.children="append">
+ <!-- Used by maven-remote-resources-plugin -->
<exclude>src/main/appended-resources/**</exclude>
+ <!-- Exclude all JSON files -->
+ <exclude>**/*.json</exclude>
</excludes>
</configuration>
</plugin>
- <plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<executions>