I´ve searching a lot and found like nothing that helps me for my problem.
My Project is a homepage (using Java, Wicket, Tomecat and Maven) and I want to have two modules because I want to turn Module B off and on if want to. The Problem is I want to link from Module A to B and back.
If I try to build my project it doesnt work. I guess its getting into a never ending cycle while building because he is searching for the dependecys... but how do I solve that problem?
Module A -> Module B
Module B <- Module A
The dependencies of Module A looks like this:
<dependencies>
<dependency>
<groupId>package.webapp</groupId>
<artifactId>module_b</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
The dependencies of Module B looks like this:
<dependencies>
<dependency>
<groupId>package.webapp</groupId>
<artifactId>module_a</artifactId>
<version>1.0.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>