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: 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