Skip to content

Commit 01d3d32

Browse files
committed
HBASE-22286 License handling incorrectly lists CDDL/GPLv2+CE as safe to not aggregate.
* Remove cddl/gplv2+ce from list of "default okay" licenses * correct supplemental info for javax activation to specify CDDL 1.1 Signed-off-by: Sakthi <sakthivel.azhaku@gmail.com> Signed-off-by: Esteban Gutierrez <esteban@apache.org>
1 parent 2067b23 commit 01d3d32

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ You can redistribute it and/or modify it under either the terms of the
13401340
## See this FAQ link for justifications: https://www.apache.org/legal/resolved.html
13411341
##
13421342
## NB: This list is later compared as lower-case. New entries must also be all lower-case
1343-
#set($non_aggregate_fine = [ 'public domain', 'new bsd license', 'bsd license', 'bsd', 'bsd 2-clause license', 'mozilla public license version 1.1', 'mozilla public license version 2.0', 'creative commons attribution license, version 2.5', 'cddl/gplv2+ce' ])
1343+
#set($non_aggregate_fine = [ 'public domain', 'new bsd license', 'bsd license', 'bsd', 'bsd 2-clause license', 'mozilla public license version 1.1', 'mozilla public license version 2.0', 'creative commons attribution license, version 2.5' ])
13441344
## include LICENSE sections for anything not under ASL2.0
13451345
#foreach( ${dep} in ${projects} )
13461346
## if there are no licenses we'll fail the build later, so

hbase-resource-bundle/src/main/resources/supplemental-models.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,23 @@ Copyright (c) 2011 FuseSource Corp. All rights reserved.
11611161
<url>https://glassfish.dev.java.net/public/CDDLv1.0.html</url>
11621162
<distribution>repo</distribution>
11631163
<comments>
1164+
</comments>
1165+
</license>
1166+
</licenses>
1167+
</project>
1168+
</supplement>
1169+
<supplement>
1170+
<project>
1171+
<groupId>com.sun.activation</groupId>
1172+
<artifactId>javax.activation</artifactId>
1173+
<!-- javax.activation is also separately licensed under the GPL version 2 plus the Classpath Exception -->
1174+
<licenses>
1175+
<license>
1176+
<name>CDDL 1.1</name>
1177+
<url>https://github.com/javaee/activation/blob/master/LICENSE.txt</url>
1178+
<distribution>repo</distribution>
1179+
<comments>
1180+
Copyright (c) 1997-2017 Oracle and/or its affiliates.
11641181
</comments>
11651182
</license>
11661183
</licenses>

0 commit comments

Comments
 (0)