On Fri, May 7, 2021 at 8:31 AM Shahim Essaid <sha...@essaid.com> wrote:

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


I wrote this up some time ago, so some things have changed, but perhaps
parts of it will be useful for your purposes anyway:
https://lairdnelson.wordpress.com/2017/03/20/calling-maven-artifact-resolver-from-within-cdi-2-0/

Best,
Laird

Reply via email to