You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 05:36:19 UTC

[jira] Updated: (MNG-3814) Reactor builds fail due to erroneous cycle in project sorting which does not consider versions

     [ http://jira.codehaus.org/browse/MNG-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3814:
------------------------------

    Fix Version/s: 2.0.x

> Reactor builds fail due to erroneous cycle in project sorting which does not consider versions
> ----------------------------------------------------------------------------------------------
>
>                 Key: MNG-3814
>                 URL: http://jira.codehaus.org/browse/MNG-3814
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Reactor and workspace
>    Affects Versions: 2.0.9, 2.1.0-M1, 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>             Fix For: 2.0.x
>
>
> Just to officially track the reason why the parent POM {{maven-plugins}} currently excludes the maven-project-info-reports-plugin from the reactor:
> {noformat}
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] The projects in the reactor contain a cyclic reference:
> Edge between
>   'Vertex{label='org.apache.maven.plugins:maven-remote-resources-plugin'}'
> and
>   'Vertex{label='org.apache.maven.plugins:maven-project-info-reports-plugin'}'
> introduces to cycle in the graph
>   org.apache.maven.plugins:maven-project-info-reports-plugin -->
>   org.apache.maven.plugins:maven-remote-resources-plugin -->
>   org.apache.maven.plugins:maven-project-info-reports-plugin
> {noformat}
> It appears the {{ProjectSorter}} does not take versions into account, i.e. there is no cycle in a multi-module scenario like this:
> {noformat}
> parent:1
> - plugin-a:2.0 which uses plugin-b:1.0
> - plugin-b:2.0 which uses plugin-a:1.0
> {noformat}

-- 
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