Thx Jason,
I'll look into this.
To clarify I can set this as my descriptor in the root project that
should iterate over the sub-projects and gather the info?
Whilst playing with the assembly plugin it compiled all classes but only
generated distributions for the root project, which was empty.
I was following the example on the site for generating a bin distribution.
/Colin
Jason van Zyl wrote:
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]