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/01/05 17:57:00 UTC

[jira] [Commented] (MJAR-239) Class-Path order has changed is incorrect when adding ManifestEntries

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

Michael Osipov commented on MJAR-239:
-------------------------------------

Is this still a problem?

> 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
>          Issue Type: Bug
>    Affects Versions: 3.0.2
>            Reporter: Roy Arnon
>            Priority: Major
>             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.1#820001)