Formerly Aether, now Maven Artifact Resolver--documentation?
Hello; I'd like to use the Maven Artifact Resolver project (
https://maven.apache.org/resolver/), which, as I understand it, is where
the original Maven dependency resolution code finally ended up after a long
detour through two different companies' attempts to break it off as the
Aether project (Sonatype Aether, Eclipse Aether).
"To acquire a complete repository system, clients need to add an artifact
descriptor reader, a version resolver, a version range resolver and
optionally some repository connector and transporter factories to access
Let's say I wanted to make this behave exactly like Maven (i.e. I'd like to
read and work with the local Maven repository cache, etc.), but ultimately
I'm using it to resolve group/artifact/version/packaging/classifier
specifications from something like a command line application. What
implementations drawn from what Maven-authored projects would I use here?
Do the other submodules listed here (
https://maven.apache.org/resolver/index.html) contain the implementations
described by the Javadocs I cited? Is there anything missing? I see
several (presumably) transporter factories in there—would I pick one, or
add all of them?
I have seen this Github repository (https://github.com/eclipse/aether-demo/)
but of course it is for
and the Maven-related classes it references are not written to work with
the Maven Artifact Resolver project so I'm not sure how valid the approach
shown here is anymore.
> The Javadocs for it say, among other things:
> "To acquire a complete repository system, clients need to add an artifact
> descriptor reader, a version resolver, a version range resolver and
> optionally some repository connector and transporter factories to access
> remote repositories."