Skip to content

Commit

Permalink
Add RAT plugin to check copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladicek committed Jan 18, 2024
1 parent 45b911d commit 7a7f242
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,27 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>${rat.version}</version>
<configuration>
<includes>
<include>**/*.java</include>
</includes>
</configuration>
<executions>
<execution>
<id>rat-check</id>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<properties>
Expand All @@ -89,6 +110,7 @@
<format.skip>false</format.skip>
<formatter.version>2.23.0</formatter.version>
<impsort.version>1.9.0</impsort.version>
<rat.version>0.16</rat.version>

<sonatypeOssDistMgmtNexusUrl>https://jakarta.oss.sonatype.org/</sonatypeOssDistMgmtNexusUrl>
<sonatypeOssDistMgmtStagingUrl>${sonatypeOssDistMgmtNexusUrl}content/repositories/staging/</sonatypeOssDistMgmtStagingUrl>
Expand Down

0 comments on commit 7a7f242

Please sign in to comment.