You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2024/03/05 17:44:00 UTC

[jira] [Closed] (MSHADE-469) Cannot generate a jar since switching from 3.4.1 to 3.5.x

     [ https://issues.apache.org/jira/browse/MSHADE-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lécharny closed MSHADE-469.
------------------------------------

> Cannot generate a jar since switching from 3.4.1 to 3.5.x
> ---------------------------------------------------------
>
>                 Key: MSHADE-469
>                 URL: https://issues.apache.org/jira/browse/MSHADE-469
>             Project: Maven Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 3.5.0, 3.5.1
>            Reporter: Emmanuel Lécharny
>            Assignee: Zhongming Hua
>            Priority: Major
>             Fix For: 3.5.2
>
>
> 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
> {noformat}
> [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]
> {noformat}
> 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|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|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|https://repo.maven.apache.org/maven2/org/apache/directory/project/project/48/project-48.pom]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)