Repository: commons-build-plugin
Updated Branches:
  refs/heads/master 5d0065f2c -> 7fdc16deb


Just like for a build, exclude the template files for header and footer
from the RAT report.

Project: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/commons-build-plugin/commit/7fdc16de
Tree: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/tree/7fdc16de
Diff: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/diff/7fdc16de

Branch: refs/heads/master
Commit: 7fdc16deb3b5c3e2fb622bd5262f4a2574fe79cd
Parents: 5d0065f
Author: Gary Gregory <garydgreg...@gmail.com>
Authored: Sat May 26 13:21:21 2018 -0600
Committer: Gary Gregory <garydgreg...@gmail.com>
Committed: Sat May 26 13:21:21 2018 -0600

----------------------------------------------------------------------
 pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-build-plugin/blob/7fdc16de/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a2d87ae..3e4f4c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -153,6 +153,18 @@
   </build>
   <reporting>
     <plugins>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <useDefaultExcludes>true</useDefaultExcludes>
+          <excludes>
+            <!-- template files which will be inserted into the middle of 
resulting page -->
+            
<exclude>src/main/resources/commons-xdoc-templates/download-page-body.xml</exclude>
+            
<exclude>src/main/resources/commons-xdoc-templates/download-page-foot.xml</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
 
       <!-- exclude surefire report -->
       <plugin>

Reply via email to