naether icon indicating copy to clipboard operation
naether copied to clipboard

Amend dependency information with a POM's <scm> tag

Open sschuberth opened this issue 9 years ago • 2 comments

When reading a dependency's POM, I'm often interested in the SCM tag to learn about the upstream repository. I wonder if you think it's feasible to extend from org.sonatype.aether.graph.Dependency in order to amend it with more meta-data, like the aforementioned SCM tag, and return that from Naether.getDependencies().

sschuberth avatar Dec 06 '16 14:12 sschuberth

The issue is Aether does not expose that as part of the resolution of dependencies. It works with and exposes the basic artifact notation in resolution, which gets exported by the Dependency.

One option would be to allow for a lookup of meta data after Aether runs, to add meta data.

mguymon avatar Oct 24 '17 15:10 mguymon

Whatever it takes! 😉

sschuberth avatar Oct 24 '17 15:10 sschuberth