Open fortuna opened 6 years ago
This is what happens if I try com.google.cloud:google-cloud:0.8.0
instead of com.google.cloud:google-cloud-storage
:
com.google.cloud:google-cloud scope: compile
Sep 07, 2017 12:31:21 AM com.google.devtools.build.workspace.maven.DefaultModelResolver getEffectiveModel
WARNING: Unable to resolve Maven model from https://repo1.maven.org/maven2/com/google/cloud/google-cloud/0.8.0/google-cloud-0.8.0.pom: 3 problems were encountered while building the effective model for com.google.cloud:google-cloud:0.20.0-alpha
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-bigquery:jar must be a valid version but is '${beta.version}'. @
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-datastore:jar must be a valid version but is '${beta.version}'. @
[ERROR] 'dependencies.dependency.version' for com.google.cloud:google-cloud-logging:jar must be a valid version but is '${beta.version}'. @
FYI, this also happens with google-cloud-bigquery. I believe that's for any artifact for the new google cloud api. :-(
I tried the transitive_maven_jar
rule and it fails the same way.
Thanks for the post.
transitive_maven_jar
is simply a wrapper around generate_workspace
so it will fail in the same fashion as generate_workspace
. The original maintainer has left the project, and I have been away working on other projects.
As far as your first error, these are related to how google-cloud-storage-1.4.0.pom does not include the version number on some of its dependencies
<dependency>
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
<scope>test</scope>
</dependency>
I should get a fix out by end of week, early next week.
I'm getting this error when trying to fetch my dependencies when I include
com.google.cloud:google-cloud-storage
(pom.xml):This is my pom.xml file: