Skip to content

Commit

Permalink
Use newer license-maven-plugin config approach
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Nov 18, 2023
1 parent 73c2f18 commit 92d4bc3
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,26 @@
<artifactId>license-maven-plugin</artifactId>
<version>4.3</version>
<configuration>
<header>com/mycila/maven/plugin/license/templates/BSD-3.txt</header>
<failIfMissing>true</failIfMissing>
<aggregate>true</aggregate>
<strictCheck>true</strictCheck>
<properties>
<owner>${project.organization.name} &lt;${contact.email}&gt;</owner>
</properties>
<excludes>
<exclude>**/pom.xml</exclude>
<exclude>**/README.md</exclude>
<exclude>**/LICENSE</exclude>
<exclude>src/main/resources/**</exclude>
</excludes>
<encoding>${project.build.sourceEncoding}</encoding>
<mapping>
<g4>SLASHSTAR_STYLE</g4>
</mapping>
<encoding>${project.build.sourceEncoding}</encoding>
<licenseSets>
<licenseSet>
<header>com/mycila/maven/plugin/license/templates/BSD-3.txt</header>
<properties>
<owner>${project.organization.name} &lt;${contact.email}&gt;</owner>
</properties>
<excludes>
<exclude>**/pom.xml</exclude>
<exclude>**/README.md</exclude>
<exclude>**/LICENSE</exclude>
<exclude>src/main/resources/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 92d4bc3

Please sign in to comment.