You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matthias Wessendorf <ma...@apache.org> on 2007/12/04 14:16:54 UTC

Assembly Plugins question

Hi,

I have a question regarding optimizing my use of the assembly plugin.

I have a build structure like
/
-api
-assembly/
-impl/
-demos/
    -demo1
    ...
    -demoN
    -demoAssembly

a regular "mvn clean install" now  builds, api, impl and all the demos.

To get the assemblies, I have to do (currently) two things:
mvn clean install -Pgenerate-assembly
(since I have a profile for the "assembly modules"),

cd assembly
mvn assembly:assembly

cd demo/demoAssembly
mvn assembly:assembly

I know, that I can move the "assembly modules" to the default, but how
to ensure, that
the two "mvn assembly:assembly" calls where made as well ?

Thx!
Matthias

-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

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


Re: Assembly Plugins question

Posted by Wendy Smoak <ws...@gmail.com>.
On Dec 4, 2007 6:16 AM, Matthias Wessendorf <ma...@apache.org> wrote:

> To get the assemblies, I have to do (currently) two things:
> mvn clean install -Pgenerate-assembly
> (since I have a profile for the "assembly modules"),
>
> cd assembly
> mvn assembly:assembly
>
> cd demo/demoAssembly
> mvn assembly:assembly
>
> I know, that I can move the "assembly modules" to the default, but how
> to ensure, that
> the two "mvn assembly:assembly" calls where made as well ?

Take a look at "Building an assembly as part of the build lifecycle"
here, and try the "attached" goal:
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html

-- 
Wendy

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