You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/09/08 11:40:42 UTC
[jira] Created: (MNG-4800) Conflict resolution does not pick sub
tree of nearest dependency if farther conflicting dependency has wider
scope
Conflict resolution does not pick sub tree of nearest dependency if farther conflicting dependency has wider scope
------------------------------------------------------------------------------------------------------------------
Key: MNG-4800
URL: http://jira.codehaus.org/browse/MNG-4800
Project: Maven 2 & 3
Issue Type: Bug
Components: Dependencies
Affects Versions: 2.2.1, 2.0.11
Reporter: Benjamin Bentmann
This is a follow-up for the observations made in MNG-4761 and MNG-4790 where scope widening during conflict resolution will cause inconsistent sub trees in the resolved dependency graph. For example the unresolved tree
{noformat}
project
+- a:runtime
| \- c:1:runtime
| \- x:runtime
\- b:compile
\- c:2:compile
\- y:compile
{noformat}
will be resolved to
{noformat}
project
+- a:runtime
\- b:compile
\- c:1:compile
\- y:compile
{noformat}
instead of
{noformat}
project
+- a:runtime
| \- c:1:compile
| \- x:compile
\- b:compile
{noformat}
Note the difference regarding inclusion of x/y. The latter tree structure is however successfully resolved when using compile scope for dependency a.
--
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
[jira] Closed: (MNG-4800) Conflict resolution does not pick sub
tree of nearest dependency if farther conflicting dependency has wider
scope
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4800.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.0-beta-4
Assignee: Benjamin Bentmann
Fixed in [r996468|http://svn.apache.org/viewvc?view=revision&revision=996468].
> Conflict resolution does not pick sub tree of nearest dependency if farther conflicting dependency has wider scope
> ------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-4800
> URL: http://jira.codehaus.org/browse/MNG-4800
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 2.0.11, 2.2.1
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 3.0-beta-4
>
>
> This is a follow-up for the observations made in MNG-4761 and MNG-4790 where scope widening during conflict resolution will cause inconsistent sub trees in the resolved dependency graph. For example the unresolved tree
> {noformat}
> project
> +- a:runtime
> | \- c:1:runtime
> | \- x:runtime
> \- b:compile
> \- c:2:compile
> \- y:compile
> {noformat}
> will be resolved to
> {noformat}
> project
> +- a:runtime
> \- b:compile
> \- c:1:compile
> \- y:compile
> {noformat}
> instead of
> {noformat}
> project
> +- a:runtime
> | \- c:1:compile
> | \- x:compile
> \- b:compile
> {noformat}
> Note the difference regarding inclusion of x/y. The latter tree structure is however successfully resolved when using compile scope for dependency a.
--
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