diff --git a/NOTICE.txt b/NOTICE.txt index 6a945bc0d..573867247 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -21,7 +21,10 @@ Third Party Dependencies ========================================================================== This project includes or depends on code from third party projects. -Attributions are contained in THIRD_PARTY_LICENSES.txt. +Attributions are contained in THIRD_PARTY_LICENSES.txt. You can +find a copy in the Helidon GitHub repository: https://github.com/oracle/helidon/blob/${project.version}/THIRD_PARTY_LICENSES.txt +Or in the Helidon artifact: io.helidon.licensing:helidon-licensing:${project.version} + diff --git a/applications/pom.xml b/applications/pom.xml index 01f805d01..c5c17e561 100644 --- a/applications/pom.xml +++ b/applications/pom.xml @@ -149,6 +149,21 @@ io.helidon.build-tools helidon-maven-plugin ${version.plugin.helidon} + + + io.helidon.licensing + helidon-licensing + ${helidon.version} + + + + + third-party-license-report + + report + + + io.helidon.build-tools diff --git a/etc/THIRD_PARTY_LICENSES.xml b/etc/HELIDON_THIRD_PARTY_LICENSES.xml similarity index 100% rename from etc/THIRD_PARTY_LICENSES.xml rename to etc/HELIDON_THIRD_PARTY_LICENSES.xml diff --git a/etc/copyright-exclude.txt b/etc/copyright-exclude.txt index c0178382b..d5e2acea2 100644 --- a/etc/copyright-exclude.txt +++ b/etc/copyright-exclude.txt @@ -45,3 +45,4 @@ archetype-resources/pom.xml # excluded as it contains both Oracle and original copyright notice src/main/java/org/jboss/weld/bean/proxy/ProxyFactory.java etc/THIRD_PARTY_LICENSES.xml +etc/HELIDON_THIRD_PARTY_LICENSES.xml diff --git a/licensing/pom.xml b/licensing/pom.xml new file mode 100644 index 000000000..6543374fa --- /dev/null +++ b/licensing/pom.xml @@ -0,0 +1,108 @@ + + + + + 4.0.0 + + io.helidon + helidon-project + 2.0.3-SNAPSHOT + + io.helidon.licensing + helidon-licensing + jar + Helidon Licensing + + + true + true + true + + + + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-attributions + + copy-resources + + process-sources + + ${project.build.outputDirectory} + + + + ${top.parent.basedir} + META-INF/ + true + + THIRD_PARTY_LICENSES.txt + + + + + ${top.parent.basedir}/etc + META-INF/ + true + + HELIDON_THIRD_PARTY_LICENSES.xml + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + empty-sources-jar + package + + jar + + + sources + ${project.build.directory}/sources + + + + empty-javadoc-jar + package + + jar + + + javadoc + ${project.build.directory}/javadoc + + + + + + + + diff --git a/licensing/src/main/java/module-info.java b/licensing/src/main/java/module-info.java new file mode 100644 index 000000000..b3e2a9651 --- /dev/null +++ b/licensing/src/main/java/module-info.java @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * Licensing information for Helidon + */ +module io.helidon.licensing { + +} diff --git a/pom.xml b/pom.xml index 9454f2a52..4510840ee 100644 --- a/pom.xml +++ b/pom.xml @@ -159,6 +159,7 @@ dependencies bom applications + licensing common config media