org.apache.maven.BuildFailureException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • failed to compile examples
    via GitHub by replyxf
    ,
  • Build error
    via GitHub by ashpriom
    ,
    • org.apache.maven.BuildFailureException: The projects in the reactor contain a cyclic reference: Edge between 'Vertex{label='com.myorg:module2'}' and 'Vertex{label='com.myorg:module1'}' introduces to cycle in the graph com.myorg:module1 --> com.myorg:module2 --> com.myorg:module1 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:295) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: hidden.org.codehaus.plexus.util.dag.CycleDetectedException: Edge between 'Vertex{label='com.myorg:module2'}' and 'Vertex{label='com.myorg:module1'}' introduces to cycle in the graph com.myorg:module1 --> com.myorg:module2 --> com.myorg:module1 at hidden.org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:143) at hidden.org.codehaus.plexus.util.dag.DAG.addEdge(DAG.java:123) at org.apache.maven.project.ProjectSorter.<init>(ProjectSorter.java:118) at org.apache.maven.execution.ReactorManager.<init>(ReactorManager.java:99) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:288) ... 11 more
    No Bugmate found.