Make the apache-rat-plugin ONLY run against the root project.
The apache-rat-plugin will cover all files in the project when
run from the root.
Previously the samples.pom disabled the site plugin execution to
work around this issue.
diff --git a/pom.xml b/pom.xml
index 20b8c89..0064b95 100644
--- a/pom.xml
+++ b/pom.xml
@@ -913,6 +913,8 @@
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.11</version>
+ <!-- only run at the root -->
+ <inherited>false</inherited>
<configuration>
<!-- note that this configuration needs to be maintain both in pluginManagement and reporting sections -->
<excludes>
diff --git a/samples/pom.xml b/samples/pom.xml
index 941621e..a4874d4 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -41,22 +41,6 @@
<module>spring-hibernate</module>
</modules>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <inherited>true</inherited>
- <configuration>
- <!-- Turn off this plugin - it often fails with the example projects:
- http://shiro-developer.582600.n2.nabble.com/Failed-releases-and-Apache-Rat-tp7577605.html -->
- <skip>true</skip>
- <skipDeploy>true</skipDeploy>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
<reporting>
<plugins>
<plugin>