From 833cc189c658820b534ea0fddfc9055c5e12e98f Mon Sep 17 00:00:00 2001 From: Vitalij Berdinskih Date: Thu, 14 Nov 2024 09:02:21 +0200 Subject: [PATCH] Add the license plugin --- NOTICE | 4 ++++ THIRD-PARTY.txt | 18 ++++++++++++++++++ pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 THIRD-PARTY.txt diff --git a/NOTICE b/NOTICE index 478fc81..f3c60ff 100644 --- a/NOTICE +++ b/NOTICE @@ -12,3 +12,7 @@ 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. + +======================================================================= + +See THIRD-PARTY.txt for additional third party licenses used by this product. \ No newline at end of file diff --git a/THIRD-PARTY.txt b/THIRD-PARTY.txt new file mode 100644 index 0000000..acae26a --- /dev/null +++ b/THIRD-PARTY.txt @@ -0,0 +1,18 @@ + +Lists of 16 third-party dependencies. + (Apache License version 2.0) Apache Commons Logging (commons-logging:commons-logging:1.3.4 - https://commons.apache.org/proper/commons-logging/) + (Apache License version 2.0) Logger Keeper and jUnit Extension (io.github.vitalijr2.logging:mock-loggers-core:1.0.0 - https://github.com/vitalijr2/mock-loggers/mock-loggers-core) + (Apache License version 2.0) Byte Buddy (without dependencies) (net.bytebuddy:byte-buddy:1.15.4 - https://bytebuddy.net/byte-buddy) + (Apache License version 2.0) Byte Buddy agent (net.bytebuddy:byte-buddy-agent:1.15.4 - https://bytebuddy.net/byte-buddy-agent) + (Apache License version 2.0) org.apiguardian:apiguardian-api (org.apiguardian:apiguardian-api:1.1.2 - https://github.com/apiguardian-team/apiguardian) + (Apache License version 2.0) JetBrains Java Annotations (org.jetbrains:annotations:26.0.1 - https://github.com/JetBrains/java-annotations) + (Eclipse Public License - v 2.0) JUnit Jupiter API (org.junit.jupiter:junit-jupiter-api:5.11.3 - https://junit.org/junit5/) + (Eclipse Public License - v 2.0) JUnit Jupiter Engine (org.junit.jupiter:junit-jupiter-engine:5.11.3 - https://junit.org/junit5/) + (Eclipse Public License - v 2.0) JUnit Jupiter Params (org.junit.jupiter:junit-jupiter-params:5.11.3 - https://junit.org/junit5/) + (Eclipse Public License - v 2.0) JUnit Platform Commons (org.junit.platform:junit-platform-commons:1.11.3 - https://junit.org/junit5/) + (Eclipse Public License - v 2.0) JUnit Platform Engine API (org.junit.platform:junit-platform-engine:1.11.3 - https://junit.org/junit5/) + (MIT License) mockito-core (org.mockito:mockito-core:5.14.2 - https://github.com/mockito/mockito) + (MIT License) mockito-junit-jupiter (org.mockito:mockito-junit-jupiter:5.14.2 - https://github.com/mockito/mockito) + (Apache License version 2.0) Objenesis (org.objenesis:objenesis:3.3 - http://objenesis.org/objenesis) + (Apache License version 2.0) org.opentest4j:opentest4j (org.opentest4j:opentest4j:1.3.0 - https://github.com/ota4j-team/opentest4j) + (MIT License) SLF4J API Module (org.slf4j:slf4j-api:2.0.16 - http://www.slf4j.org) diff --git a/pom.xml b/pom.xml index 438f63a..3b74db0 100644 --- a/pom.xml +++ b/pom.xml @@ -124,6 +124,28 @@ org.jacoco 0.8.12 + + license-maven-plugin + + + + true + test + + + Apache License version 2.0|The Apache Software License, Version 2.0|The Apache License, Version 2.0|Apache License, Version 2.0|Apache-2.0|Apache 2 + Eclipse Public License - v 2.0|Eclipse Public License v2.0 + MIT License|MIT + + + ${project.basedir} + + default-cli + + + org.codehaus.mojo + 2.4.0 + maven-clean-plugin org.apache.maven.plugins @@ -404,6 +426,24 @@ true org.sonatype.central + + license-maven-plugin + + + + ${project.inceptionYear} + apache_v2 + Vitalij Berdinskih + + + check-file-header + + check-license-header + process-sources + + + org.codehaus.mojo + maven-javadoc-plugin