Skip to content

Commit 6b60223

Browse files
Update rat plugin configuration
- use new parameter - inputExcludes - move configuration to pluginManagement - use next SNAPSHOT parent
1 parent 28f6f1e commit 6b60223

File tree

1 file changed

+29
-25
lines changed

1 file changed

+29
-25
lines changed

pom.xml

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ under the License.
2424
<parent>
2525
<groupId>org.apache</groupId>
2626
<artifactId>apache</artifactId>
27-
<version>35</version>
27+
<version>36-SNAPSHOT</version>
2828
<relativePath />
2929
</parent>
3030

@@ -1256,6 +1256,33 @@ under the License.</licenseText>
12561256
</execution>
12571257
</executions>
12581258
</plugin>
1259+
<plugin>
1260+
<groupId>org.apache.rat</groupId>
1261+
<artifactId>apache-rat-plugin</artifactId>
1262+
<configuration>
1263+
<inputExcludes>
1264+
<inputExclude>.java-version</inputExclude>
1265+
<!-- Jenkins job with local Maven repository -->
1266+
<inputExcludes>.repository/**</inputExcludes>
1267+
<!-- Hudson Maven3 integration log -->
1268+
<inputExcludes>.maven/spy.log</inputExcludes>
1269+
<!-- Maven shade plugin -->
1270+
<inputExcludes>dependency-reduced-pom.xml</inputExcludes>
1271+
<!-- GitHub Support -->
1272+
<inputExcludes>.asf.yaml</inputExcludes>
1273+
</inputExcludes>
1274+
</configuration>
1275+
<executions>
1276+
<execution>
1277+
<id>rat-check</id>
1278+
<goals>
1279+
<goal>check</goal>
1280+
</goals>
1281+
<!-- execute after spotless-maven-plugin -->
1282+
<phase>process-resources</phase>
1283+
</execution>
1284+
</executions>
1285+
</plugin>
12591286
</plugins>
12601287
</pluginManagement>
12611288

@@ -1280,29 +1307,6 @@ under the License.</licenseText>
12801307
<plugin>
12811308
<groupId>org.apache.rat</groupId>
12821309
<artifactId>apache-rat-plugin</artifactId>
1283-
<configuration>
1284-
<excludes combine.children="append">
1285-
<exclude>.java-version</exclude>
1286-
<!-- Jenkins job with local Maven repository -->
1287-
<exclude>.repository/**</exclude>
1288-
<!-- Hudson Maven3 integration log -->
1289-
<exclude>.maven/spy.log</exclude>
1290-
<!-- Maven shade plugin -->
1291-
<exclude>dependency-reduced-pom.xml</exclude>
1292-
<!-- GitHub Support -->
1293-
<exclude>.asf.yaml</exclude>
1294-
</excludes>
1295-
</configuration>
1296-
<executions>
1297-
<execution>
1298-
<id>rat-check</id>
1299-
<goals>
1300-
<goal>check</goal>
1301-
</goals>
1302-
<!-- execute after spotless-maven-plugin -->
1303-
<phase>process-resources</phase>
1304-
</execution>
1305-
</executions>
13061310
</plugin>
13071311
<plugin>
13081312
<groupId>org.apache.maven.plugins</groupId>
@@ -1364,7 +1368,7 @@ under the License.</licenseText>
13641368
<jdk>[17,)</jdk>
13651369
</activation>
13661370
<build>
1367-
<!--- newer versions of plugins requires JDK 11 -->
1371+
<!--- newer versions of plugins requires JDK 17 -->
13681372
<plugins>
13691373
<plugin>
13701374
<groupId>com.diffplug.spotless</groupId>

0 commit comments

Comments
 (0)