GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java
Don't rely on internal MavenRepositorySystemUtils
未关闭
p3
Tech Debt
- 主要语言
- Java
- 星标
- 163
- 派生
- 80
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
贡献指南
评估
这个 Issue 还没有评估数据。