On Tue, 2008-03-11 at 09:59 -0400, Steve Chernyak wrote:
> I have a multi module project that I would like to declare as a dependency
> of another project.
> -Project 1:
> --Module A
> --Module B
> 
> -Project 2
> 
> Modules A and B do not depend on each other. However, I would like project 2
> to depend on both modules. Is there a way to create Module C in Project 1
> whose only purpose is to group Modules A and B. I could then depend on
> Module C only from Project 2?

Yep. Just create module C with
  <packaging>pom</packaging>
and dependencies on A and B.

When anything declares a dependency on C, they transitively get A and B.

Regards,
Simon


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

Reply via email to