[
https://issues.apache.org/jira/browse/MJAR-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957305#comment-17957305
]
Matthias Bünger commented on MJAR-239:
--------------------------------------
This project has moved from Jira to GitHub Issues. This issue was migrated to
[apache/maven-jar-plugin#168|https://github.com/apache/maven-jar-plugin/issues/168].
Please visit the GitHub issue to view further activity, add comments, or
subscribe to receive notifications.
> Class-Path order has changed is incorrect when adding ManifestEntries
> ---------------------------------------------------------------------
>
> Key: MJAR-239
> URL: https://issues.apache.org/jira/browse/MJAR-239
> Project: Maven JAR Plugin (Moved to GitHub Issues)
> Issue Type: Bug
> Affects Versions: 3.0.2
> Reporter: Roy Arnon
> Priority: Major
> Labels: up-for-grabs
> Fix For: waiting-for-feedback
>
> Attachments: MANIFEST-end.MF, MANIFEST-start.MF, test_case.zip
>
>
> It seems that in maven-jar-plugin 3.0.2 - that uses maven-archiver-3.11,
> which is where I think the bug is - the order of the added Class-Path entries
> in manifest file has changed between 3.0.1 (which added them to start of
> entries) and 3.0.2 (which adds them to bottom).
> I have attached a minimal test case to display this issue.
> There are 2 pom files - pom.xml generates the manifest with the entries at
> start, and pom-old.xml generates the manifest with the entries at the end.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)