Uploaded image for project: 'Maven Shade Plugin'
  1. Maven Shade Plugin
  2. MSHADE-425

Maven shade plugin build fails without 'clean' goal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • None

    Description

      This is the original issue: https://github.com/apache/pulsar/issues/17047

      And I found some similar reports from:

      It seems the maven shade plugin struggles when meta-inf service exists and running without a clean first.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.3.0:shade (default) on project pulsar-presto-connector-original: Error creating shaded jar: duplicate entry: META-INF/services/org.apache.pulsar.shade.org.glassfish.jersey.internal.inject.InjectionManagerFactory -> [Help 1]

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              tison Zili Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: