Skip to content

Commit

Permalink
HBASE-28718 Should support different license name for 'Apache License…
Browse files Browse the repository at this point in the history
…, Version 2.0' (apache#6056)

Signed-off-by: GeorryHuang <huangzhuoyue@apache.org>
  • Loading branch information
Apache9 authored Jul 9, 2024
1 parent 5082212 commit 2a4c7cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 467 deletions.
11 changes: 10 additions & 1 deletion hbase-resource-bundle/src/main/resources/META-INF/LICENSE.vm
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,16 @@ project website
${dep.url}
project source
${dep.scm.url}
#elseif( !(${dep.licenses[0].name.contains("Apache License, Version 2.0")} || ${dep.licenses[0].name.contains("The Apache Software License, Version 2.0")}) )
#*
"Apache License, Version 2.0" is the official name in the past
"The Apache Software License, Version 2.0" is the official name in the past too
"Apache Software License - Version 2.0" is what jetty uses in pom
"Apache-2.0" is the new short official name
*#
#elseif( !(${dep.licenses[0].name.contains("Apache License, Version 2.0")}
|| ${dep.licenses[0].name.contains("The Apache Software License, Version 2.0")}
|| ${dep.licenses[0].name.contains("Apache Software License - Version 2.0")}
|| ${dep.licenses[0].name.contains("Apache-2.0")}) )
#if( ${dep.licenses[0].name.contains("CDDL")} )
#if( ${dep.licenses[0].name.contains("1.0")} )
#set($aggregated = $cddl_1_0.add($dep))
Expand Down
Loading

0 comments on commit 2a4c7cd

Please sign in to comment.