Adrian Shum a écrit :
> Dear all,
>  
> I am using Maven 2.0.9.  I am trying to create a multi-module assembly 
> by having assembly descriptor in my multi-module project.
>  
> ...

>  
> What I am trying to do is I want to put artifiacts to be deployed to our
> app server
> in a dedicate directory.
>  
> However, when I try to build my project by mvn clean install, mvn clean
> package, 
> mvn clean install package or even mvn clean install assembly:assembly,
> it is found
> that modules in my project is built twice.  It seems that one is
> triggered by normal
> build lifecycle, another one is triggered by the assembly plugin. Is
> that a normal 
> behavior of assembly?  Or did I do something wrong?
>   

Hi,

It is written in the documentation that the "assembly" goal triggers a
new build, and is meant to be called directly with "mvn assembly:assembly".
You should try either "attached" (that is meant to be part of the
lifecycle) or maybe "single" (although I don't understand very well what
this goal is about ;-) )

-- 
Julien

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to