On Mon, May 4, 2020 at 10:25 AM Mickael Istria <[hidden email]> wrote:
> If you need a RepositorySystemSession, best seems to be creatin a
> MavenExecutionRequest, and then
> This is what's used both by Eclipse m2e and LemMinX-Maven, with some
DefaultRepositorySystemSessionFactory is itself an internal class, so
that doesn't really resolve the issue.
I've looked into the code of the projects cited in this thread, and so
far they all seem to be relying on internal classes including
MavenRepositorySystemUtils. They just hide it a couple of levels
Right now Aether really don't seem to have a published (i.e.
non-internal) API for loading a Maven repository. This suggests we
might want to externalize, document, and commit to supporting the
MavenRepositorySystemUtils class. Either that or provide some
alternate mechanism for bootstrapping aether.