Author: fchrist
Date: Mon Jan  9 12:42:35 2012
New Revision: 1229117

URL: http://svn.apache.org/viewvc?rev=1229117&view=rev
Log:
STANBOL-270 Fixed RAT reporting when report should be generated for the whole 
source tree

Modified:
    incubator/stanbol/trunk/pom.xml

Modified: incubator/stanbol/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/stanbol/trunk/pom.xml?rev=1229117&r1=1229116&r2=1229117&view=diff
==============================================================================
--- incubator/stanbol/trunk/pom.xml (original)
+++ incubator/stanbol/trunk/pom.xml Mon Jan  9 12:42:35 2012
@@ -144,53 +144,47 @@
         <plugins>
           <plugin>
             <groupId>org.apache.rat</groupId>
-            <artifactId>apache-rat-plugin</artifactId>
-            <executions>
-              <execution>
-                <configuration>
-                  <!-- If you want reports per module, set this to 'true' -->
-                  <excludeSubProjects>false</excludeSubProjects>
-                  <excludes>
-                    <!-- hidden files -->
-                    <exclude>**/.*</exclude>
-                    <exclude>**/.*/*</exclude>
-                    <exclude>**/.*/**/*</exclude>
-
-                    <!-- by file type -->
-                    <exclude>**/*.config</exclude>
-                    <exclude>**/*.cfg</exclude>
-                    <exclude>**/*.ref</exclude>
-                    <exclude>**/*.txt</exclude>
-                    <exclude>**/*.tsv</exclude>
-                    <exclude>**/*.sem</exclude>
-
-                    <exclude>**/test/**/*.eml</exclude>
-                    <exclude>**/test/**/*.nt</exclude>
-
-                    <!-- generated files -->
-                    <exclude>*/**/target/**</exclude>
-
-                    <!-- approved licenses -->
-                    
<exclude>contenthub/web/src/main/resources/org/apache/stanbol/contenthub/web/static/scripts/jit.js</exclude>
-                    
<exclude>enhancer/jersey/src/main/resources/org/apache/stanbol/enhancer/jersey/static/openlayers-2.9/**</exclude>
-                    <exclude>owl/**</exclude>
-
-                    <!-- unstable and not release relevant stuff -->
-                    <exclude>PLAYGROUND.txt</exclude>
-                    <exclude>conventions/**</exclude>
-                    <exclude>enhancer/data/text-examples/**</exclude>
-                    <exclude>enhancer/query-rendering/**</exclude>
-                    <exclude>enhancer/stores/**</exclude>
-                    <exclude>explanation/**</exclude>
-                    <exclude>demos/**</exclude>
-                    <exclude>launchers/kres/**</exclude>
-                    <exclude>reasoners/**</exclude>
-                    <exclude>reengineer/**</exclude>
-
-                  </excludes>
-                </configuration>
-              </execution>
-            </executions>
+            <artifactId>apache-rat-plugin</artifactId>          
+            <configuration>
+              <excludeSubProjects>false</excludeSubProjects>
+              <excludes>
+                <!-- AL20 files without header by file type -->
+                <exclude>**/*.config</exclude>
+                <exclude>**/*.cfg</exclude>
+                <exclude>**/*.ref</exclude>
+                <exclude>**/*.txt</exclude>
+                <exclude>**/*.tsv</exclude>
+                <exclude>**/*.sem</exclude>
+                <exclude>**/test/**/*.eml</exclude>
+                <exclude>**/test/**/*.nt</exclude>
+
+                <!-- approved licenses, see modules' POMs for details -->
+                
<exclude>contenthub/web/src/main/resources/org/apache/stanbol/contenthub/web/static/scripts/jit.js</exclude>
+                
<exclude>enhancer/jersey/src/main/resources/org/apache/stanbol/enhancer/jersey/static/openlayers-2.9/**</exclude>
+                <exclude>owl/**</exclude>
+
+                <!-- unstable and not release relevant stuff -->
+                <exclude>PLAYGROUND.txt</exclude>
+                <exclude>conventions/**</exclude>
+                <exclude>enhancer/data/text-examples/**</exclude>
+                <exclude>enhancer/query-rendering/**</exclude>
+                <exclude>enhancer/stores/**</exclude>
+                <exclude>explanation/**</exclude>
+                <exclude>demos/**</exclude>
+                <exclude>launchers/kres/**</exclude>
+                <exclude>reasoners/**</exclude>
+                <exclude>reengineer/**</exclude>
+
+                <!-- exclude hidden files -->
+                <exclude>**/.*</exclude>
+                <exclude>**/.*/*</exclude>
+                <exclude>**/.*/**/*</exclude>
+
+                <!-- exclude generated files -->
+                <exclude>*/**/target/**</exclude>
+
+              </excludes>
+            </configuration>
           </plugin>
         </plugins>
       </build>


Reply via email to