How to resolve MAVEN project cyclic exception. can any one help me to resolve this | Community
Skip to main content
Level 2
March 8, 2023
Solved

How to resolve MAVEN project cyclic exception. can any one help me to resolve this

  • March 8, 2023
  • 1 reply
  • 6798 views

[ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.travel:travel.ui.apps:0.0.1-SNAPSHOT'}' and 'Vertex{label='com.travel:travel.core:0.0.1-SNAPSHOT'}' introduces to cycle in the graph com.travel:travel.core:0.0.1-SNAPSHOT --> com.travel:travel.all:0.0.1-SNAPSHOT --> com.travel:travel.ui.apps:0.0.1-SNAPSHOT --> com.travel:travel.core:0.0.1-SNAPSHOT @

[ERROR] The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.travel:travel.ui.apps:0.0.1-SNAPSHOT'}' and 'Vertex{label='com.travel:travel.core:0.0.1-SNAPSHOT'}' introduces to cycle in the graph com.travel:travel.core:0.0.1-SNAPSHOT --> com.travel:travel.all:0.0.1-SNAPSHOT --> com.travel:travel.ui.apps:0.0.1-SNAPSHOT --> com.travel:travel.core:0.0.1-SNAPSHOT -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectCycleException

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

you have a cyclic dependency, make sure you remove the dependency for com.travel:travel.all:0.0.1-SNAPSHOT

and you need core dependency only in ui.apps and travel.all POM.

ui.apps in travel.all POM.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 8, 2023

you have a cyclic dependency, make sure you remove the dependency for com.travel:travel.all:0.0.1-SNAPSHOT

and you need core dependency only in ui.apps and travel.all POM.

ui.apps in travel.all POM.

Arun Patidar