Fix mvn deploy
- Lenguaje dominante
- Java
- Estrellas
- 300
- Forks
- 230
- Merge medio
- 5 d 1 h
- PR fusionados (30 d)
- 5
Descripción
## Expected Behavior
mvn deploy does not show warnings:
```txt
Warning:
Warning: Some problems were encountered while building the effective model for io.dapr:dapr-sdk-autogen:jar:1.1.0
Warning: 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: io.grpc:grpc-stub:jar -> version (?) vs 1.33.1 @ line 50, column 17
Warning:
Warning: Some problems were encountered while building the effective model for io.dapr:dapr-sdk-springboot:jar:1.1.0
Warning: 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.springframework:spring-web:jar -> duplicate declaration of version 5.2.10.RELEASE @ line 92, column 17
Warning:
Warning: Some problems were encountered while building the effective model for io.dapr:dapr-sdk-examples:jar:1.1.0
Warning: 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 100, column 16
Warning: 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 175, column 15
Warning: 'build.plugins.plugin.version' for org.springframework.boot:spring-boot-maven-plugin is missing. @ line 190, column 15
Warning:
Warning: It is highly recommended to fix these problems because they threaten the stability of your build.
Warning:
Warning: For this reason, future Maven versions might no longer support building such malformed projects.
Warning:
```
## Actual Behavior
Warnings are shown.
## Steps to Reproduce the Problem
mvn -V -B -Dgpg.skip=false -s settings.xml deploy -pl \!examples
## Release Note
RELEASE NOTE:
Guía de contribución
Línea de trabajo
Inspecciona las declaraciones de Maven POM en los números de línea indicados para dapr-sdk-autogen, dapr-sdk-springboot y dapr-sdk-examples, incluidas las dependencias duplicadas y las versiones de plugins ausentes. Ejecuta `mvn -V -B -Dgpg.skip=false -s settings.xml deploy -pl \!examples`; terminado significa que este comando de deploy se completa sin las advertencias de modelo indicadas.
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
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100