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/21 12:29:25 UTC
(maven-war-plugin) branch 4.0.x updated: Exclude the wartests directory the overlay unit tests leave in the project root
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch 4.0.x
in repository https://gitbox.apache.org/repos/asf/maven-war-plugin.git
The following commit(s) were added to refs/heads/4.0.x by this push:
new 94fabfa Exclude the wartests directory the overlay unit tests leave in the project root
94fabfa is described below
commit 94fabfad2af1feea9908dbe360b38dc98e2eb7ed
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Sep 21 13:46:48 2026 +0200
Exclude the wartests directory the overlay unit tests leave in the project root
On the CI runner the harness does not apply the tests' workDirectory parameter, so the
overlays unpack next to the POM and the site build's RAT check fails on them; locally
they land under target/. Same treatment as zipGroupId/.
---
.gitignore | 1 +
pom.xml | 2 ++
2 files changed, 3 insertions(+)
diff --git a/.gitignore b/.gitignore
index 8f0ba66..a7efe73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,3 +17,4 @@ out/
*.versionsBackup
.claude/
+wartests/
diff --git a/pom.xml b/pom.xml
index 9456c37..04fc07f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -204,6 +204,8 @@
<exclude>src/test/resources/**</exclude>
<!-- Created by unit tests (zip overlay) at project root -->
<exclude>zipGroupId/**</exclude>
+ <!-- Created by the overlay unit tests at project root when the harness leaves workDirectory unset -->
+ <exclude>wartests/**</exclude>
</excludes>
</configuration>
</plugin>