|
66 | 66 | </distributionManagement> |
67 | 67 |
|
68 | 68 | <properties> |
69 | | - <!-- *** Remove the line below when 3.0.0 is released --> |
70 | | - <shiro.previousVersion>3.0.0</shiro.previousVersion> |
71 | 69 | <!-- Replaced by the build number plugin at build time: --> |
72 | 70 | <buildNumber>${user.name}-${maven.build.timestamp}</buildNumber> |
73 | 71 | <project.build.outputTimestamp>2026-02-07T22:56:07Z</project.build.outputTimestamp> |
74 | 72 | <root.dir>${maven.multiModuleProjectDirectory}</root.dir> |
| 73 | + <rat.skip>false</rat.skip> |
75 | 74 | <jacoco.skip>true</jacoco.skip> |
76 | 75 | <japicmp-skip>false</japicmp-skip> |
77 | 76 | <japicmp.skip>${japicmp-skip}</japicmp.skip> |
|
330 | 329 | </dependency> |
331 | 330 | </dependencies> |
332 | 331 | </plugin> |
333 | | - <plugin> |
334 | | - <groupId>org.apache.maven.plugins</groupId> |
335 | | - <artifactId>maven-site-plugin</artifactId> |
336 | | - <version>4.0.0-M16</version> |
337 | | - </plugin> |
338 | 332 | <plugin> |
339 | 333 | <groupId>org.apache.rat</groupId> |
340 | 334 | <artifactId>apache-rat-plugin</artifactId> |
341 | 335 | <configuration> |
342 | | - <!-- note that this configuration needs to be maintained both in pluginManagement and reporting sections --> |
| 336 | + <!-- also applied to the RAT report in <reporting> --> |
| 337 | + <!-- |
| 338 | + RAT is not thread-safe in parallel (-T / mvnd) builds (shared .gitignore parser and |
| 339 | + license matchers), so it is skipped in modules and runs once at the root, |
| 340 | + scanning the whole tree. This also covers command-line "apache-rat:check" runs. |
| 341 | + --> |
| 342 | + <skip>true</skip> |
| 343 | + <excludeSubProjects>false</excludeSubProjects> |
343 | 344 | <inputExcludes> |
344 | 345 | <inputExclude>**/.externalToolBuilders/*</inputExclude> |
345 | 346 | <inputExclude>**/infinitest.filters</inputExclude> |
|
440 | 441 | <artifactId>japicmp-maven-plugin</artifactId> |
441 | 442 | <version>0.26.2</version> |
442 | 443 | <configuration> |
| 444 | + <!-- If specific old version is needed, uncomment the following and set the version to compare against |
443 | 445 | <oldVersion> |
444 | 446 | <dependency> |
445 | 447 | <groupId>${project.groupId}</groupId> |
446 | 448 | <artifactId>${project.artifactId}</artifactId> |
447 | | - <version>${shiro.previousVersion}</version> |
| 449 | + <version>3.0.0</version> |
448 | 450 | <type>jar</type> |
449 | 451 | </dependency> |
450 | 452 | </oldVersion> |
| 453 | + --> |
451 | 454 | <parameter> |
| 455 | + <oldVersionPattern>\d+\.0\.0</oldVersionPattern> |
452 | 456 | <onlyModified>true</onlyModified> |
453 | 457 | <breakBuildOnSourceIncompatibleModifications>true</breakBuildOnSourceIncompatibleModifications> |
454 | 458 | <breakBuildOnBinaryIncompatibleModifications>true</breakBuildOnBinaryIncompatibleModifications> |
|
538 | 542 | <plugin> |
539 | 543 | <groupId>org.apache.rat</groupId> |
540 | 544 | <artifactId>apache-rat-plugin</artifactId> |
| 545 | + <!-- only run at the root, see pluginManagement --> |
| 546 | + <inherited>false</inherited> |
| 547 | + <configuration> |
| 548 | + <skip>${rat.skip}</skip> |
| 549 | + </configuration> |
541 | 550 | <executions> |
542 | 551 | <execution> |
543 | 552 | <id>rat-check</id> |
|
1412 | 1421 | <plugin> |
1413 | 1422 | <groupId>org.apache.rat</groupId> |
1414 | 1423 | <artifactId>apache-rat-plugin</artifactId> |
1415 | | - <!-- only run at the root --> |
1416 | 1424 | <inherited>false</inherited> |
| 1425 | + <!-- configuration is inherited from build/pluginManagement --> |
1417 | 1426 | <configuration> |
1418 | | - <!-- note that this configuration needs to be maintained both in pluginManagement and reporting sections --> |
1419 | | - <inputExcludes> |
1420 | | - <inputExclude>**/.externalToolBuilders/*</inputExclude> |
1421 | | - <inputExclude>**/infinitest.filters</inputExclude> |
1422 | | - <!-- Apparently some test in samples/spring-client generates velocity log - would better to reconfigure to output to target/ --> |
1423 | | - <inputExclude>velocity.log</inputExclude> |
1424 | | - <inputExclude>CONTRIBUTING.md</inputExclude> |
1425 | | - <inputExclude>AGENTS.md</inputExclude> |
1426 | | - <inputExclude>SECURITY.md</inputExclude> |
1427 | | - <inputExclude>**/README.md</inputExclude> |
1428 | | - <inputExclude>**/*.json</inputExclude> |
1429 | | - <inputExclude>**/spring.factories</inputExclude> |
1430 | | - <inputExclude>**/org.springframework.boot.autoconfigure.AutoConfiguration.imports</inputExclude> |
1431 | | - <inputExclude>**/spring.provides</inputExclude> |
1432 | | - <inputExclude>**/*.iml</inputExclude> |
1433 | | - <inputExclude>**/*.idea/**</inputExclude> |
1434 | | - <inputExclude>**/target/**</inputExclude> |
1435 | | - <inputExclude>**/nb-configuration.xml</inputExclude> |
1436 | | - <inputExclude>**/faces-config.NavData</inputExclude> |
1437 | | - <inputExclude>**/.project</inputExclude> |
1438 | | - <inputExclude>**/.classpath</inputExclude> |
1439 | | - <inputExclude>**/.settings/*</inputExclude> |
1440 | | - <inputExclude>.github/linters/codespell.txt</inputExclude> |
1441 | | - <inputExclude>**/org.mockito.plugins.MockMaker</inputExclude> |
1442 | | - <inputExclude>.mvn/*</inputExclude> |
1443 | | - <inputExclude>.jenkins_maven_args</inputExclude> |
1444 | | - </inputExcludes> |
| 1427 | + <skip>${rat.skip}</skip> |
1445 | 1428 | </configuration> |
1446 | 1429 | </plugin> |
1447 | 1430 | <plugin> |
|
0 commit comments