Expand my Community achievements bar.

SOLVED

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

Avatar

Level 2

[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

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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