How to resolve MAVEN project cyclic exception. can any one help me to resolve this | Community
Skip to main content
Level 2
Mar 8, 2023 4:19 AM UTC
Solved

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

[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.
arunpatidar
arunpatidarAccepted solution
New Participant
Mar 8, 2023 10:26 AM UTC

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

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
Mar 8, 2023 10:26 AM UTC

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.

Translate
Arun Patidar