diff --git a/README.md b/README.md index d238253..73f0fc9 100644 --- a/README.md +++ b/README.md @@ -84,4 +84,9 @@ limitations under the License. [storm-tutorial]: http://storm.incubator.apache.org/documentation/Tutorial.html +# Third-Party Licenses +Monasca-thresh uses third-party libraries or other resources that may +be distributed under licenses different than the monasca-thresh software. +Executing the [mvn package](https://github.com/openstack/monasca-thresh/blob/master/README.md#build) +command a list of all third-party licenses will be generated in `target/generated-sources/license` directory. diff --git a/thresh/pom.xml b/thresh/pom.xml index 99fb362..0d24045 100644 --- a/thresh/pom.xml +++ b/thresh/pom.xml @@ -362,6 +362,23 @@ + + org.codehaus.mojo + license-maven-plugin + 1.5 + + true + + + + create-license-list + + aggregate-add-third-party + + generate-resources + + + maven-clean-plugin 2.5 diff --git a/thresh/src/license/THIRD-PARTY.properties b/thresh/src/license/THIRD-PARTY.properties new file mode 100644 index 0000000..9d89f36 --- /dev/null +++ b/thresh/src/license/THIRD-PARTY.properties @@ -0,0 +1,50 @@ +# Generated by org.codehaus.mojo.license.AddThirdPartyMojo +#------------------------------------------------------------------------------- +# Already used licenses in project : +# - AL 2.0 +# - Apache 2 +# - Apache License 2.0 +# - Apache License Version 2.0 +# - Apache License, Version 2.0 +# - Apache License, version 2.0 +# - Apache Software Licenses +# - BSD +# - BSD 3-Clause +# - BSD 3-Clause "New" or "Revised" License (BSD-3-Clause) +# - BSD 3-clause +# - BSD License +# - BSD style +# - CDDL + GPLv2 with classpath exception +# - Common Public License Version 1.0 +# - Eclipse Distribution License (EDL), Version 1.0 +# - Eclipse Public License (EPL), Version 1.0 +# - Eclipse Public License 1.0 +# - GNU LESSER GENERAL PUBLIC LICENSE +# - GNU Lesser General Public License +# - GNU Lesser General Public License, Version 2.1 +# - LGPL 2.1 +# - MIT License +# - MPL 1.1 +# - New BSD License +# - Public Domain +# - Simplified BSD +# - The Apache Software License, Version 2.0 +# - The BSD License +# - The GNU General Public License, Version 2 +# - The H2 License, Version 1.0 +# - The MIT License +# - The MIT License (MIT) +#------------------------------------------------------------------------------- +# Please fill the missing licenses for dependencies : +# +# +#Wed Feb 14 13:05:56 CET 2018 +dom4j--dom4j--1.6.1=BSD style +javax.servlet--servlet-api--2.5=CDDL + GPLv2 +monasca-common--monasca-common-hibernate--1.3.0-SNAPSHOT=Apache License 2.0 +monasca-common--monasca-common-kafka--1.3.0-SNAPSHOT=Apache License 2.0 +monasca-common--monasca-common-model--1.3.0-SNAPSHOT=Apache License 2.0 +monasca-common--monasca-common-persistence--1.3.0-SNAPSHOT=Apache License 2.0 +monasca-common--monasca-common-testing--1.3.0-SNAPSHOT=Apache License 2.0 +monasca-common--monasca-common-util--1.3.0-SNAPSHOT=Apache License 2.0 +org.apache.zookeeper--zookeeper--3.4.6=Apache License 2.0