GoogleCloudPlatform / GoogleCloudPlatform/cloud-opensource-java
Don't rely on internal MavenRepositorySystemUtils
- Linguagem predominante
- Java
- Estrelas
- 163
- Forks
- 80
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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
Guia de contribuição
Direção de pesquisa
No repository files or tests are named. Start by locating uses of the internal MavenRepositorySystemUtils and compare the MavenExecutionRequest plus DefaultRepositorySystemSessionFactory approach used by Eclipse m2e and LemMinX-Maven with the maven-repository-provisioner example. Done means the internal utility is no longer relied on and the resulting repository session behavior remains correct.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- build-system
- Tipo de issue
- Refatoração
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 30/100