Hi,

Did you try with the maven-shade-plugin [1] instead of maven-assembly-plugin
?

[1] http://maven.apache.org/plugins/maven-shade-plugin/

Regards.

Maxime Gréau.
mgreau.com
*Auteur du livre **Apache Maven - Maîtriser l'infrastructure d'un projet
Java EE* <http://goo.gl/ivCZW>



2011/5/18 Eric Kolotyluk <[email protected]>

> My current structure is
>
>  +-- pom.xml
>  !
>  +--- mod1
>  +--- mod2 needs an assembly and depends on mod1&  mod3
>  +--- mod3
>  +--- mod4 needs an assembly and depends on mod1&  mod3
>
> Are you saying I need to define something like
>
>
>  +-- pom.xml
>  !
>  +--- mod1
>  +--- mod2
>  +--- mod3
>  +--- mod4
>  +--- mod-ass2
>
>     +--- pom.xml (dependencies to mod1, mod2 and mod3)
>  +--- mod-ass4
>     +--- pom.xml (dependencies to mod1, mod3 and mod4)
>
> How will that ensure that mod1, mod2, mod3, mod4 will pass through the
> install phase, before mod-ass2 and mod-ass4 pass through the package phase.?
>
> Cheers, Eric
>
>
>
>
>
> On 2011-05-18 7:42 AM, Karl Heinz Marbaise wrote:
>
>> Hi,
>>
>> you have to define dependencies in your assembly module to the other
>> modules
>> ...than maven will handle the correct order ....
>>
>> I assume you have a structure like this.
>>
>>  +-- pom.xml
>>  !
>>  +--- mod1
>>  +--- mod2
>>  +--- mod3
>>  +--- mod-ass
>>       +--- pom.xml (dependencies to mod1, mod2 and mod3)
>>
>> Kind regards
>> Karl Heinz Marbaise
>>
>> -----
>> Kind regards
>> Karl Heinz Marbaise
>> ----
>> http://www.soebes.de
>> http://www.skmwiki.de
>> http://supose.org/wiki/supose
>> --
>> View this message in context:
>> http://maven.40175.n5.nabble.com/Assembly-Advice-tp4406394p4406656.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to