[ http://jira.codehaus.org/browse/MAVEN-1744?page=comments#action_83331 ] Marin van Zandvoort commented on MAVEN-1744: --------------------------------------------
Hi, I did get the same error - "A cycle was detected'" after executing the same goals - "maven multiproject:goal -Dgoal=clean". Later on I found that the cause was because I defined all the dependencies of each subproject within the common project.xml file, so I edited that so that each subproject defines its own dependencies not already defined in its dependencies' <dependencies> element. Note: It also works if you define ALL dependencies needed by each subproject regardless of them being already defined in thier dependencies' <dependencies>. Though this would create configuration duplication which the Multiproject goal is there to prevent from happening. > A cycle was detected for multiproject goal > ------------------------------------------ > > Key: MAVEN-1744 > URL: http://jira.codehaus.org/browse/MAVEN-1744 > Project: Maven 1.x > Issue Type: Bug > Reporter: Manisha Sur > > I get the 'A cycle was detected' error for the multiproject:goal -Dgoal=clean > . > Please let me know the possible causes -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
