GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java

Don't rely on internal MavenRepositorySystemUtils

未关闭
#1,386 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。