Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sschuberth opened this issue Dec 6, 2016 · 2 comments
Open

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

sschuberth opened this issue Dec 6, 2016 · 2 comments

Comments

@sschuberth
Copy link
Contributor

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().

@mguymon
Copy link
Owner

mguymon commented Oct 24, 2017

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.

@sschuberth
Copy link
Contributor Author

Whatever it takes! 😉

@sschuberth sschuberth changed the title Amend dependency information with a POM's scm tag Amend dependency information with a POM's <scm> tag Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants