Ah! After some more bashing around in Github and Maven central searching, I found this: https://github.com/apache/maven/blob/master/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemUtils.java
This looks like the replacement for this: https://maven.apache.org/ref/3.3.9/maven-aether-provider/apidocs/org/apache/maven/repository/internal/MavenRepositorySystemUtils.html ...which suggests to me that maven-resolver-provider is the replacement for maven-aether-provider going forward. If so, I see that the only release of this is 3.5.0-alpha-1 ( http://search.maven.org/#artifactdetails%7Corg.apache.maven%7Cmaven-resolver-provider%7C3.5.0-alpha-1%7Cjar ). Am I on the right track with all this? Should I follow the general spirit of this ( https://github.com/eclipse/aether-demo/tree/master/aether-demo-snippets/src/main/java/org/eclipse/aether/examples), but squinting and making these replacements along the way? Thanks, Laird On Mon, Mar 6, 2017 at 2:31 PM Laird Nelson <ljnel...@gmail.com> wrote: > On Mon, Mar 6, 2017 at 2:20 PM Laird Nelson <ljnel...@gmail.com> wrote: > > 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." > > > I also notice that the ArtifactDescriptorReader interface is effectively > deprecated > <https://maven.apache.org/resolver/maven-resolver-impl/apidocs/org/eclipse/aether/impl/ArtifactDescriptorReader.html>: > "This type is provisional and can be changed, moved or removed without > prior notice." So that makes me wonder if perhaps I should not be using > the DefaultServiceLocator that says that its usage is required > <https://maven.apache.org/resolver/maven-resolver-impl/apidocs/org/eclipse/aether/impl/DefaultServiceLocator.html>? > If indeed I shouldn't use this class either, then is there an example > somewhere of how to manually assemble a RepositorySystem out of existing > spare parts? > > Best, > Laird >