Re: [PROPOSAL] M2 Dependency Resolution Improvements

2006-03-03 Thread Garrett Conaty
John, Thanks for the feedback. My responses are now inline: On Mar 3, 2006, at 7:57 AM, John Casey wrote: Comments inline. Cheers, John Garrett Conaty wrote: I've been working quite a bit with Maven2 transitive dependencies at work, and think that they're one of the best stren

[PROPOSAL] M2 Dependency Resolution Improvements

2006-03-02 Thread Garrett Conaty
I've been working quite a bit with Maven2 transitive dependencies at work, and think that they're one of the best strengths of M2. In the course of building quite a number of artifacts through build, deployment, and update I've found that there are number of improvements that can be made.

Repo selection [Was: JIRA MNG-2098]

2006-02-21 Thread Garrett Conaty
Thought it was appropriate to bring my comments out of the jira issue for discussion on the list. Basically, I want to work on a more elegant fix for this issue but am requesting some community guidance. Specifically for the issue: 1) Should the DefaultArtifactResolver really use artifa

[jira] Created: (MNG-2098) Artifact resolver incorrectly selects repository which doesn't contain the selected version

2006-02-21 Thread Garrett Conaty (JIRA)
Type: Bug Components: Artifacts and Repositories Versions: 2.0.2 Reporter: Garrett Conaty Attachments: MNG-2098.simplefix.diff, pom.xml The current logic for resolution of an artifact which has groupId/artifactId and then a range is for the DefaultArtifactCollector to

[jira] Updated: (MNG-2098) Artifact resolver incorrectly selects repository which doesn't contain the selected version

2006-02-21 Thread Garrett Conaty (JIRA)
[ http://jira.codehaus.org/browse/MNG-2098?page=all ] Garrett Conaty updated MNG-2098: Attachment: MNG-2098.simplefix.diff > Artifact resolver incorrectly selects repository which doesn't contain the > selec

[jira] Created: (MNG-1512) Pass Ant properties for resolved dependency JARs

2005-11-10 Thread Garrett Conaty (JIRA)
: Garrett Conaty Priority: Minor Fix For: 2.0.1 Attachments: maven-artifact-ant.diff Currently the dependencies tasks gives a path and a fileset, but in some cases the Ant file may want to know the resolved dependencies by name. This simple patch sets an ant property based of the artifact

[jira] Updated: (MNG-1466) Ant dependencies task does not work with multiple repositories

2005-11-10 Thread Garrett Conaty (JIRA)
[ http://jira.codehaus.org/browse/MNG-1466?page=all ] Garrett Conaty updated MNG-1466: Attachment: id2.diff This patch is based on an IRC conversation w/ jdcasey and replaces the previous patch (id.diff). This patch requires all repositories to have

[jira] Updated: (MNG-1207) Recursive dependencies with exclusive bounds fail

2005-10-16 Thread Garrett Conaty (JIRA)
[ http://jira.codehaus.org/browse/MNG-1207?page=all ] Garrett Conaty updated MNG-1207: Attachment: MNG-1207.diff Turns out the bug is when the collector tries to restrict versions from looking at previous artifacts of the same kind. It then restricts

[jira] Created: (MNG-1207) Recursive dependencies with exclusive bounds fail

2005-10-14 Thread Garrett Conaty (JIRA)
Recursive dependencies with exclusive bounds fail - Key: MNG-1207 URL: http://jira.codehaus.org/browse/MNG-1207 Project: Maven 2 Type: Bug Components: maven-artifact Versions: 2.0 (RC) Reporter: Garrett

[jira] Created: (MNG-1208) VersionRange.getSelectedVersion returns upper bound even if exclusive

2005-10-14 Thread Garrett Conaty (JIRA)
Versions: 2.0 Reporter: Garrett Conaty Found while searching for MNG-1207 a call to VersionRange.getSelectedVersion() will return the upper bound even if the upper bound is exclusive. (and isSelectedVersionKnown would return false). This method should throw an exception if the