You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2011/07/06 14:05:16 UTC
[jira] [Created] (SLING-2127) Build fails (cyclic dependency) with
Maven 2.2.1
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
[jira] [Resolved] (SLING-2127) Build fails (cyclic dependency) with
Maven 2.2.1
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz resolved SLING-2127.
----------------------------------------
Resolution: Fixed
Assignee: Bertrand Delacretaz
As discussed on list, I have changed the parent pom in revision 1143836 to require Maven 3.0.2.
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SLING-2127) Build fails (cyclic dependency) with
Maven 2.2.1
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz updated SLING-2127:
---------------------------------------
Affects Version/s: Parent 10
Fix Version/s: Parent 11
> 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
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira