If you want them to execute at the same phase, then you will need to
explicitly add the jar plugin and add it before the assembly plugin to
get the order correct.

Yep help:effective-pom will how you what the maven understands.

On 23 February 2012 06:40, Anders Hammar <and...@hammar.net> wrote:
> Nabble strips attached files.
>
> Do you have the executions of the plugin in the right order in the
> pom? First the jar and then the zip. Also, check the effective-pom
> ("mvn help:effective-pom") to see what Maven is working on. What's the
> order of the executions there?
>
> /Anders
>
> On Wed, Feb 22, 2012 at 18:15, pierre46 <pierreyves....@gmail.com> wrote:
>> Hi,
>> I would like to create a jar file with all the dependencies and then create
>> a zip file which would contain the jar file.
>> The problem is that maven creates the zip file before the jar file and then
>> ... I'm a little bit lost.
>>
>> I enclosed my POM file in this post.
>>
>> Thanks,
>> PY
>>
>> --
>> View this message in context: 
>> http://maven.40175.n5.nabble.com/Execute-maven-assembly-plugin-twice-during-package-phase-tp5505700p5505700.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
>

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

Reply via email to