Skip to content

Commit

Permalink
✨ gather 3rd party licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Jul 20, 2024
1 parent a8276a3 commit e76ef56
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
<url>https://github.com/commonhaus/automation</url>
<inceptionYear>2024</inceptionYear>

<organization>
<name>Commonhaus Foundation</name>
<url>https://www.commonhaus.org</url>
</organization>

<licenses>
<license>
<name>The Apache License, Version 2.0</name>
Expand Down Expand Up @@ -44,6 +49,7 @@
<impsort-plugin.version>1.11.0</impsort-plugin.version>
<jandex-plugin.version>1.2.3</jandex-plugin.version>
<jar-plugin.version>3.4.2</jar-plugin.version>
<license-plugin.version>2.4.0</license-plugin.version>
<victools.version>4.35.0</victools.version>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -134,7 +140,7 @@
<exclusion>
<groupId>org.eclipse.jetty</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>
Expand Down Expand Up @@ -178,7 +184,7 @@
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>${jar-plugin.version}</version>
</plugin>
</plugin>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
Expand All @@ -194,6 +200,11 @@
<artifactId>impsort-maven-plugin</artifactId>
<version>${impsort-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>${license-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>

Expand Down Expand Up @@ -312,6 +323,19 @@
<removeUnused>true</removeUnused>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<executions>
<execution>
<id>aggregate-licenses</id>
<goals>
<goal>aggregate-download-licenses</goal>
<goal>aggregate-add-third-party</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit e76ef56

Please sign in to comment.