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

Cannot generate a jar since switching from 3.4.1 to 3.5.x

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.5.0, 3.5.1
    • 3.5.2
    • None

    Description

      Hi!

      I have a working build for the Apache Diretcory LDAP API project that worked pretty well until I tried to switch to maven shade plugin version 3.5.0/3.5.1.

      The error I get is

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.5.0:shade (default) on project api-all: Execution default of goal org.apache.maven.plugins:maven-shade-plugin:3.5.0:shade failed: For artifact {org.apache.directory.api:api-asn1-api:null:jar}: The version cannot be empty. -> [Help 1]
      

      The project's pom: https://repo.maven.apache.org/maven2/org/apache/directory/api/api-all/2.1.6/api-all-2.1.6.pom
      The parent's pom: https://repo.maven.apache.org/maven2/org/apache/directory/api/api-parent/2.1.6/api-parent-2.1.6.pom
      The parent's parent's pom, where the shade plugin version is declared: https://repo.maven.apache.org/maven2/org/apache/directory/project/project/48/project-48.pom

      Attachments

        Issue Links

          Activity

            People

              crazyhzm Zhongming Hua
              elecharny Emmanuel Lécharny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: