Configure explicit RAT exclusions for the files that cannot contain a license header.
This plugin now passes the checks done by RAT.
git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1523348 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 7c0e062..1ab29ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -194,6 +194,25 @@
</dependencies>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.10</version>
+ <configuration>
+ <excludes>
+ <!--
+ These are archive files that should ideally be recognized by RAT.
+ -->
+ <exclude>src/test/resources/unit/sample_wars/sample.par</exclude>
+ <exclude>src/test/resources/unit/sample_wars/simple.mar</exclude>
+ <exclude>src/test/resources/unit/sample_wars/simple.xar</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<!-- TO remove when parent upgrade -->
<plugin>