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.