configured license check

git-svn-id: https://svn.apache.org/repos/asf/maven/doxia/doxia-tools/trunk@1612312 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/doxia-book-renderer/pom.xml b/doxia-book-renderer/pom.xml
index acf18d1..487fad4 100644
--- a/doxia-book-renderer/pom.xml
+++ b/doxia-book-renderer/pom.xml
@@ -170,6 +170,24 @@
           </systemPropertyVariables>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>src/test/resources/expected/doc-book/plexus-user-guide.xml</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>
 
diff --git a/doxia-converter/pom.xml b/doxia-converter/pom.xml
index 0c70568..4009f65 100644
--- a/doxia-converter/pom.xml
+++ b/doxia-converter/pom.xml
@@ -197,6 +197,24 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <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
diff --git a/doxia-converter/src/test/resources/unit/Doxia.htm b/doxia-converter/src/test/resources/unit/Doxia.htm
index d77f955..626c32e 100644
--- a/doxia-converter/src/test/resources/unit/Doxia.htm
+++ b/doxia-converter/src/test/resources/unit/Doxia.htm
@@ -1,4 +1,24 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>Doxia - Introduction</title>