First, you have two declarations of the assembly plugin in your pom.
That's not correct. Start by consolidating them into one declaration
with two executions instead.

Secondly, having one project producing more than one artifact is not
the Maven way. I'm not sure what you want to do, but I'd split your
work into more than project. Each having one distinct task.

/Anders

On Thu, Feb 23, 2012 at 23:34, pierre46 <pierreyves....@gmail.com> wrote:
> I really appreciate your help.
> I've executed the command "mvn help:effective-pom" and it seems that the jar
> creation phase is reached first (as specified in the pom.xml). However, I
> find several jar inside the zip archive created but the executable jar
> previously created.
>
> Here is the pom.xml :
> http://maven.40175.n5.nabble.com/file/n5509866/pom.xml pom.xml
>
> Here is the assembly file :
> http://maven.40175.n5.nabble.com/file/n5509866/distribution.xml
> distribution.xml
>
> Here is the result of the command "mvn help:effective-pom" :
> http://maven.40175.n5.nabble.com/file/n5509866/help.effective help.effective
>
> Thanks again,
> PY
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Execute-maven-assembly-plugin-twice-during-package-phase-tp5505700p5509866.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>

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

Reply via email to