Duplicate definitions of dependency in the pom.xml file is causing the failure while running bigtable test. #3579
Labels
api: bigtable
Issues related to the Bigtable API.
dependencies
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
https://github.com/GoogleCloudPlatform/google-cloud-java/blob/master/google-cloud-clients/google-cloud-bigtable/pom.xml#L44
Duplicate definitions of dependency in the pom.xml file is causing the failure. (grpc-google-cloud-bigtable-admin-v2)
$ mvn verify -am -pl google-cloud-bigtable -Dbigtable.env=prod -Dbigtable.table=projects/PROJECT_ID/instances/INSTANCE_ID/tables/my-table
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:jar -> duplicate declaration of version (?) @ line 73, column 17
[ERROR] Non-resolvable import POM: Could not find artifact com.google.cloud:google-cloud-bom:pom:0.58.1-alpha-SNAPSHOT @ com.google.cloud:google-cloud-clients:0.58.1-alpha-SNAPSHOT, /home/suhasm/google-cloud-java/google-cloud-clients/pom.xml, line 174, column 19
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-core:jar is missing. @ line 21, column 17
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-core-grpc:jar is missing. @ line 25, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api.grpc:proto-google-cloud-bigtable-v2:jar is missing. @ line 29, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api.grpc:grpc-google-cloud-bigtable-v2:jar is missing. @ line 33, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:jar is missing. @ line 38, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:jar is missing. @ line 73, column 17
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-core:test-jar is missing. @ line 67, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api:gax-grpc:jar:testlib is missing. @ line 93, column 17
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project com.google.cloud:google-cloud-bigtable:0.58.1-alpha-SNAPSHOT (/home/suhasm/google-cloud-java/google-cloud-clients/google-cloud-bigtable/pom.xml) has 9 errors
[ERROR] Non-resolvable import POM: Could not find artifact com.google.cloud:google-cloud-bom:pom:0.58.1-alpha-SNAPSHOT @ com.google.cloud:google-cloud-clients:0.58.1-alpha-SNAPSHOT, /home/suhasm/google-cloud-java/google-cloud-clients/pom.xml, line 174, column 19 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-core:jar is missing. @ line 21, column 17
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-core-grpc:jar is missing. @ line 25, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api.grpc:proto-google-cloud-bigtable-v2:jar is missing. @ line 29, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api.grpc:grpc-google-cloud-bigtable-v2:jar is missing. @ line 33, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api.grpc:proto-google-cloud-bigtable-admin-v2:jar is missing. @ line 38, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api.grpc:grpc-google-cloud-bigtable-admin-v2:jar is missing. @ line 73, column 17
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-core:test-jar is missing. @ line 67, column 17
[ERROR] 'dependencies.dependency.version' for com.google.api:gax-grpc:jar:testlib is missing. @ line 93, column 17
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
The text was updated successfully, but these errors were encountered: