This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git
The following commit(s) were added to refs/heads/master by this push:
new 7acb725b run assembly only on root project (#1554)
7acb725b is described below
commit 7acb725b471e8645d8eb2d4ecad981ad16a750ce
Author: Hervé Boutemy <[email protected]>
AuthorDate: Tue Mar 17 08:44:07 2026 +0100
run assembly only on root project (#1554)
* run assembly only on root project
* Use inherited=false instead of runOnlyAtExecutionRoot
As suggested by cstamas: <inherited>false</inherited> prevents the
plugin from being invoked in child modules entirely, rather than
invoking it and having it bail out internally.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
---------
Co-authored-by: Guillaume Nodet <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>
---
pom.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/pom.xml b/pom.xml
index b4bb3449..50731a63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -641,6 +641,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
+ <inherited>false</inherited>
<executions>
<execution>
<id>create-source-distribution</id>