Fix mvn deploy
- Dominant language
- Java
- Stars
- 300
- Forks
- 230
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 4
Description
## 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:
Contributor guide
Assessment
This issue has not been assessed yet.