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

mvn package verify fails with "Error creating shaded jar: duplicate entry"

    XMLWordPrintableJSON

Details

    Description

      mvn package verify fails with

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (shade-flink) on project flink-table-store-dist: Error creating shaded jar: duplicate entry: META-INF/services/org.apache.flink.table.store.shaded.org.apache.kafka.common.config.provider.ConfigProvider -> [Help 1]
      

      The fix is to update maven-shade-plugin version to 3.4.1.

      Attachments

        Issue Links

          Activity

            People

              Gerrrr Alex Sorokoumov
              Gerrrr Alex Sorokoumov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: