I had the same kind of need. You should try Maven Assembly Plugin : http://maven.apache.org/plugins/maven-assembly-plugin/ Or maybe Maven Shade Plugin : http://maven.apache.org/plugins/maven-shade-plugin/
2008/9/8 Karl Heinz Marbaise <[EMAIL PROTECTED]> > Hi there, > > i have a project which has the following structure: > > parent > +--- Module A (depends on C and D) > +--- Module B > +--- Module C > +--- Module D > > > Module A has of course other dependencies too.... > > Now coming to my problem: > > I would like to create a zip/jar which comprises of the Module A-jar > and of it's dependencies (Module C and D) and of course of their > external dependencies (e.g. Log4j.jar, spring-2.5.4.jar, > commons-collections, xstream etc.) > Those dependencies have been defined in Module A, C and D. > > If i do a mvn package in module A i only get a jar file which comprises > of the Classes in Module A without any dependencies.... > > I would like to create that zip/jar as a result of the package (for > delivery) > > Does someone has an idea or a hint about that ? > > > Kind regards > Karl Heinz Marbaise > -- > SoftwareEntwicklung Beratung Schulung Tel.: +49 (0) 2405 / 415 893 > Dipl.Ing.(FH) Karl Heinz Marbaise ICQ#: 135949029 > Hauptstrasse 177 USt.IdNr: DE191347579 > 52146 Würselen http://www.soebes.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Seules 2 choses sont infinies : l'univers et la bêtise humaine ; et encore pour l'univers, je ne suis pas sûr … (Einstein)
