They indeed both give the same result, but not what I was expecting.

I was hoping to get:

+ parent
    + target
        + parent-1.0-SNAPSHOT-assembly
            + modules
                + module1
                    + module1-1.0-SNAPSHOT-assembly.zip
                + module2
                    + module2-1.0-SNAPSHOT-assembly.zip


In stead of both modules, I get all the dependencies each in a subfolder.

Is it possible to get maven to build both assembly zips of the child modules
in 1 go?

regards,

Wim




2008/8/20 John Casey <[EMAIL PROTECTED]>

> Try using ${module.artifactId} or ${artifact.artifactId} (synonyms in the
> module binaries section, IIRC). ${artifactId} references the project
> running, not the artifact being processed.
>
> -john
>
>
> Wim Deblauwe wrote:
>
>> Hi,
>>
>> I'm following the instruction on
>>
>> http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html
>>
>> I would like to create a directory with 2 subdirecties of my child
>> modules.
>> The assembly plugin runs, but it seems that the ${artifactId} substitution
>> does not work. The artifactId of the parent (where I execute the assembly
>> command) is used in stead of the ones of the child modules.
>>
>> I'm using Maven 2.0.8 (on Ubuntu 8.04). I did not specify a version for
>> the
>> assembly plugin so I assume I have the latest?
>>
>> regards,
>>
>> Wim
>>
>>
> --
> John Casey
> Developer, PMC Member - Apache Maven (http://maven.apache.org)
> Blog: http://www.ejlife.net/blogs/buildchimp/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to