On Wed, 2005-10-26 at 20:03 +0200, Colin Chalmers wrote: > Hi all, > > I just updated to maven 2 and after following a couple of links on the > site/mailinglist got my multiproject project, relatively painlessly, > up&running!! > I am generating the three jars I need but one would also like to > aggregate all the code from the three seperate modules to build into one > big jar for easier distribution. > > My question is if there is an easy way to do this with tools at hand?
Yup, you can look at the embedder assembly descriptor for an example: http://svn.apache.org/viewcvs.cgi/*checkout*/maven/components/trunk/maven-embedder/src/main/assembly/dep.xml?rev=306535 That unpacks all the dependent JARs and bundles it up into one JAR. > If others have the same problem and can share tips/code? > If this is an ideal issue for writing a plugin? The assembly plugin deals with this: http://maven.apache.org/plugins/maven-assembly-plugin/ > Thx > > /Colin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org happiness is like a butterfly: the more you chase it, the more it will elude you, but if you turn your attention to other things, it will come and sit softly on your shoulder ... -- Thoreau --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
