Multi module assembly with dependencies

2007-03-29 Thread Paul Gier
I'm trying to create an assembly for a multi-module project that 
includes the dependencies of the modules.

My assembly descriptor looks something like this:

assembly
 idstandalone/id
 formats
   formatzip/format
 /formats
 includeBaseDirectoryfalse/includeBaseDirectory
 moduleSets
   moduleSet
 includes
   includegroup:moduleA/include
   includegroup:moduleB/include
 /includes
 binaries
   outputDirectorymodules/${artifactId}/outputDirectory
   unpackfalse/unpack
   dependencySets
 dependencySet
   unpackfalse/unpack
   outputDirectorylib/outputDirectory
 /dependencySet
   /dependencySets
 /binaries
   /moduleSet
 /moduleSets
/assembly

I get an error that says the dependencySets tag is not recognized.  I'm 
using version 2.1 of the assembly plugin.  Is dependencySets only 
supported in 2.2-SNAPSHOT?  Or am I doing something else wrong.


Thanks!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Multi module assembly with dependencies

2007-03-29 Thread John Casey

dependencySets _within_module_binaries_ is only supported in 2.2-SNAPSHOT.
They are valid as a section directly within assembly in 2.1 though (not
that this will help you).

I'd highly recommend using 2.2-SNAPSHOT (very soon to be 2.2-beta-1). The
docs for it are the ones published on the website, though they're not marked
well (this is also fixed and awaiting deployment soon).

-john

On 3/29/07, Paul Gier [EMAIL PROTECTED] wrote:


I'm trying to create an assembly for a multi-module project that
includes the dependencies of the modules.
My assembly descriptor looks something like this:

assembly
  idstandalone/id
  formats
formatzip/format
  /formats
  includeBaseDirectoryfalse/includeBaseDirectory
  moduleSets
moduleSet
  includes
includegroup:moduleA/include
includegroup:moduleB/include
  /includes
  binaries
outputDirectorymodules/${artifactId}/outputDirectory
unpackfalse/unpack
dependencySets
  dependencySet
unpackfalse/unpack
outputDirectorylib/outputDirectory
  /dependencySet
/dependencySets
  /binaries
/moduleSet
  /moduleSets
/assembly

I get an error that says the dependencySets tag is not recognized.  I'm
using version 2.1 of the assembly plugin.  Is dependencySets only
supported in 2.2-SNAPSHOT?  Or am I doing something else wrong.

Thanks!

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]