naether
naether copied to clipboard
Amend dependency information with a POM's <scm> tag
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().
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.
Whatever it takes! 😉