move apache-rat configuration from site to plugin-management sections, so that it also applies when "mvn apache-rat:check" is run

thanks to Karl Heinz Marbaise for the patch
This commit is contained in:
pascalschumacher 2016-12-18 15:48:26 +01:00
parent 363cbf7908
commit 6cfee3d0e5
1 changed files with 17 additions and 13 deletions

30
pom.xml
View File

@ -587,6 +587,23 @@
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>site-content/**</exclude>
<exclude>src/site/resources/.htaccess</exclude>
<exclude>src/site/resources/download_lang.cgi</exclude>
<exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
<exclude>src/test/resources/lang-708-input.txt</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -724,19 +741,6 @@
<artifactId>javancss-maven-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>site-content/**</exclude>
<exclude>src/site/resources/.htaccess</exclude>
<exclude>src/site/resources/download_lang.cgi</exclude>
<exclude>src/site/resources/release-notes/RELEASE-NOTES-*.txt</exclude>
<exclude>src/test/resources/lang-708-input.txt</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</reporting>