HBASE-18033 Fix license check for hadoop-3.x
Hadoop 3.x added some new dependencies that refer to the apache license by it's older title (from apache parent pom 14 and earlier). Instead of listing them all individually, we can group them under ASL for our LICENSE file. Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
parent
7b40f4f3ec
commit
a6216db16f
|
@ -1550,7 +1550,7 @@ ${dep.scm.url}
|
||||||
#thrift_license()
|
#thrift_license()
|
||||||
#end
|
#end
|
||||||
## Note that this will fail the build if we don't have a license. update supplemental-models.
|
## Note that this will fail the build if we don't have a license. update supplemental-models.
|
||||||
#if( !(${dep.licenses[0].name.contains("Apache License, Version 2.0")}) )
|
#if( !(${dep.licenses[0].name.contains("Apache License, Version 2.0")} || ${dep.licenses[0].name.contains("The Apache Software License, Version 2.0")}) )
|
||||||
#if( ${dep.licenses[0].name.contains("CDDL")} )
|
#if( ${dep.licenses[0].name.contains("CDDL")} )
|
||||||
#if( ${dep.licenses[0].name.contains("1.0")} )
|
#if( ${dep.licenses[0].name.contains("1.0")} )
|
||||||
#set($aggregated = $cddl_1_0.add($dep))
|
#set($aggregated = $cddl_1_0.add($dep))
|
||||||
|
|
|
@ -2270,6 +2270,19 @@ Copyright 2005 Sun Microsystems, Inc. and portions Copyright Apache Software Fou
|
||||||
</licenses>
|
</licenses>
|
||||||
</project>
|
</project>
|
||||||
</supplement>
|
</supplement>
|
||||||
|
<supplement>
|
||||||
|
<project>
|
||||||
|
<groupId>javax.ws.rs</groupId>
|
||||||
|
<artifactId>jsr311-api</artifactId>
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>Common Development and Distribution License (CDDL) v1.0</name>
|
||||||
|
<url>http://www.opensource.org/licenses/cddl1.php</url>
|
||||||
|
<distribution>repo</distribution>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
</project>
|
||||||
|
</supplement>
|
||||||
<supplement>
|
<supplement>
|
||||||
<project>
|
<project>
|
||||||
<groupId>org.jamon</groupId>
|
<groupId>org.jamon</groupId>
|
||||||
|
|
Loading…
Reference in New Issue