Can child modules be mutually dependent? [message #24347] |
Fri, 27 March 2009 21:04 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.03816 seconds