rat is already run on each build since maven-parent 25: now configuration enhancements are to be put in pluginManagement

git-svn-id: https://svn.apache.org/repos/asf/maven/doxia/doxia-tools/trunk@1738484 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 02199c7..0064cf1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -173,6 +173,20 @@
   </dependencies>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes combine.children="append">
+              <exclude>src/test/resources/unit/*/test.*</exclude>
+              <exclude>src/test/resources/book-1/section-*.apt</exclude>
+            </excludes>            
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <plugins>
       <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
@@ -197,24 +211,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes combine.children="append">
-            <exclude>src/test/resources/unit/*/test.*</exclude>
-            <exclude>src/test/resources/book-1/section-*.apt</exclude>
-          </excludes>            
-        </configuration>
-        <executions>
-          <execution>
-            <id>check</id>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>      
     </plugins>
   </build>
 </project>
\ No newline at end of file