Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20904

Maven enforce goal dependency-convergence failed on flink-avro-glue-schema-registry

    XMLWordPrintableJSON

Details

    Description

      I'm creating a pull request to add integration with AWS Glue Schema Registry, more details of this new feature can be found here https://issues.apache.org/jira/browse/FLINK-19667

      The package can build successfully locally and pass end to end test. But the new added module compiling failed in CI. See more https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=11770&view=logs&j=52b61abe-a3cc-5bde-cc35-1bbe89bb7df5&t=54421a62-0c80-5aad-3319-094ff69180bb

      How can replicate this issue on my local environment and fix it?

      [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (dependency-convergence) @ flink-avro-glue-schema-registry ---
      [WARNING] 
      Dependency convergence error for software.amazon.awssdk:http-client-spi:2.15.32 paths to dependency are:
      +-org.apache.flink:flink-avro-glue-schema-registry:1.13-SNAPSHOT
        +-software.amazon.glue:schema-registry-serde:1.0.0
          +-software.amazon.glue:schema-registry-common:1.0.0
            +-software.amazon.awssdk:glue:2.15.32
              +-software.amazon.awssdk:protocol-core:2.15.32
                +-software.amazon.awssdk:http-client-spi:2.15.32
      and
      +-org.apache.flink:flink-avro-glue-schema-registry:1.13-SNAPSHOT
        +-software.amazon.glue:schema-registry-serde:1.0.0
          +-software.amazon.glue:schema-registry-common:1.0.0
            +-software.amazon.awssdk:glue:2.15.32
              +-software.amazon.awssdk:auth:2.15.32
                +-software.amazon.awssdk:http-client-spi:2.15.32
      and
      +-org.apache.flink:flink-avro-glue-schema-registry:1.13-SNAPSHOT
        +-software.amazon.glue:schema-registry-serde:1.0.0
          +-software.amazon.glue:schema-registry-common:1.0.0
            +-software.amazon.awssdk:glue:2.15.32
              +-software.amazon.awssdk:http-client-spi:2.15.32
      and
      +-org.apache.flink:flink-avro-glue-schema-registry:1.13-SNAPSHOT
        +-software.amazon.glue:schema-registry-serde:1.0.0
          +-software.amazon.glue:schema-registry-common:1.0.0
            +-software.amazon.awssdk:glue:2.15.32
              +-software.amazon.awssdk:aws-core:2.15.32
                +-software.amazon.awssdk:http-client-spi:2.15.32
      and
      +-org.apache.flink:flink-avro-glue-schema-registry:1.13-SNAPSHOT
        +-software.amazon.glue:schema-registry-serde:1.0.0
          +-software.amazon.glue:schema-registry-common:1.0.0
            +-software.amazon.awssdk:glue:2.15.32
              +-software.amazon.awssdk:apache-client:2.15.32
                +-software.amazon.awssdk:http-client-spi:2.15.32
      and
      +-org.apache.flink:flink-avro-glue-schema-registry:1.13-SNAPSHOT
        +-software.amazon.glue:schema-registry-serde:1.0.0
          +-software.amazon.glue:schema-registry-common:1.0.0
            +-software.amazon.awssdk:glue:2.15.32
              +-software.amazon.awssdk:netty-nio-client:2.15.32
                +-software.amazon.awssdk:http-client-spi:2.15.32
      and
      +-org.apache.flink:flink-avro-glue-schema-registry:1.13-SNAPSHOT
        +-software.amazon.glue:schema-registry-serde:1.0.0
          +-software.amazon.glue:schema-registry-common:1.0.0
            +-software.amazon.awssdk:cloudwatch:2.15.30
              +-software.amazon.awssdk:aws-query-protocol:2.15.30
                +-software.amazon.awssdk:http-client-spi:2.15.30
      ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            linyu Linyu Yao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: