You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/09/25 18:57:47 UTC
(maven-doxia) 02/02: Use inputExcludes for apache-rat 0.18
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia.git
commit 230cb960abd9700029390d31918d23fb84ed436c
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Sep 25 12:32:16 2026 +0200
Use inputExcludes for apache-rat 0.18
Keep the rat configuration in pluginManagement; the check itself is
activated by the parent's java17+ profile on JDK 17+.
Signed-off-by: Sylwester Lachiewicz <sl...@apache.org>
---
pom.xml | 34 +++++++++++++++++++---------------
1 file changed, 19 insertions(+), 15 deletions(-)
diff --git a/pom.xml b/pom.xml
index 484544e1..049d3eb6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -187,6 +187,23 @@ under the License.
</resources>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <inputExcludes combine.children="append">
+
+ <exclude>src/main/resources/xml.xsd</exclude>
+ <exclude>src/test/resources/**/*.apt</exclude>
+ <exclude>src/test/resources/**/*.apt.vm</exclude>
+ <exclude>src/test/resources/**/*.md</exclude>
+ <exclude>src/test/resources/**/*.html</exclude>
+ <exclude>src/it/**/site/**/*.md</exclude>
+ <exclude>src/it/**/site/**/*.markdown</exclude>
+
+ </inputExcludes>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
@@ -201,21 +218,7 @@ under the License.
<checkoutDirectory>${maven.site.cache}/doxia/${maven.site.path}</checkoutDirectory>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <configuration>
- <excludes combine.children="append">
- <exclude>src/main/resources/xml.xsd</exclude>
- <exclude>src/test/resources/**/*.apt</exclude>
- <exclude>src/test/resources/**/*.apt.vm</exclude>
- <exclude>src/test/resources/**/*.md</exclude>
- <exclude>src/test/resources/**/*.html</exclude>
- <exclude>src/it/**/site/**/*.md</exclude>
- <exclude>src/it/**/site/**/*.markdown</exclude>
- </excludes>
- </configuration>
- </plugin>
+
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
@@ -257,6 +260,7 @@ under the License.
</build>
<profiles>
+
<profile>
<!-- AbstractXmlParser.CachedFileEntityResolver downloads DTD/XSD files in ${java.io.tmpdir} -->
<id>remove-temp</id>