Azure / Azure/azure-libraries-for-java
Maven scope in dependencyManagement
- Lenguaje dominante
- Java
- Estrellas
- 97
- Forks
- 102
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Currently the `commons-io` library is declared with a test scope in the `azure-parent` pom : https://github.com/Azure/azure-libraries-for-java/blob/master/pom.xml#L118
This just caused a rather hard to debug issue for one of my projects where another library used had `commons-io` as a compile dependency (not explicitly set at compile because it is the default), and importing the `azure-parent` "excluded" it, causing my project to fail at runtime.
Quick search shows it may not be a good idea to have scopes in ``, at least not "test" ([first answer I found on SO](https://stackoverflow.com/a/20750041)).
Would it be fair to remove the test scope from `` in `azure-parent`? I can provide the PR.
Guía de contribución
Línea de trabajo
Abre pom.xml alrededor de la línea 118 e inspecciona la declaración de commons-io bajo dependencyManagement. Confirma que se ha eliminado el scope test y verifica que el parent ya no sobrescribe commons-io como dependencia de test.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- build-system
- Tipo de issue
- Error
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 55/100