This is an automated email from the ASF dual-hosted git repository. pottlinger pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/creadur-rat.git
commit fa5b1a991f94b114d6d7442e66935312bee4437e Author: P. Ottlinger <[email protected]> AuthorDate: Sat Oct 18 00:22:54 2025 +0200 RAT-487: Cleanup configuration as new exclusion engine from 0.17 works differently --- apache-rat-plugin/pom.xml | 4 ++-- apache-rat-tasks/pom.xml | 4 ++-- apache-rat-testdata/pom.xml | 6 +++--- apache-rat-tools/pom.xml | 4 ++-- apache-rat/pom.xml | 6 +++--- pom.xml | 15 +++------------ 6 files changed, 15 insertions(+), 24 deletions(-) diff --git a/apache-rat-plugin/pom.xml b/apache-rat-plugin/pom.xml index 2f1654f1..310cc822 100644 --- a/apache-rat-plugin/pom.xml +++ b/apache-rat-plugin/pom.xml @@ -84,7 +84,7 @@ <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> - <excludes> + <inputExcludes> <!-- Generated by Eclipse, and not distributed, so ignorable. --> <exclude>bin/**/*</exclude> <exclude>.externalToolBuilders/**/*</exclude> @@ -101,7 +101,7 @@ <exclude>**/.bzrignore</exclude> <exlcude>invoker_target/**</exlcude> <exclude>src/test/resources/XmlOutputExamples/**/*</exclude> - </excludes> + </inputExcludes> </configuration> </plugin> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> diff --git a/apache-rat-tasks/pom.xml b/apache-rat-tasks/pom.xml index cc76a7fb..35d00354 100644 --- a/apache-rat-tasks/pom.xml +++ b/apache-rat-tasks/pom.xml @@ -264,14 +264,14 @@ <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> - <excludes> + <inputExcludes> <!-- Generated by Eclipse, and not distributed, so ignorable. --> <exclude>bin/**/*</exclude> <exclude>.externalToolBuilders/**/*</exclude> <!-- These files do not have license headers --> <exclude>src/test/resources/</exclude> <exclude>src/site/apt/*.txt</exclude> - </excludes> + </inputExcludes> </configuration> </plugin> <plugin> diff --git a/apache-rat-testdata/pom.xml b/apache-rat-testdata/pom.xml index a28c75e6..63f4040c 100644 --- a/apache-rat-testdata/pom.xml +++ b/apache-rat-testdata/pom.xml @@ -36,9 +36,9 @@ <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> - <excludes> - <exclude>src/main/resources/examples/**</exclude> - </excludes> + <inputExcludes> + <exclude>/src/main/resources/examples/**</exclude> + </inputExcludes> </configuration> </plugin> </plugins> diff --git a/apache-rat-tools/pom.xml b/apache-rat-tools/pom.xml index cb8a7409..728694d8 100644 --- a/apache-rat-tools/pom.xml +++ b/apache-rat-tools/pom.xml @@ -43,7 +43,7 @@ <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> - <excludes> + <inputExcludes> <!-- Generated by Eclipse, and not distributed, so ignorable. --> <exclude>bin/**/*</exclude> <exclude>.externalToolBuilders/**/*</exclude> @@ -53,7 +53,7 @@ <exclude>src/test/resources/**</exclude> <!-- These files have bad license headers because they are used to generate example reports --> <exclude>src/main/resources/org/apache/rat/tools/ExampleGeneratorResources/**</exclude> - </excludes> + </inputExcludes> </configuration> </plugin> </plugins> diff --git a/apache-rat/pom.xml b/apache-rat/pom.xml index e5be17f3..bcf8b1e2 100644 --- a/apache-rat/pom.xml +++ b/apache-rat/pom.xml @@ -163,7 +163,7 @@ <artifactId>animal-sniffer-maven-plugin</artifactId> <executions> <execution> - <!-- This sub project has no source code, so we need to skip animal sniffer --> + <!-- This subproject has no source code, so we need to skip animal sniffer --> <id>check-java-1.8-compat</id> <configuration> <skip>true</skip> @@ -345,11 +345,11 @@ <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> - <excludes> + <inputExcludes> <!-- files that are examples of output from the tool --> <exclude>src/site/examples/**</exclude> <exclude>src/site/apt/*.txt</exclude> - </excludes> + </inputExcludes> </configuration> </plugin> <plugin> diff --git a/pom.xml b/pom.xml index aa541ddc..ef64840b 100644 --- a/pom.xml +++ b/pom.xml @@ -576,23 +576,14 @@ agnostic home for software distribution comprehension and audit tools. <!-- Do not use property values here as this causes problems during release --> <version>0.17</version> <configuration> - <excludes> + <inputExcludes> <exclude>.asf.yaml</exclude> - <!-- rat:check does not seem to use exclusions from modules --> - <exclude>apache-rat-core/src/test/resources/**</exclude> - <exclude>apache-rat*/target/**</exclude> - <exclude>apache-rat-plugin/src/test/resources/**</exclude> - <exclude>apache-rat-plugin/src/it/**</exclude> - <exclude>apache-rat-tasks/src/test/resources/**</exclude> - <exclude>/src/site/apt/naming_help.txt</exclude> + <exclude>src/site/apt/naming_help.txt</exclude> <exclude>**/iso-8859-1.html</exclude> <exclude>**/velocity.log</exclude> <!-- RAT-353: until https://bugs.openjdk.org/browse/JDK-8227487 is fixed we add fonts manually --> <exclude>**/src/site/javadocFont/**</exclude> - <exclude>apache-rat/src/site/examples/**</exclude> - <exclude>apache-rat/src/site/resources/templates/**</exclude> - <exclude>apache-rat-plugin/src/site/apt/plugin_help.txt</exclude> - </excludes> + </inputExcludes> </configuration> </plugin> <plugin>
