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 2023/04/23 06:42:00 UTC

[jira] [Comment Edited] (MASSEMBLY-986) Minimal default Manifest should be used by jar archiver

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

Michael Osipov edited comment on MASSEMBLY-986 at 4/23/23 6:41 AM:
-------------------------------------------------------------------

I don't think so, you use the same Maven Assembly Plugin version P-A will not change, it is stable. Empty manifest isn't possible because the {{Manifest-Version}} is mandatory as per JAR spec.

What is your expectation?


was (Author: michael-o):
I don't think so, you use the same Maven Assembly Plugin version P-A will not change, it is stable. Empty manifest isn't possible because the {{Manifest-Version}} is mandatory as per JAR spec.

> Minimal default Manifest should be used by jar archiver
> -------------------------------------------------------
>
>                 Key: MASSEMBLY-986
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-986
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>            Reporter: Slawomir Jaranowski
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 3.5.1
>
>
> When we configure plugin with:
> {code}
> <archive>
>   <manifest>
>     <addDefaultEntries>false</addDefaultEntries>
>    </manifest>
> </archive>
> {code}
> We expect that empty Manifest will be used - but we have:
> {code}
> Manifest-Version: 1.0
> Created-By: Plexus Archiver 4.6.0
> {code}
> Manifest content depends on version of Plexus Archiver and in such case can break reproducible build.



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