You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2017/11/29 14:40:24 UTC

[13/50] commons-build-plugin git commit: Don't rat-check download page templates

Don't rat-check download page templates

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/commons-build-plugin/trunk@1739755 13f79535-47bb-0310-9956-ffa450edef68


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/f778536b
Tree: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/tree/f778536b
Diff: http://git-wip-us.apache.org/repos/asf/commons-build-plugin/diff/f778536b

Branch: refs/heads/master
Commit: f778536b47e3270fe0dda882b7eb8219e5ff8fa3
Parents: 1feaa85
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Mon Apr 18 12:51:51 2016 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Mon Apr 18 12:51:51 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/commons-build-plugin/blob/f778536b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0d78164..248aa84 100644
--- a/pom.xml
+++ b/pom.xml
@@ -121,7 +121,6 @@
                         </configuration>
                     </execution>
                 </executions>
-
             </plugin>
             <plugin>
                 <artifactId>maven-assembly-plugin</artifactId>
@@ -132,6 +131,18 @@
                     <tarLongFileMode>gnu</tarLongFileMode>
                 </configuration>
             </plugin>
+            <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>
         </plugins>
     </build>
     <reporting>