Skip to content

Commit

Permalink
fix license plugin configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aploese committed Apr 10, 2024
1 parent ef22ce5 commit 4c86fe8
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,40 +140,49 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.3</version>
<version>3.2.5</version>
</plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.3</version>
<dependencies>
<dependency>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin-git</artifactId>
<version>4.3</version>
</dependency>
</dependencies>
<!-- do not pass config to the modules-->
<inherited>false</inherited>
<configuration>
<failIfMissing>true</failIfMissing>
<aggregate>true</aggregate>
<strictCheck>true</strictCheck>
<!-- execute here -->
<aggregate>true</aggregate>
<licenseSets>
<licenseSet>
<header>header-template-lgpl-java.txt</header>
<includes>
<include>**/*.java</include>
</includes>
<excludes>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
<dependencies>
<dependency>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin-git</artifactId>
<version>4.3</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>check-license</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<version>3.12.1</version>
<configuration>
<source>${compile.source}</source>
<target>${compile.target}</target>
Expand Down Expand Up @@ -233,7 +242,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down

0 comments on commit 4c86fe8

Please sign in to comment.