You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephane Nicoll <st...@gmail.com> on 2006/12/05 08:54:31 UTC

Re: question about maven assembly plugin

Hi Steve,

Please use the maven-user list for user's questions.

See kenney's response to that[1]. I guess it was a regression in
2.2-SNAPSHOT. If you're using the released version, that is 2.1, it
should be fairly easy.

If you want to only unpack project A, create a dependencySet with only
A and set the unpack flag to true, for instance:

        <dependencySet>
            <outputDirectory></outputDirectory>
            <unpack>true</unpack>
            <includes>
                <include>groupIdA:A</include>
            </includes>
        </dependencySet>

See the documentation[2] for more details

Cheers,
Stéphane

[1] http://www.mail-archive.com/dev@maven.apache.org/msg61755.html
[2] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html


On 12/5/06, Steve Yang <st...@yahoo.com> wrote:
> Hi Stephane,
>
> My name is steve. I have some question about maven assembly plugin. Would
> you like to help me figure out? I really appreciate that.
>
> From your previous post
> http://www.mail-archive.com/dev@maven.apache.org/msg61752.html.
> I would like to know how you config pom.xml and descriptor.xml to unpack
> only project A. I tried, but unpacked everything in project A(including B,
> C, and D).
>
> Thanks a lot.
>
> Regards.
>
> Steve
>
>  ________________________________
> Everyone is raving about the all-new Yahoo! Mail beta.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org