My project consists of 2 maven modules A and B with 3 submodules:
A
- aApi
- aSpec
- aSrv
B
- bApi
- bSpec
- bSrv
References:
- A (aSrv) is using model from B (bApi)
- B (bSrv) is using model from A (aApi)
I obviously have an error when building my project due to circular dependency (A is not building because it needs something from B and B is not building because it needs something from A). I think logically my module division makes sense but what's the best approach here for making it buildable?