You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/10/17 21:08:00 UTC

[jira] [Closed] (MSHADE-429) This plugin causes my compiled JAR file to be corrupted/not runnable

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

Michael Osipov closed MSHADE-429.
---------------------------------
    Resolution: Invalid

I consider this as invalid:
* You JAR has never been executable, it misses the {{Main-Class}} manifest entry
* You have excluded {{META-INF/}}, of course necessary bits are gone.

> This plugin causes my compiled JAR file to be corrupted/not runnable
> --------------------------------------------------------------------
>
>                 Key: MSHADE-429
>                 URL: https://issues.apache.org/jira/browse/MSHADE-429
>             Project: Maven Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 3.4.0
>            Reporter: Nathaniel Rowe
>            Priority: Major
>         Attachments: testproject.zip
>
>
> Attached is a sample maven project. It uses a set of dependencies that I copied over from another project. The jar file this project produces can be found under the "target" folder in the project. Running it, you can see that the generated jar file fails.
> My only goal is to take this project and produce an executable jar file that doesn't give me an "Invalid signature file digest" error. I'm told this plugin is theĀ _only_ way to compile a JAR file with signed dependencies in IntelliJ.



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