Issue Details (XML | Word | Printable)

Key: MNG-2513
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Brian Fox
Reporter: Jason Dillon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2

ArtifactResolver.resolveTransitively() is not working

Created: 17/Aug/06 08:56 PM   Updated: 03/Jul/08 07:06 PM
Component/s: Artifacts and Repositories
Affects Version/s: 2.0.4, 2.0.5
Fix Version/s: 2.0.11

Time Tracking:
Not Specified

Complexity: Intermediate


 Description  « Hide
I've got a plugin which is basically doing the same thing that the dependency plugin is, defining artifactItem elements in a configuration, which provide he details for a maven artifact. The version details are filled in just like the dependency plugin.

Problem is that I need to take each of those artifactItems and get the transitive dependencies for them... but so far all of my attempts to do so with ArtifactResolver.resolveTransitively() is not working.

Should be easy enough to test, just create a new artifact that you know has deps with a ArtifactFactory, then try to get the transitive dependencies.

Everytime I try I get an empty set from result.getArtifacts().



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Brian Fox added a comment - 05/Mar/08 09:09 PM
i saw this recently and will need to fix also

John Casey added a comment - 03/Jul/08 07:06 PM
Pushing to 2.0.11 so we can have a smaller set of high-value issues to target for the next release (2.0.10).