Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration (M2E) » Can child modules be mutually dependent?
Can child modules be mutually dependent? [message #24347] Fri, 27 March 2009 21:04 Go to next message
Eclipse UserFriend
Originally posted by: hh.g.com

I have installed Maven in eclipse on Vista 64.

I have made a Maven Parent module that contains two child modules:

child1
child2

Currently child2 has child1 listed as a dependency which works fine.

But now I need to use code from child2 in child1. Its possible to add child1
as a dependency in child2. But I get red crosses on both child modules but
no error message.

Is it illegal to make two modules dependent on each other, and why don't I
get any error message?
Re: Can child modules be mutually dependent? [message #24512 is a reply to message #24347] Mon, 30 March 2009 14:07 Go to previous message
Eclipse UserFriend
Originally posted by: igor.ifedorenko.com

Maven does not allow circular dependencies among projects.

--
Regards,
Igor

Hummel wrote:
> I have installed Maven in eclipse on Vista 64.
>
> I have made a Maven Parent module that contains two child modules:
>
> child1
> child2
>
> Currently child2 has child1 listed as a dependency which works fine.
>
> But now I need to use code from child2 in child1. Its possible to add
> child1 as a dependency in child2. But I get red crosses on both child
> modules but no error message.
>
> Is it illegal to make two modules dependent on each other, and why don't
> I get any error message?
Previous Topic:How to import a module project?
Next Topic:Disable download from local repository?
Goto Forum:
  


Current Time: Fri Nov 28 10:14:26 GMT 2014

Powered by FUDForum. Page generated in 0.01830 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software