You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ja...@apache.org on 2014/03/25 15:42:09 UTC

[2/9] git commit: release preparation: make RAT-Check more strict - move excludes into the modules.

release preparation: make RAT-Check more strict - move excludes into the modules.


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/dd934824
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/dd934824
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/dd934824

Branch: refs/heads/develop
Commit: dd934824182bd87526851760c68f0967fb870ee8
Parents: 314e73a
Author: Jakob Frank <ja...@apache.org>
Authored: Tue Mar 25 10:46:19 2014 +0100
Committer: Jakob Frank <ja...@apache.org>
Committed: Tue Mar 25 14:29:48 2014 +0100

----------------------------------------------------------------------
 .../marmotta-archetype-module/pom.xml           |  9 +++++
 .../marmotta-archetype-webapp/pom.xml           | 10 ++++-
 .../src/main/webapp/META-INF/context.xml        | 16 ++++++++
 build/archetypes/pom.xml                        | 10 +++++
 build/plugins/buildinfo-maven-plugin/pom.xml    | 10 +++++
 build/plugins/pom.xml                           | 11 +++++-
 build/pom.xml                                   | 13 +++++++
 client/pom.xml                                  | 10 +++++
 commons/marmotta-commons/pom.xml                | 18 ++++++---
 .../marmotta-rio-ical/pom.xml                   | 12 ++++++
 .../marmotta-rio-rss/pom.xml                    | 13 +++++++
 .../marmotta-rio-vcard/pom.xml                  | 13 +++++++
 commons/marmotta-sesame-tools/pom.xml           | 12 ++++++
 commons/pom.xml                                 | 11 ++++++
 launchers/marmotta-installer/pom.xml            | 10 +++++
 launchers/marmotta-webapp/pom.xml               | 10 +++++
 .../src/main/webapp/META-INF/context.xml        | 16 ++++++++
 launchers/pom.xml                               | 12 ++++++
 libraries/kiwi/kiwi-caching-ehcache/pom.xml     | 14 +++++++
 libraries/kiwi/kiwi-caching-hazelcast/pom.xml   | 14 +++++++
 libraries/kiwi/kiwi-caching-infinispan/pom.xml  | 14 +++++++
 libraries/kiwi/kiwi-sparql/pom.xml              | 14 +++++++
 libraries/kiwi/kiwi-triplestore/pom.xml         | 10 +++++
 libraries/kiwi/pom.xml                          | 10 +++++
 libraries/ldcache/ldcache-core/pom.xml          | 11 ++++++
 libraries/ldcache/pom.xml                       | 13 +++++++
 libraries/ldclient/ldclient-core/pom.xml        | 11 ++++++
 libraries/ldclient/pom.xml                      | 12 ++++++
 .../src/main/resources/META-INF/MANIFEST.MF     |  1 -
 .../ldpath/ldpath-functions-collections/pom.xml | 11 +++++-
 .../src/main/resources/META-INF/MANIFEST.MF     |  1 -
 libraries/ldpath/ldpath-functions-date/pom.xml  | 11 +++++-
 .../src/main/resources/META-INF/MANIFEST.MF     |  1 -
 libraries/ldpath/ldpath-functions-html/pom.xml  | 11 +++++-
 .../src/main/resources/META-INF/MANIFEST.MF     |  1 -
 libraries/ldpath/ldpath-functions-math/pom.xml  | 11 +++++-
 .../src/main/resources/META-INF/MANIFEST.MF     |  1 -
 libraries/ldpath/ldpath-functions-text/pom.xml  | 11 +++++-
 .../src/main/resources/META-INF/MANIFEST.MF     |  1 -
 libraries/ldpath/ldpath-functions-xml/pom.xml   | 11 +++++-
 .../src/main/resources/META-INF/MANIFEST.MF     |  1 -
 libraries/ldpath/pom.xml                        | 10 +++++
 libraries/pom.xml                               | 13 +++++++
 loader/marmotta-loader-core/pom.xml             | 17 ++++++++
 loader/pom.xml                                  | 10 +++++
 parent/pom.xml                                  | 41 +++-----------------
 platform/backends/pom.xml                       | 10 +++++
 platform/ldcache/pom.xml                        | 10 +++++
 platform/marmotta-core/pom.xml                  | 10 +++++
 .../src/main/resources/META-INF/MANIFEST.MF     |  2 -
 platform/marmotta-sparql/pom.xml                | 10 +++++
 platform/pom.xml                                | 12 ++++++
 pom.xml                                         | 27 +++++++++++++
 53 files changed, 525 insertions(+), 59 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/build/archetypes/marmotta-archetype-module/pom.xml
----------------------------------------------------------------------
diff --git a/build/archetypes/marmotta-archetype-module/pom.xml b/build/archetypes/marmotta-archetype-module/pom.xml
index b9f8ea7..f5301aa 100644
--- a/build/archetypes/marmotta-archetype-module/pom.xml
+++ b/build/archetypes/marmotta-archetype-module/pom.xml
@@ -107,6 +107,15 @@
                     <skipDeploy>true</skipDeploy>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>src/test/resources/projects/basic/goal.txt</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/build/archetypes/marmotta-archetype-webapp/pom.xml
----------------------------------------------------------------------
diff --git a/build/archetypes/marmotta-archetype-webapp/pom.xml b/build/archetypes/marmotta-archetype-webapp/pom.xml
index d93fd92..7f27dfa 100644
--- a/build/archetypes/marmotta-archetype-webapp/pom.xml
+++ b/build/archetypes/marmotta-archetype-webapp/pom.xml
@@ -104,8 +104,16 @@
                     <skipDeploy>true</skipDeploy>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>src/test/resources/projects/basic/goal.txt</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
-
     </build>
 
     <dependencies>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml
----------------------------------------------------------------------
diff --git a/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml b/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml
index 619f257..1aa10f1 100644
--- a/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml
+++ b/build/archetypes/marmotta-archetype-webapp/src/main/resources/archetype-resources/src/main/webapp/META-INF/context.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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.
+  -->
 <Context>
     <Resource name="BeanManager"
               auth="Container"

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/build/archetypes/pom.xml
----------------------------------------------------------------------
diff --git a/build/archetypes/pom.xml b/build/archetypes/pom.xml
index 4747a2c..b30564f 100644
--- a/build/archetypes/pom.xml
+++ b/build/archetypes/pom.xml
@@ -43,6 +43,16 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-archetype-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/build/plugins/buildinfo-maven-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/build/plugins/buildinfo-maven-plugin/pom.xml b/build/plugins/buildinfo-maven-plugin/pom.xml
index 369a06f..a929c66 100644
--- a/build/plugins/buildinfo-maven-plugin/pom.xml
+++ b/build/plugins/buildinfo-maven-plugin/pom.xml
@@ -107,6 +107,16 @@
                     <skipDeploy>true</skipDeploy>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
         <resources>
              <resource>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/build/plugins/pom.xml
----------------------------------------------------------------------
diff --git a/build/plugins/pom.xml b/build/plugins/pom.xml
index ed66a45..681c5a8 100644
--- a/build/plugins/pom.xml
+++ b/build/plugins/pom.xml
@@ -113,7 +113,16 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
-
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>*-maven-plugin/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/build/pom.xml
----------------------------------------------------------------------
diff --git a/build/pom.xml b/build/pom.xml
index 5be8c2a..5558434 100644
--- a/build/pom.xml
+++ b/build/pom.xml
@@ -48,6 +48,19 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>archetypes/**</exclude>
+                        <exclude>plugins/**</exclude>
+                        <exclude>dependency-resource-supplement/**</exclude>
+                        <exclude>checkstyle-resources/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/client/pom.xml
----------------------------------------------------------------------
diff --git a/client/pom.xml b/client/pom.xml
index 6989b02..c64a940 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -48,6 +48,16 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-client-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/commons/marmotta-commons/pom.xml
----------------------------------------------------------------------
diff --git a/commons/marmotta-commons/pom.xml b/commons/marmotta-commons/pom.xml
index 31752aa..737591e 100644
--- a/commons/marmotta-commons/pom.xml
+++ b/commons/marmotta-commons/pom.xml
@@ -38,9 +38,7 @@
                     <execution>
                         <id>add-ext</id>
                         <phase>generate-sources</phase>
-                        <goals>
-                            <goal>add-source</goal>
-                        </goals>
+                        <goals><goal>add-source</goal></goals>
                         <configuration>
                             <sources>
                                 <source>src/ext/java</source>
@@ -50,9 +48,7 @@
                     <execution>
                         <id>add-ext-test</id>
                         <phase>generate-test-sources</phase>
-                        <goals>
-                            <goal>add-test-source</goal>
-                        </goals>
+                        <goals><goal>add-test-source</goal></goals>
                         <inherited>false</inherited>
                         <configuration>
                             <sources>
@@ -86,6 +82,16 @@
                 </instructions>
               </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- 3rd party source inclusion -->
+                        <exclude>src/ext/java/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
         <resources>
             <resource>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/commons/marmotta-sesame-tools/marmotta-rio-ical/pom.xml
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-ical/pom.xml b/commons/marmotta-sesame-tools/marmotta-rio-ical/pom.xml
index 10907df..5fe23e8 100644
--- a/commons/marmotta-sesame-tools/marmotta-rio-ical/pom.xml
+++ b/commons/marmotta-sesame-tools/marmotta-rio-ical/pom.xml
@@ -38,6 +38,18 @@
                     <relativePath>../../../</relativePath>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                        <!-- VCF does not support License-Headers -->
+                        <exclude>src/test/resources/**/*.ics</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/commons/marmotta-sesame-tools/marmotta-rio-rss/pom.xml
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-rss/pom.xml b/commons/marmotta-sesame-tools/marmotta-rio-rss/pom.xml
index 03c33e7..2e8b2f3 100644
--- a/commons/marmotta-sesame-tools/marmotta-rio-rss/pom.xml
+++ b/commons/marmotta-sesame-tools/marmotta-rio-rss/pom.xml
@@ -69,6 +69,19 @@
                     <relativePath>../../../</relativePath>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                        <!-- 3rd party source inclusion -->
+                        <exclude>src/ext/java/**</exclude>
+                        <exclude>src/ext/resources/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
         <resources>
             <resource>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/commons/marmotta-sesame-tools/marmotta-rio-vcard/pom.xml
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/marmotta-rio-vcard/pom.xml b/commons/marmotta-sesame-tools/marmotta-rio-vcard/pom.xml
index 49d5f31..9b82335 100644
--- a/commons/marmotta-sesame-tools/marmotta-rio-vcard/pom.xml
+++ b/commons/marmotta-sesame-tools/marmotta-rio-vcard/pom.xml
@@ -38,6 +38,19 @@
                     <relativePath>../../../</relativePath>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                        <!-- VCF does not support License-Headers -->
+                        <exclude>src/test/resources/**/*.vcf</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/commons/marmotta-sesame-tools/pom.xml
----------------------------------------------------------------------
diff --git a/commons/marmotta-sesame-tools/pom.xml b/commons/marmotta-sesame-tools/pom.xml
index e55ae01..b2cb920 100644
--- a/commons/marmotta-sesame-tools/pom.xml
+++ b/commons/marmotta-sesame-tools/pom.xml
@@ -47,6 +47,18 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-rio-*/**</exclude>
+                        <exclude>marmotta-sail-*/**</exclude>
+                        <exclude>marmotta-util-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/commons/pom.xml
----------------------------------------------------------------------
diff --git a/commons/pom.xml b/commons/pom.xml
index 093a6d1..c4f83c4 100644
--- a/commons/pom.xml
+++ b/commons/pom.xml
@@ -47,6 +47,17 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-commons/**</exclude>
+                        <exclude>marmotta-sesame-tools/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/launchers/marmotta-installer/pom.xml
----------------------------------------------------------------------
diff --git a/launchers/marmotta-installer/pom.xml b/launchers/marmotta-installer/pom.xml
index 6733e72..f16b6ce 100644
--- a/launchers/marmotta-installer/pom.xml
+++ b/launchers/marmotta-installer/pom.xml
@@ -60,6 +60,16 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- empty placeholder file -->
+                        <exclude>src/main/resources/log/catalina.out</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/launchers/marmotta-webapp/pom.xml
----------------------------------------------------------------------
diff --git a/launchers/marmotta-webapp/pom.xml b/launchers/marmotta-webapp/pom.xml
index 8cb4150..5d7322a 100644
--- a/launchers/marmotta-webapp/pom.xml
+++ b/launchers/marmotta-webapp/pom.xml
@@ -184,6 +184,16 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Simple placeholder -->
+                        <exclude>src/deb/home/marmotta.txt</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/launchers/marmotta-webapp/src/main/webapp/META-INF/context.xml
----------------------------------------------------------------------
diff --git a/launchers/marmotta-webapp/src/main/webapp/META-INF/context.xml b/launchers/marmotta-webapp/src/main/webapp/META-INF/context.xml
index 7d6e045..e81f6c1 100644
--- a/launchers/marmotta-webapp/src/main/webapp/META-INF/context.xml
+++ b/launchers/marmotta-webapp/src/main/webapp/META-INF/context.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ 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.
+  -->
 <Context>
     <Resource name="BeanManager"
               auth="Container"

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/launchers/pom.xml
----------------------------------------------------------------------
diff --git a/launchers/pom.xml b/launchers/pom.xml
index f75f37b..542a291 100644
--- a/launchers/pom.xml
+++ b/launchers/pom.xml
@@ -49,6 +49,18 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-installer/**</exclude>
+                        <exclude>marmotta-splash/**</exclude>
+                        <exclude>marmotta-webapp/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/kiwi/kiwi-caching-ehcache/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-caching-ehcache/pom.xml b/libraries/kiwi/kiwi-caching-ehcache/pom.xml
index 48a727d..a1e6afd 100644
--- a/libraries/kiwi/kiwi-caching-ehcache/pom.xml
+++ b/libraries/kiwi/kiwi-caching-ehcache/pom.xml
@@ -35,6 +35,20 @@
         EHCache cache implementation for the KiWi triplestore. Useful for single-machine production environments.
     </description>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
 
     <dependencies>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/kiwi/kiwi-caching-hazelcast/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-caching-hazelcast/pom.xml b/libraries/kiwi/kiwi-caching-hazelcast/pom.xml
index 4d82fbd..5f9a648 100644
--- a/libraries/kiwi/kiwi-caching-hazelcast/pom.xml
+++ b/libraries/kiwi/kiwi-caching-hazelcast/pom.xml
@@ -36,6 +36,20 @@
         configurations with shared caches.
     </description>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
     <dependencies>
         <dependency>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/kiwi/kiwi-caching-infinispan/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-caching-infinispan/pom.xml b/libraries/kiwi/kiwi-caching-infinispan/pom.xml
index 0a919b6..c57b260 100644
--- a/libraries/kiwi/kiwi-caching-infinispan/pom.xml
+++ b/libraries/kiwi/kiwi-caching-infinispan/pom.xml
@@ -37,6 +37,20 @@
         configurations with shared caches.
     </description>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
     <dependencies>
         <dependency>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/kiwi/kiwi-sparql/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-sparql/pom.xml b/libraries/kiwi/kiwi-sparql/pom.xml
index f33209b..c7a1c46 100644
--- a/libraries/kiwi/kiwi-sparql/pom.xml
+++ b/libraries/kiwi/kiwi-sparql/pom.xml
@@ -35,6 +35,20 @@
         in-memory.
     </description>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
     <dependencies>
         <dependency>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/kiwi/kiwi-triplestore/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-triplestore/pom.xml b/libraries/kiwi/kiwi-triplestore/pom.xml
index 2bbf839..96a6f13 100644
--- a/libraries/kiwi/kiwi-triplestore/pom.xml
+++ b/libraries/kiwi/kiwi-triplestore/pom.xml
@@ -44,6 +44,16 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/kiwi/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/kiwi/pom.xml b/libraries/kiwi/pom.xml
index f86a467..0b77792 100644
--- a/libraries/kiwi/pom.xml
+++ b/libraries/kiwi/pom.xml
@@ -94,6 +94,16 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
             </plugin>
+            <!-- Nothing to check in a reactor -->
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>kiwi-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldcache/ldcache-core/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldcache/ldcache-core/pom.xml b/libraries/ldcache/ldcache-core/pom.xml
index 15f7801..c823f69 100644
--- a/libraries/ldcache/ldcache-core/pom.xml
+++ b/libraries/ldcache/ldcache-core/pom.xml
@@ -63,6 +63,17 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/test/resources/META-INF/services/*</exclude>
+                        <exclude>src/test/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldcache/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldcache/pom.xml b/libraries/ldcache/pom.xml
index d2a4d8e..4d66112 100644
--- a/libraries/ldcache/pom.xml
+++ b/libraries/ldcache/pom.xml
@@ -59,6 +59,19 @@
                 </instructions>
               </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>ldcache-api/**</exclude>
+                        <exclude>ldcache-core/**</exclude>
+                        <exclude>ldcache-sail-*/**</exclude>
+                        <exclude>ldcache-backend-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldclient/ldclient-core/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldclient/ldclient-core/pom.xml b/libraries/ldclient/ldclient-core/pom.xml
index c7d759a..dba4d13 100644
--- a/libraries/ldclient/ldclient-core/pom.xml
+++ b/libraries/ldclient/ldclient-core/pom.xml
@@ -60,6 +60,17 @@
                     <relativePath>../../../</relativePath>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                        <exclude>src/test/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldclient/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldclient/pom.xml b/libraries/ldclient/pom.xml
index 14bad12..43cc045 100644
--- a/libraries/ldclient/pom.xml
+++ b/libraries/ldclient/pom.xml
@@ -80,6 +80,18 @@
                 </instructions>
               </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>ldclient-api/**</exclude>
+                        <exclude>ldclient-core/**</exclude>
+                        <exclude>ldclient-provider-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-core/src/main/resources/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-core/src/main/resources/META-INF/MANIFEST.MF b/libraries/ldpath/ldpath-core/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 07a1274..0000000
--- a/libraries/ldpath/ldpath-core/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-SPI-Consumer: *

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-collections/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-collections/pom.xml b/libraries/ldpath/ldpath-functions-collections/pom.xml
index dd5a4fb..078188b 100644
--- a/libraries/ldpath/ldpath-functions-collections/pom.xml
+++ b/libraries/ldpath/ldpath-functions-collections/pom.xml
@@ -95,7 +95,16 @@
             </plugins>
         </pluginManagement>
         <plugins>
-
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
 
     </build>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-collections/src/main/resources/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-collections/src/main/resources/META-INF/MANIFEST.MF b/libraries/ldpath/ldpath-functions-collections/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 7547fd6..0000000
--- a/libraries/ldpath/ldpath-functions-collections/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-SPI-Provider: *

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-date/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-date/pom.xml b/libraries/ldpath/ldpath-functions-date/pom.xml
index 506aa97..af12d19 100644
--- a/libraries/ldpath/ldpath-functions-date/pom.xml
+++ b/libraries/ldpath/ldpath-functions-date/pom.xml
@@ -91,7 +91,16 @@
             </plugins>
         </pluginManagement>
         <plugins>
-
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
 
     </build>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-date/src/main/resources/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-date/src/main/resources/META-INF/MANIFEST.MF b/libraries/ldpath/ldpath-functions-date/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 7547fd6..0000000
--- a/libraries/ldpath/ldpath-functions-date/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-SPI-Provider: *

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-html/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-html/pom.xml b/libraries/ldpath/ldpath-functions-html/pom.xml
index 765ac38..4d7e127 100644
--- a/libraries/ldpath/ldpath-functions-html/pom.xml
+++ b/libraries/ldpath/ldpath-functions-html/pom.xml
@@ -109,7 +109,16 @@
             </plugins>
         </pluginManagement>
         <plugins>
-
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
 
     </build>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-html/src/main/resources/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-html/src/main/resources/META-INF/MANIFEST.MF b/libraries/ldpath/ldpath-functions-html/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 7547fd6..0000000
--- a/libraries/ldpath/ldpath-functions-html/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-SPI-Provider: *

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-math/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-math/pom.xml b/libraries/ldpath/ldpath-functions-math/pom.xml
index 6d6aa67..51c0fe5 100644
--- a/libraries/ldpath/ldpath-functions-math/pom.xml
+++ b/libraries/ldpath/ldpath-functions-math/pom.xml
@@ -90,7 +90,16 @@
             </plugins>
         </pluginManagement>
         <plugins>
-
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
 
     </build>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-math/src/main/resources/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-math/src/main/resources/META-INF/MANIFEST.MF b/libraries/ldpath/ldpath-functions-math/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 7547fd6..0000000
--- a/libraries/ldpath/ldpath-functions-math/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-SPI-Provider: *

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-text/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-text/pom.xml b/libraries/ldpath/ldpath-functions-text/pom.xml
index ecb70de..05f8c45 100644
--- a/libraries/ldpath/ldpath-functions-text/pom.xml
+++ b/libraries/ldpath/ldpath-functions-text/pom.xml
@@ -90,7 +90,16 @@
             </plugins>
         </pluginManagement>
         <plugins>
-
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
 
     </build>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-text/src/main/resources/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-text/src/main/resources/META-INF/MANIFEST.MF b/libraries/ldpath/ldpath-functions-text/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 7547fd6..0000000
--- a/libraries/ldpath/ldpath-functions-text/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-SPI-Provider: *

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-xml/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-xml/pom.xml b/libraries/ldpath/ldpath-functions-xml/pom.xml
index c61b3c9..5a58678 100644
--- a/libraries/ldpath/ldpath-functions-xml/pom.xml
+++ b/libraries/ldpath/ldpath-functions-xml/pom.xml
@@ -110,7 +110,16 @@
             </plugins>
         </pluginManagement>
         <plugins>
-
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
 
     </build>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/ldpath-functions-xml/src/main/resources/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/libraries/ldpath/ldpath-functions-xml/src/main/resources/META-INF/MANIFEST.MF b/libraries/ldpath/ldpath-functions-xml/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 7547fd6..0000000
--- a/libraries/ldpath/ldpath-functions-xml/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1 +0,0 @@
-SPI-Provider: *

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/ldpath/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/ldpath/pom.xml b/libraries/ldpath/pom.xml
index e84392c..f47872e 100644
--- a/libraries/ldpath/pom.xml
+++ b/libraries/ldpath/pom.xml
@@ -70,6 +70,16 @@
                 </instructions>
               </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>ldpath-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/libraries/pom.xml
----------------------------------------------------------------------
diff --git a/libraries/pom.xml b/libraries/pom.xml
index a767f7f..54dfc65 100644
--- a/libraries/pom.xml
+++ b/libraries/pom.xml
@@ -47,6 +47,19 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>kiwi/**</exclude>
+                        <exclude>ldcache/**</exclude>
+                        <exclude>ldclient/**</exclude>
+                        <exclude>ldpath/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/loader/marmotta-loader-core/pom.xml
----------------------------------------------------------------------
diff --git a/loader/marmotta-loader-core/pom.xml b/loader/marmotta-loader-core/pom.xml
index 146b2fb..6ffc422 100644
--- a/loader/marmotta-loader-core/pom.xml
+++ b/loader/marmotta-loader-core/pom.xml
@@ -33,6 +33,23 @@
       implementing the concrete loading functionality.
     </description>
 
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                        <exclude>src/test/resources/META-INF/services/*</exclude>
+                        <!-- referenced in the main LICENSE.txt -->
+                        <exclude>src/test/resources/geonames-sample.txt</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
 
     <dependencies>
         <dependency>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/loader/pom.xml
----------------------------------------------------------------------
diff --git a/loader/pom.xml b/loader/pom.xml
index 25553e5..72d6649 100644
--- a/loader/pom.xml
+++ b/loader/pom.xml
@@ -70,6 +70,16 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-loader-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 8fbe641..cc3f09a 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -458,43 +458,12 @@
                     <version>0.8</version>
                     <configuration>
                         <excludeSubProjects>false</excludeSubProjects>
+                        <useDefaultExcludes>true</useDefaultExcludes>
+                        <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
+                        <useIdeaDefaultExcludes>true</useIdeaDefaultExcludes>
+                        <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
                         <excludes>
-                            <!-- 3rd party libraries -->
-                            <exclude>extras/**</exclude>
-
-                            <!-- auto-generated files -->
-                            <exclude>**/*.txt</exclude>
-                            <exclude>**/atlassian-ide-plugin.xml</exclude>
-                            <exclude>**/README.*</exclude>
-                            <exclude>**/NOTICE.*</exclude>
-                            <exclude>**/.*</exclude>
-                            <exclude>**/.*/**</exclude>
-                            <exclude>**/target/**</exclude>
-                            <exclude>.gitignore</exclude>
-                            <exclude>.git/**</exclude>
-                            <exclude>.idea/**</exclude>
-                            <exclude>.eclipse/**</exclude>
-                            <exclude>**/*.ids</exclude>
-                            <exclude>**/*.iml</exclude>
-                            <exclude>**/*.ipr</exclude>
-                            <exclude>**/*.iws</exclude>
-                            <exclude>**/*.psd</exclude>
-                            <exclude>**/*.out</exclude>
-                            <exclude>**/*.log</exclude>
-
-
-                            <!-- known 3rd-party source code -->
-                            <exclude>**/src/ext/**</exclude>
-                            <exclude>**/src/main/resources/task-dialog*.properties</exclude>
-                            <exclude>**/src/test/resources/org/apache/marmotta/commons/sesame/rio/vcard/*.vcf</exclude>
-                            <exclude>**/src/main/resources/web/admin/sgvizler.html</exclude>
-
-                            <!-- META-INF files don't take a license header -->
-                            <exclude>**/META-INF/**</exclude>
-
-                            <!-- some parsers don't support comments, they are covered by the general LICENSE.txt
-                                 similar to binaries -->
-                            <exclude>**/src/test/resources/org/apache/marmotta/commons/sesame/rio/ical/*.ics</exclude>
+                            <exclude>src/main/resources/META-INF/services/*</exclude>
                         </excludes>
                     </configuration>
                 </plugin>

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/platform/backends/pom.xml
----------------------------------------------------------------------
diff --git a/platform/backends/pom.xml b/platform/backends/pom.xml
index a723d9a..6a88063 100644
--- a/platform/backends/pom.xml
+++ b/platform/backends/pom.xml
@@ -48,6 +48,16 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-backend-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/platform/ldcache/pom.xml
----------------------------------------------------------------------
diff --git a/platform/ldcache/pom.xml b/platform/ldcache/pom.xml
index ce08ef8..e14de92 100644
--- a/platform/ldcache/pom.xml
+++ b/platform/ldcache/pom.xml
@@ -48,6 +48,16 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-ldcache-*/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/platform/marmotta-core/pom.xml
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/pom.xml b/platform/marmotta-core/pom.xml
index 329db4f..5a4e700 100644
--- a/platform/marmotta-core/pom.xml
+++ b/platform/marmotta-core/pom.xml
@@ -185,6 +185,16 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- No License-Header in META-INF/services -->
+                        <exclude>src/main/resources/META-INF/services/*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
 
         <!--

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/platform/marmotta-core/src/main/resources/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/resources/META-INF/MANIFEST.MF b/platform/marmotta-core/src/main/resources/META-INF/MANIFEST.MF
deleted file mode 100644
index 59499bc..0000000
--- a/platform/marmotta-core/src/main/resources/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/platform/marmotta-sparql/pom.xml
----------------------------------------------------------------------
diff --git a/platform/marmotta-sparql/pom.xml b/platform/marmotta-sparql/pom.xml
index a325d2a..2101de5 100644
--- a/platform/marmotta-sparql/pom.xml
+++ b/platform/marmotta-sparql/pom.xml
@@ -71,6 +71,16 @@
                         </classpath>
                     </configuration>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <configuration>
+                        <excludes>
+                            <!-- No License-Header in META-INF/services -->
+                            <exclude>src/main/resources/META-INF/services/*</exclude>
+                        </excludes>
+                    </configuration>
+                </plugin>
             </plugins>
         </pluginManagement>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/platform/pom.xml
----------------------------------------------------------------------
diff --git a/platform/pom.xml b/platform/pom.xml
index d146604..b998154 100644
--- a/platform/pom.xml
+++ b/platform/pom.xml
@@ -48,6 +48,18 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- Modules are checked individually -->
+                        <exclude>marmotta-*/**</exclude>
+                        <exclude>backends/**</exclude>
+                        <exclude>ldcache/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

http://git-wip-us.apache.org/repos/asf/marmotta/blob/dd934824/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b06ecca..2753e27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -199,6 +199,33 @@
 		    <pushChanges>false</pushChanges>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <!-- mysql README -->
+                        <exclude>README.mysql</exclude>
+
+                        <!-- Modules are checked individually -->
+                        <exclude>parent/**</exclude>
+                        <exclude>build/**</exclude>
+                        <exclude>client/**</exclude>
+                        <exclude>commons/**</exclude>
+                        <exclude>extras/**</exclude>
+                        <exclude>launchers/**</exclude>
+                        <exclude>libraries/**</exclude>
+                        <exclude>loader/**</exclude>
+                        <exclude>platform/**</exclude>
+
+                        <!-- Some extra files not covered by the default excludes -->
+                        <exclude>.git/**</exclude>
+                        <exclude>.gitignore</exclude>
+                        <exclude>.idea/**</exclude>
+                        <exclude>atlassian-ide-plugin.xml</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>