[ 
https://issues.apache.org/jira/browse/MSHADE-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17818665#comment-17818665
 ] 

Zhongming Hua commented on MSHADE-469:
--------------------------------------

[~elecharny] 

This bug has been fixed in 3.5.2, please wait until 3.5.2 is released to use it.

> 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
>            Priority: Major
>
> 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)

Reply via email to