GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java
Don't rely on internal MavenRepositorySystemUtils
Open
p3
Tech Debt
- Dominant language
- Java
- Stars
- 163
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
Option 1: If you need a RepositorySystemSession, best seems to be creating a
MavenExecutionRequest, and then `container.lookup(DefaultRepositorySystemSessionFactory.class).newRepositorySession(mavenRequest)`. This is what's used both by Eclipse m2e and LemMinX-Maven
Option 2: see how
https://github.com/simpligility/maven-repository-tools/tree/master/maven-repository-provisioner
does it
Contributor guide
Assessment
This issue has not been assessed yet.