I have a bit of a funny problem and instead of looking for a solution to it, I'm looking for solutions.
Project Alice has a pom.xml. In it the pom says she gets packaged as a jar and although she is a strong woman, she is dependent on Bob. Project Bob, being a complementarian, says he depends on Alice. Ergo a circular dependency.
Of course, running mvn compile
on Alice says "Alice is missing Bob". And Bob, that true romantic, if you try and compile him, he misses Alice too.
Since neither will comply without the other present, I'm looking for ways to resolve this.
There is only two ways I know how to resolve this:
- Marry them and make them one maven project.
- Break their co-dependency
Besides the fact that I don't want to promote incest, would making a parent pom and making Alice and Bob siblings solve this?
Any other solutions?