dapr / dapr/java-sdk

Fix mvn deploy

Aperta
#555 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/release-eng good first issue kind/bug P1 size/S triaged/resolved
Lingua principale
Java
Stelle
300
Fork
230
Merge medio
5g 1h
PR unite (30g)
5

Descrizione

## 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:

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.