This was considered at one point but found to be a bit confusing. It is possible to generate an assembly in the root POM that includes the modules as if they were dependencies, but otherwise you need to create a separate project that lists the dependencies out.

Cheers,
Brett

On 22/10/2008, at 9:00 AM, Jim Sellers wrote:

Hi all.

I was wondering if there is a way to include a pom's modules as dependencies
in another project?

eg.
ProjectA
|-Module-A1
\-Module-A2

ProjectA's pom is of type pom. In another project we want to include all
the module of project A as dependencies.

Currently we have added another module to ProjectA called "complete" - a pom
which only has dependencies on Module-A1 and Module-A2.

This is a bit clunky because the list of modules and the dependencies listed
in the "complete" module are not garenteed to be in sync.

Anyone know if this is possible and how I'd be able to do that?

Thanks for your time,
Jim

--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/


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

Reply via email to