From bcd9a9acefe0f5ceb3ccf6cc11e6ba9464526426 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Mon, 7 Mar 2022 10:31:02 -0600 Subject: [PATCH] HBASE-26760 LICENSE handling should not allow non-aggregated apache-2.0 (#4172) - correct the license name for the Xerial Snappy wrapper. - correct the license name for the version of GSON brought in with Hadoop 3.3.2+ Signed-off-by: Nick Dimiduk --- .../src/main/resources/META-INF/LICENSE.vm | 2 +- .../main/resources/supplemental-models.xml | 30 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm b/hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm index ac7c4a75e43..760208f4b86 100644 --- a/hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm +++ b/hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm @@ -1343,7 +1343,7 @@ You can redistribute it and/or modify it under either the terms of the ## See this FAQ link for justifications: https://www.apache.org/legal/resolved.html ## ## NB: This list is later compared as lower-case. New entries must also be all lower-case -#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', 'apache-2.0' ]) +#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' ]) ## include LICENSE sections for anything not under ASL2.0 #foreach( ${dep} in ${projects} ) ## if there are no licenses we'll fail the build later, so diff --git a/hbase-resource-bundle/src/main/resources/supplemental-models.xml b/hbase-resource-bundle/src/main/resources/supplemental-models.xml index 87be14e2d61..bc87157bc73 100644 --- a/hbase-resource-bundle/src/main/resources/supplemental-models.xml +++ b/hbase-resource-bundle/src/main/resources/supplemental-models.xml @@ -290,6 +290,21 @@ under the License. + + + org.xerial.snappy + snappy-java + 1.1.8.4 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + @@ -1024,6 +1039,21 @@ Copyright 2010 FasterXML.com + + + com.google.code.gson + gson + 2.8.9 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + org.jruby.jcodings