8000 mvn versions:set warns duplicate dependencies declaration · Issue #5536 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content

mvn versions:set warns duplicate dependencies declaration #5536

@suztomo

Description

@suztomo

(Because usually I don't need to run "mvn versions:set", this is not blocking me)

Environment details

Git HEAD

Steps to reproduce

Run mvn versions:set -DnextSnapshot=true -B at root directory

Code example

N/A

Stack trace

suztomo@suxtomo24:~/google-cloud-java/google-cloud-clients$ mvn versions:set -DnextSnapshot=true -B
[INFO] Scanning for projects...
[INFO] Downloading from google-maven-central: https://maven-central.storage-download.googleapis.com/repos/central/data/com/google/cloud/google-cloud-bom/0.97.0-alpha/google-cloud-bom-0.97.0-alpha.pom
[INFO] Downloaded from google-maven-central: https://maven-central.storage-download.googleapis.com/repos/central/data/com/google/cloud/google-cloud-bom/0.97.0-alpha/google-cloud-bom-0.97.0-alpha.pom (56 kB at 141 kB/s)
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.google.cloud:google-cloud-bigquerystorage:jar:0.97.0-beta
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.google.api:gax:jar -> duplicate declaration of version (?) @ line 88, column 21
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.google.api:gax-grpc:jar -> duplicate declaration of version (?) @ line 92, column 21
[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] 

External references such as API reference guides used

google-cloud-clients/google-cloud-bigquerystorage/pom.xml

image

Any additional information below

Metadata

Metadata

Labels

dependenciestype: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0