diff --git a/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm b/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm index 368e847..53fb51e 100644 --- a/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm +++ b/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm @@ -272,6 +272,29 @@ JRuby's licence. #if(${dep.artifactId.equals("jruby-complete")}) #set($jruby=true) #end +#if( ${dep.licenses.isEmpty()} ) +ERROR: This product includes ${dep.name} which has no licenses! +Revert the change if invalid or if intentional add license info to supplemental-models.xml + +${dep.groupId} +${dep.artifactId} +${dep.version} + +maven central search +g:${dep.groupId} AND a:${dep.artifactId} AND v:${dep.version} + +project website +${dep.url} +project source +${dep.scm.url} + + + +## fail the template. If you're looking at the source NOTICE.vm +## file based on a stacktrace or exception message, you need to find +## the generated NOTICE file that has the actual dependency info printed. +${dep.license[0]} +#end #if( !(${dep.licenses[0].name.contains("BSD")} || ${dep.licenses[0].name.contains("MIT")}) ) #if( !(${dep.licenses[0].name.equals("Public Domain")}) ) #if( !(${dep.licenses[0].name.contains("Apache Software License, Version 2.0")}) ) diff --git a/hbase-resource-bundle/src/main/resources/supplemental-models.xml b/hbase-resource-bundle/src/main/resources/supplemental-models.xml index eac4cad..c49e431 100644 --- a/hbase-resource-bundle/src/main/resources/supplemental-models.xml +++ b/hbase-resource-bundle/src/main/resources/supplemental-models.xml @@ -644,6 +644,21 @@ under the License. + + org.apache.commons + commons-csv + 1.0 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + org.apache.commons commons-math @@ -714,6 +729,21 @@ under the License. + + org.apache.curator + curator-test + 2.7.1 + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + org.apache.directory.api api-asn1-api @@ -783,6 +813,21 @@ under the License. + + + org.apache.htrace + htrace-core4 + 4.0.1-incubating + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + @@ -980,6 +1025,7 @@ under the License. + @@ -1082,6 +1128,143 @@ Copyright 2006 Envoi Solutions LLC + + + com.codahale.metrics + metrics-core + 3.0.1 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + com.nimbusds + nimbus-jose-jwt + 3.9 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + com.squareup.okhttp + okhttp + 2.4.0 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + com.squareup.okio + okio + 1.4.0 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + com.twitter + hpack + 0.11.0 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + net.minidev + json-smart + 1.1.1 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + + de.ruedigermoeller + fst + 2.24 + + + + + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + + org.objenesis + objenesis + 2.1 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + + + + xerces + xercesImpl + 2.9.1 + + + Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + @@ -2048,4 +2231,43 @@ Copyright (c) 2007-2011 The JRuby project + + + + net.jcip + jcip-annotations + 1.0 + + Brian Goetz and Tim Peierls + http://www.jcip.net + + + + Creative Commons Attribution License, Version 2.5 + http://creativecommons.org/licenses/by/2.5 + repo + + + + + + + com.google.re2j + re2j + 1.0 + + + The Go Authors + https://github.com/google/re2j + + + + BSD license + https://github.com/google/re2j/blob/master/LICENSE + repo + + + + +