Alexander Tumin created MASSEMBLY-609:
-----------------------------------------

             Summary: Misbehavior on multi-module projects
                 Key: MASSEMBLY-609
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-609
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.3
         Environment: (attached)
http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html
            Reporter: Alexander Tumin
            Priority: Blocker
         Attachments: parent.zip

With <useAllReactorProjects/> set to true;  <outputDirectory/> tag value is not 
being interpolated on a module-by-module basis as said in 
[documentation|http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html]
 - instead of substituting ${artifactId} with value of each processed modules 
it is always being substituted with the value of module which calls to the 
assembly plugin.

In other words, instead of the following desired directory structure:

distribution/target/distribution-1.0-bin/modules/child1/child1-1.0.jar
distribution/target/distribution-1.0-bin/modules/child2/child2-1.0.jar
distribution/target/distribution-1.0-bin/modules/child3/child3-1.0.jar

i am getting flatenned

distribution/target/distribution-1.0-bin/modules/distribution/child1-1.0.jar
distribution/target/distribution-1.0-bin/modules/distribution/child2-1.0.jar
distribution/target/distribution-1.0-bin/modules/distribution/child3-1.0.jar


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to