Build fails (cyclic dependency) with Maven 2.2.1
------------------------------------------------

                 Key: SLING-2127
                 URL: https://issues.apache.org/jira/browse/SLING-2127
             Project: Sling
          Issue Type: Bug
          Components: General
            Reporter: Bertrand Delacretaz


Running Maven 2.2.1 at the top of the revision 1143359 tree fails with

The projects in the reactor contain a cyclic reference: Edge between 
'Vertex{label='org.apache.sling:org.apache.sling.commons.testing'}' and 
'Vertex{label='org.apache.sling:org.apache.sling.api'}' introduces to cycle in 
the graph org.apache.sling:org.apache.sling.api --> 
org.apache.sling:org.apache.sling.commons.testing --> 
org.apache.sling:org.apache.sling.api

But we don't really have a cycle, if we take the version numbers into account.

org.apache.sling.commons.testing : 2.0.9-SNAPSHOT depends on
org.apache.sling:org.apache.sling.api:jar:2.1.0:compile

org.apache.sling.api 2.2.1-SNAPSHOT depends on
org.apache.sling:org.apache.sling.commons.testing:jar:2.0.6:test

We need to either remove the (perceived) cycle to work around what looks like a 
Maven bug, or require Maven 3. 

Build works fine for me with 3.0.2.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to