You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Attila Kelemen (Jira)" <ji...@apache.org> on 2024/09/25 20:33:00 UTC
[jira] [Created] (MNG-8266) maven-jar-plugin sometimes doesn't add MANIFEST.MF as 1st or 2nd entry
Attila Kelemen created MNG-8266:
-----------------------------------
Summary: maven-jar-plugin sometimes doesn't add MANIFEST.MF as 1st or 2nd entry
Key: MNG-8266
URL: https://issues.apache.org/jira/browse/MNG-8266
Project: Maven
Issue Type: Improvement
Components: build/consumer
Reporter: Attila Kelemen
In certain situations (not sure what is the exact condition required), the Maven jar plugin doesn't add the _MANIFEST.MF_ as the 1st or 2nd entry. This can be a problem (even though technically the spec doesn't have such a requirement), because such a jar file cannot be read with the core JDK class {{JarInputStream}}.
A project this can be reproduced with is JDBI. See the [https://github.com/jdbi/jdbi/issues/2698] for details.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)