You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by ti...@apache.org on 2026/05/12 18:22:49 UTC
(db-jdo) branch main updated: Update RAT excludes file path to work across all submodules (#124)
This is an automated email from the ASF dual-hosted git repository.
tzaeschke pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/db-jdo.git
The following commit(s) were added to refs/heads/main by this push:
new 01363c6f Update RAT excludes file path to work across all submodules (#124)
01363c6f is described below
commit 01363c6f9527b30efeb3fd3afdb1494bebb4b4e4
Author: Craig L Russell <ap...@gmail.com>
AuthorDate: Tue May 12 11:22:43 2026 -0700
Update RAT excludes file path to work across all submodules (#124)
Use \${maven.multiModuleProjectDirectory} to reference .rat-excludes from
the project root so all submodules pick up the excludes configuration,
not just the root module.
Co-authored-by: Claude Sonnet 4.6 <no...@anthropic.com>
---
parent-pom/pom.xml | 3 +++
pom.xml | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/parent-pom/pom.xml b/parent-pom/pom.xml
index d84d4824..79fba997 100644
--- a/parent-pom/pom.xml
+++ b/parent-pom/pom.xml
@@ -356,6 +356,9 @@
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludesFile>${maven.multiModuleProjectDirectory}/.rat-excludes</excludesFile>
+ </configuration>
</plugin>
</plugins>
</build>
diff --git a/pom.xml b/pom.xml
index e017e6e1..a6eaaa50 100644
--- a/pom.xml
+++ b/pom.xml
@@ -66,7 +66,7 @@
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
- <excludesFile>.rat-excludes</excludesFile>
+ <excludesFile>${maven.multiModuleProjectDirectory}/.rat-excludes</excludesFile>
</configuration>
</plugin>
<!-- Release -->