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 摘要。