Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different google-cloud-java artifacts depends on different versions of the libraries, breaking build any enforcer projects #1803

Closed
emmanuelbernard opened this issue Mar 23, 2017 · 3 comments
Assignees

Comments

@emmanuelbernard
Copy link

emmanuelbernard commented Mar 23, 2017

Hey,

I'm winged by @glaforge on having a Hibernate OGM dialect. Here is the error I get from an enforcer based maven module (we use enforcer because I'm told it's the right thing to do :) ).

The module dependency definition is

 <dependency>
            <groupId>com.google.cloud</groupId>
            <artifactId>google-cloud-spanner</artifactId>
            <version>0.10.0-beta</version>
            <exclusions>
                <exclusion>
                    <groupId>com.google.guava</groupId>
                    <artifactId>guava-jdk5</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.google.guava</groupId>
                    <artifactId>guava</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>com.google.api-client</groupId>
                    <artifactId>google-api-client-appengine</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
emmanuel@emmanuel-mbp-15rb spanner (master *) $ mvn clean install
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Scanning for projects...

------------------------------------------------------------------------
Building Hibernate OGM for Spanner 5.2.0-SNAPSHOT
------------------------------------------------------------------------

--- maven-clean-plugin:3.0.0:clean (default-clean) @ hibernate-ogm-spanner ---
Deleting /Users/emmanuel/Code/ogm/spanner/target

--- buildnumber-maven-plugin:1.4:create (default) @ hibernate-ogm-spanner ---
Executing: /bin/sh -c cd '/Users/emmanuel/Code/ogm/spanner' && 'git' 'rev-parse' '--verify' 'HEAD'
Working directory: /Users/emmanuel/Code/ogm/spanner
Storing buildNumber: 299f590dcd4842e4dd332274804e22fb842951f2 at timestamp: 1490302608539
Storing buildScmBranch: master

--- maven-enforcer-plugin:1.4.1:enforce (enforce-rules) @ hibernate-ogm-spanner ---

Dependency convergence error for com.google.auto.value:auto-value:1.1 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.api:api-common:0.0.2
        +-com.google.auto.value:auto-value:1.1
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-com.google.auto.value:auto-value:1.2


Dependency convergence error for com.google.code.findbugs:jsr305:1.3.9 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.http-client:google-http-client:1.21.0
        +-com.google.code.findbugs:jsr305:1.3.9
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.oauth-client:google-oauth-client:1.21.0
        +-com.google.code.findbugs:jsr305:1.3.9
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.api:api-common:0.0.2
        +-com.google.code.findbugs:jsr305:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-io.grpc:grpc-netty:1.0.3
      +-io.grpc:grpc-core:1.0.3
        +-com.google.code.findbugs:jsr305:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-com.google.code.findbugs:jsr305:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.code.findbugs:jsr305:3.0.0


Dependency convergence error for com.google.protobuf:protobuf-java:3.0.0 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-io.grpc:grpc-protobuf:1.0.3
        +-com.google.protobuf:protobuf-java:3.0.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.api.grpc:grpc-google-common-protos:0.1.5
        +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.api.grpc:grpc-google-iam-v1:0.1.5
        +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:0.1.5
      +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:0.1.5
      +-com.google.protobuf:protobuf-java:3.0.0


Dependency convergence error for com.google.protobuf:protobuf-java-util:3.0.2 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-io.grpc:grpc-protobuf:1.0.3
        +-com.google.protobuf:protobuf-java-util:3.0.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.protobuf:protobuf-java-util:3.0.0


Dependency convergence error for com.google.api.grpc:grpc-google-common-protos:0.1.5 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.api.grpc:grpc-google-common-protos:0.1.5
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.api.grpc:grpc-google-iam-v1:0.1.5
        +-com.google.api.grpc:grpc-google-common-protos:0.1.5
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.api.grpc:grpc-google-common-protos:0.1.6
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:0.1.5
      +-com.google.api.grpc:grpc-google-common-protos:0.1.6
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:0.1.5
      +-com.google.api.grpc:grpc-google-common-protos:0.1.6
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-com.google.api.grpc:grpc-google-common-protos:0.1.6


Dependency convergence error for com.google.oauth-client:google-oauth-client:1.21.0 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.oauth-client:google-oauth-client:1.21.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api-client:google-api-client:1.20.0
      +-com.google.oauth-client:google-oauth-client:1.20.0


Dependency convergence error for joda-time:joda-time:2.9.2 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-joda-time:joda-time:2.9.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.api:api-common:0.0.2
        +-joda-time:joda-time:2.8.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-joda-time:joda-time:2.8.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-joda-time:joda-time:2.9.2


Dependency convergence error for com.google.auth:google-auth-library-credentials:0.6.0 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.auth:google-auth-library-credentials:0.6.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-io.grpc:grpc-auth:1.0.3
      +-com.google.auth:google-auth-library-credentials:0.4.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.auth:google-auth-library-credentials:0.4.0


Dependency convergence error for com.google.auth:google-auth-library-oauth2-http:0.6.0 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.auth:google-auth-library-oauth2-http:0.6.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-com.google.auth:google-auth-library-oauth2-http:0.4.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.auth:google-auth-library-oauth2-http:0.4.0

Rule 1: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for com.google.auto.value:auto-value:1.1 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.api:api-common:0.0.2
        +-com.google.auto.value:auto-value:1.1
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-com.google.auto.value:auto-value:1.2
,
Dependency convergence error for com.google.code.findbugs:jsr305:1.3.9 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.http-client:google-http-client:1.21.0
        +-com.google.code.findbugs:jsr305:1.3.9
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.oauth-client:google-oauth-client:1.21.0
        +-com.google.code.findbugs:jsr305:1.3.9
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.api:api-common:0.0.2
        +-com.google.code.findbugs:jsr305:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-io.grpc:grpc-netty:1.0.3
      +-io.grpc:grpc-core:1.0.3
        +-com.google.code.findbugs:jsr305:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-com.google.code.findbugs:jsr305:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.code.findbugs:jsr305:3.0.0
,
Dependency convergence error for com.google.protobuf:protobuf-java:3.0.0 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-io.grpc:grpc-protobuf:1.0.3
        +-com.google.protobuf:protobuf-java:3.0.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.api.grpc:grpc-google-common-protos:0.1.5
        +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.api.grpc:grpc-google-iam-v1:0.1.5
        +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:0.1.5
      +-com.google.protobuf:protobuf-java:3.0.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:0.1.5
      +-com.google.protobuf:protobuf-java:3.0.0
,
Dependency convergence error for com.google.protobuf:protobuf-java-util:3.0.2 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-io.grpc:grpc-protobuf:1.0.3
        +-com.google.protobuf:protobuf-java-util:3.0.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.protobuf:protobuf-java-util:3.0.0
,
Dependency convergence error for com.google.api.grpc:grpc-google-common-protos:0.1.5 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.api.grpc:grpc-google-common-protos:0.1.5
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.api.grpc:grpc-google-iam-v1:0.1.5
        +-com.google.api.grpc:grpc-google-common-protos:0.1.5
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.api.grpc:grpc-google-common-protos:0.1.6
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-admin-database-v1:0.1.5
      +-com.google.api.grpc:grpc-google-common-protos:0.1.6
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-admin-instance-v1:0.1.5
      +-com.google.api.grpc:grpc-google-common-protos:0.1.6
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-com.google.api.grpc:grpc-google-common-protos:0.1.6
,
Dependency convergence error for com.google.oauth-client:google-oauth-client:1.21.0 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.oauth-client:google-oauth-client:1.21.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api-client:google-api-client:1.20.0
      +-com.google.oauth-client:google-oauth-client:1.20.0
,
Dependency convergence error for joda-time:joda-time:2.9.2 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-joda-time:joda-time:2.9.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api.grpc:grpc-google-cloud-spanner-v1:0.1.5
      +-com.google.api:api-common:0.0.2
        +-joda-time:joda-time:2.8.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-joda-time:joda-time:2.8.2
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-joda-time:joda-time:2.9.2
,
Dependency convergence error for com.google.auth:google-auth-library-credentials:0.6.0 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.auth:google-auth-library-credentials:0.6.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-io.grpc:grpc-auth:1.0.3
      +-com.google.auth:google-auth-library-credentials:0.4.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.auth:google-auth-library-credentials:0.4.0
,
Dependency convergence error for com.google.auth:google-auth-library-oauth2-http:0.6.0 paths to dependency are:
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.cloud:google-cloud-core:0.10.0-alpha
      +-com.google.auth:google-auth-library-oauth2-http:0.6.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.api:gax:0.4.0
      +-com.google.auth:google-auth-library-oauth2-http:0.4.0
and
+-org.hibernate.ogm:hibernate-ogm-spanner:5.2.0-SNAPSHOT
  +-com.google.cloud:google-cloud-spanner:0.10.0-beta
    +-com.google.auth:google-auth-library-oauth2-http:0.4.0
]
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 2.487 s
Finished at: 2017-03-23T13:56:49-07:00
Final Memory: 20M/318M
------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-rules) on project hibernate-ogm-spanner: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1]
[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/MojoExecutionException
@emmanuelbernard
Copy link
Author

Also CCing @saturnism

@garrettjonesgoogle
Copy link
Member

Someone submitted a PR to address this issue: #1659 , but I haven't gotten a chance to look at integrating it yet.

@lesv
Copy link
Contributor

lesv commented Mar 23, 2017

Garrett and I talked about this getting fixed before GA a few weeks ago. @ludoch asked for it to block as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants