You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Mark Hobson (JIRA)" <ji...@codehaus.org> on 2005/09/01 14:50:02 UTC
[jira] Created: (MNG-820) Over-zealous transitive dependencies during mediation
Over-zealous transitive dependencies during mediation
-----------------------------------------------------
Key: MNG-820
URL: http://jira.codehaus.org/browse/MNG-820
Project: Maven 2
Type: Bug
Versions: 2.0-beta-1
Environment: Windows XP, Cygwin
Reporter: Mark Hobson
Priority: Blocker
Attachments: test.zip
The attached zip sets up the following project hierarchy:
main.war
projecta
shared:1.0
librarya
projectb
projectc
shared:2.0
libraryb
>From what I understand of dependency mediation shared:2.0 should be chosen in preference to shared:1.0, and hence libraryb should be included instead of librarya. Using the latest m2 the main.war WEB-INF/lib contains:
projecta
projectb
projectc
shared:2.0
librarya
libraryb
Thus librarya is included when it shouldn't be.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-820) Over-zealous transitive dependencies during mediation
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-820?page=comments#action_46479 ]
Brett Porter commented on MNG-820:
----------------------------------
ok, its not matching them up because of the order of processing it seems:
a:main:war:1.0 (selected for null)
a:projectb:jar:1.0 (selected for compile)
a:projectc:jar:1.0 (selected for compile)
a:shared:jar:2.0 (selected for compile)
a:libraryb:jar:1.0 (selected for compile)
a:projecta:jar:1.0 (selected for compile)
a:shared:jar:1.0 (selected for compile)
a:librarya:jar:1.0 (selected for compile)
Under current rules, it should be selecting shared 1.0 (nearest), and overwriting the 2.0 obtained earlier.
> Over-zealous transitive dependencies during mediation
> -----------------------------------------------------
>
> Key: MNG-820
> URL: http://jira.codehaus.org/browse/MNG-820
> Project: Maven 2
> Type: Bug
> Versions: 2.0-beta-1
> Environment: Windows XP, Cygwin
> Reporter: Mark Hobson
> Priority: Blocker
> Fix For: 2.0-beta-2
> Attachments: test.zip
>
>
> The attached zip sets up the following project hierarchy:
> main.war
> projecta
> shared:1.0
> librarya
> projectb
> projectc
> shared:2.0
> libraryb
> From what I understand of dependency mediation shared:2.0 should be chosen in preference to shared:1.0, and hence libraryb should be included instead of librarya. Using the latest m2 the main.war WEB-INF/lib contains:
> projecta
> projectb
> projectc
> shared:2.0
> librarya
> libraryb
> Thus librarya is included when it shouldn't be.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-820) Over-zealous transitive dependencies during mediation
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-820?page=all ]
Brett Porter updated MNG-820:
-----------------------------
Component: maven-artifact
> Over-zealous transitive dependencies during mediation
> -----------------------------------------------------
>
> Key: MNG-820
> URL: http://jira.codehaus.org/browse/MNG-820
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Versions: 2.0-beta-1
> Environment: Windows XP, Cygwin
> Reporter: Mark Hobson
> Priority: Blocker
> Fix For: 2.0-beta-2
> Attachments: test.zip
>
>
> The attached zip sets up the following project hierarchy:
> main.war
> projecta
> shared:1.0
> librarya
> projectb
> projectc
> shared:2.0
> libraryb
> From what I understand of dependency mediation shared:2.0 should be chosen in preference to shared:1.0, and hence libraryb should be included instead of librarya. Using the latest m2 the main.war WEB-INF/lib contains:
> projecta
> projectb
> projectc
> shared:2.0
> librarya
> libraryb
> Thus librarya is included when it shouldn't be.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-820) Over-zealous transitive dependencies during mediation
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-820?page=all ]
Brett Porter updated MNG-820:
-----------------------------
Fix Version: 2.0-beta-2
> Over-zealous transitive dependencies during mediation
> -----------------------------------------------------
>
> Key: MNG-820
> URL: http://jira.codehaus.org/browse/MNG-820
> Project: Maven 2
> Type: Bug
> Versions: 2.0-beta-1
> Environment: Windows XP, Cygwin
> Reporter: Mark Hobson
> Priority: Blocker
> Fix For: 2.0-beta-2
> Attachments: test.zip
>
>
> The attached zip sets up the following project hierarchy:
> main.war
> projecta
> shared:1.0
> librarya
> projectb
> projectc
> shared:2.0
> libraryb
> From what I understand of dependency mediation shared:2.0 should be chosen in preference to shared:1.0, and hence libraryb should be included instead of librarya. Using the latest m2 the main.war WEB-INF/lib contains:
> projecta
> projectb
> projectc
> shared:2.0
> librarya
> libraryb
> Thus librarya is included when it shouldn't be.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-820) Over-zealous transitive dependencies during mediation
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-820?page=all ]
Brett Porter updated MNG-820:
-----------------------------
Assign To: Brett Porter
Remaining Estimate: 2 hours
Original Estimate: 7200
> Over-zealous transitive dependencies during mediation
> -----------------------------------------------------
>
> Key: MNG-820
> URL: http://jira.codehaus.org/browse/MNG-820
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Versions: 2.0-beta-1
> Environment: Windows XP, Cygwin
> Reporter: Mark Hobson
> Assignee: Brett Porter
> Priority: Blocker
> Fix For: 2.0-beta-2
> Attachments: test.zip
>
> Original Estimate: 2 hours
> Remaining: 2 hours
>
> The attached zip sets up the following project hierarchy:
> main.war
> projecta
> shared:1.0
> librarya
> projectb
> projectc
> shared:2.0
> libraryb
> From what I understand of dependency mediation shared:2.0 should be chosen in preference to shared:1.0, and hence libraryb should be included instead of librarya. Using the latest m2 the main.war WEB-INF/lib contains:
> projecta
> projectb
> projectc
> shared:2.0
> librarya
> libraryb
> Thus librarya is included when it shouldn't be.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-820) Over-zealous transitive dependencies during mediation
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-820?page=all ]
Brett Porter closed MNG-820:
----------------------------
Resolution: Fixed
> Over-zealous transitive dependencies during mediation
> -----------------------------------------------------
>
> Key: MNG-820
> URL: http://jira.codehaus.org/browse/MNG-820
> Project: Maven 2
> Type: Bug
> Components: maven-artifact
> Versions: 2.0-beta-1
> Environment: Windows XP, Cygwin
> Reporter: Mark Hobson
> Assignee: Brett Porter
> Priority: Blocker
> Fix For: 2.0-beta-2
> Attachments: test.zip
>
> Original Estimate: 2 hours
> Time Spent: 2 hours
> Remaining: 0 minutes
>
> The attached zip sets up the following project hierarchy:
> main.war
> projecta
> shared:1.0
> librarya
> projectb
> projectc
> shared:2.0
> libraryb
> From what I understand of dependency mediation shared:2.0 should be chosen in preference to shared:1.0, and hence libraryb should be included instead of librarya. Using the latest m2 the main.war WEB-INF/lib contains:
> projecta
> projectb
> projectc
> shared:2.0
> librarya
> libraryb
> Thus librarya is included when it shouldn't be.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org