hi,
I have the following condition, which creates a cyclic dependency error which I'd very much like to solve with as little code duplication as possible...
Every module creates a test-jar. all the modules consume common's test jar (which contains test base classes, test annotations, etc.)
The parent reactor defines all modules as sons. Also, it defines the dependency for common-jar in it's dependencies, so that all child modules could inherit that dependencies. This propogates down to all child modules, including common. Hence, a cyclic dependency is creates betwen parent -> common -> parent
it looks like this:
Reactor:
modules: common, svc, web, ...
dependencies: common-test (scope: test, classifier: tests)
Common:
parent: Reactor
dependencies: common-test(inherited), ...
Web, Svc, ...
any ideas welcome!
thanks,
Zvika
