My java root project has source code and maven modules it depends on. One of these modules A has a cyclic dependency with the root project. What would be a recommended way to get rid of this cyclic dependency?
UPD: I have solved it already before posting a question, but decided to share.
Your root project should have POM packaging and shouldn't contain any code. Move any such code to a new project and configure dependencies to/from this project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With