Skip to content

Commit

Permalink
Merge pull request #8 from vitalijr2/license-and-notice
Browse files Browse the repository at this point in the history
Add the license plugin
  • Loading branch information
vitalijr2 authored Nov 14, 2024
2 parents 9abbd5b + 833cc18 commit 6d92b6a
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -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.
18 changes: 18 additions & 0 deletions THIRD-PARTY.txt
Original file line number Diff line number Diff line change
@@ -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)
40 changes: 40 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,28 @@
<groupId>org.jacoco</groupId>
<version>0.8.12</version>
</plugin>
<plugin>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<configuration>
<excludeTransitiveDependencies>true</excludeTransitiveDependencies>
<excludedScopes>test</excludedScopes>
<!-- @formatter:off -->
<licenseMerges>
<licenseMerge>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</licenseMerge>
<licenseMerge>Eclipse Public License - v 2.0|Eclipse Public License v2.0</licenseMerge>
<licenseMerge>MIT License|MIT</licenseMerge>
</licenseMerges>
<!-- @formatter:on -->
<outputDirectory>${project.basedir}</outputDirectory>
</configuration>
<id>default-cli</id>
</execution>
</executions>
<groupId>org.codehaus.mojo</groupId>
<version>2.4.0</version>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -404,6 +426,24 @@
<extensions>true</extensions>
<groupId>org.sonatype.central</groupId>
</plugin>
<plugin>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<configuration>
<inceptionYear>${project.inceptionYear}</inceptionYear>
<licenseName>apache_v2</licenseName>
<organizationName>Vitalij Berdinskih</organizationName>
</configuration>
<goals>
<goal>check-file-header</goal>
</goals>
<id>check-license-header</id>
<phase>process-sources</phase>
</execution>
</executions>
<groupId>org.codehaus.mojo</groupId>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
Expand Down

0 comments on commit 6d92b6a

Please sign in to comment.