You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@crail.apache.org by pe...@apache.org on 2018/11/13 10:23:28 UTC

[2/2] incubator-crail git commit: [Build] rat-check handle licenses of dependencies

[Build] rat-check handle licenses of dependencies

Handle licenses of depenendcies in rat-check.

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

Signed-off-by: Jonas Pfefferle <pe...@apache.org>


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

Branch: refs/heads/master
Commit: b494e4f142029b132f7b4922471673467168498e
Parents: 4c6b3fb
Author: Jonas Pfefferle <pe...@apache.org>
Authored: Tue Nov 13 11:21:12 2018 +0100
Committer: Jonas Pfefferle <pe...@apache.org>
Committed: Tue Nov 13 11:21:12 2018 +0100

----------------------------------------------------------------------
 pom.xml | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-crail/blob/b494e4f1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 16f8b2c..36ca022 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,17 +136,18 @@
         <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>