[
https://issues.apache.org/jira/browse/SLING-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu closed SLING-2127.
----------------------------------
> 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
> Affects Versions: Parent 10
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Fix For: Parent 11
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)