[Build] rat-check handle licenses of dependencies 65/head
authorJonas Pfefferle <pepperjo@apache.org>
Tue, 13 Nov 2018 10:21:12 +0000 (11:21 +0100)
committerJonas Pfefferle <pepperjo@apache.org>
Tue, 13 Nov 2018 10:21:12 +0000 (11:21 +0100)
Handle licenses of depenendcies in rat-check.

https://jira.apache.org/jira/browse/CRAIL-82

Signed-off-by: Jonas Pfefferle <pepperjo@apache.org>
pom.xml

diff --git a/pom.xml b/pom.xml
index 16f8b2c..36ca022 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <artifactId>apache-rat-plugin</artifactId>
         <version>0.12</version>
         <configuration>
-            <licenses>
-                <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
-                    <licenseFamilyCategory>AL20</licenseFamilyCategory>
-                    <licenseFamilyName>Apache License, 2.0</licenseFamilyName>
-                </license>
+          <licenses>
+            <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
+              <licenseFamilyCategory>AL20</licenseFamilyCategory>
+                <licenseFamilyName>Apache License, 2.0</licenseFamilyName>
+              </license>
             </licenses>
             <excludes>
-                <exclude>conf/**/*</exclude>
-                <exclude>docker/crail-site.conf</exclude>
-                <exclude>docker/RDMA/crail-site.conf</exclude>
-                <exclude>CREDITS</exclude>
+              <exclude>conf/**/*</exclude>
+              <exclude>docker/crail-site.conf</exclude>
+              <exclude>docker/RDMA/crail-site.conf</exclude>
+              <exclude>CREDITS</exclude>
+              <exclude>licenses/LICENSE.*</exclude>
             </excludes>
         </configuration>
       </plugin>