This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch mvnd-1.x
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git

commit 3bb134c020738339f99d56deca086ba33becee8d
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]>
    (cherry picked from commit 7acb725b471e8645d8eb2d4ecad981ad16a750ce)
---
 pom.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pom.xml b/pom.xml
index f49362bd..cb8474c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -636,6 +636,7 @@
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-assembly-plugin</artifactId>
+            <inherited>false</inherited>
             <executions>
               <execution>
                 <id>create-source-distribution</id>

Reply via email to