I found the following in the maven-provider artifact: org.apache.maven.repository.internal.MavenRepositorySystemUtils.newSession()
that is documented to configure a session for Maven like resolution and dependency graph handling. Is this all that is needed or do I need to perform further configuration? I also figured out the transport connectors and other services to be able to perform repository operations. On 2021/05/07 05:08:56, Shahim Essaid <s...@essaid.com> wrote: > Hi all,> > > I'm getting familiar with using the Maven/Aether resolver API outside the> > Maven build environment. I need help understanding what additional steps> > are needed to process the dependency graph obtained from:> > > org.eclipse.aether.RepositorySystem.resolveDependencies(...)> > > to be able to have the same resolution of the dependency as it is done> > during a maven build.> > > I'm working on some tooling that will be run inside a Maven project build> > (by a plugin) and outside a maven build and I need the tooling to be able> > to consume exactly the same dependency graph and artifacts.> > > I'm assuming I can get the same results by using the "maven-resolver" API> > and won't need additional "maven-core" APIs. Is that correct? If not, what> > else is needed?> > > Any hints will be much appreciated and thank you in advance.> > > Shahim> >