Uploaded image for project: 'Maven JAR Plugin'
  1. Maven JAR Plugin
  2. MJAR-239

Class-Path order has changed is incorrect when adding ManifestEntries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.2
    • waiting-for-feedback
    • None

    Description

      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.

      Attachments

        1. test_case.zip
          4 kB
          Roy Arnon
        2. MANIFEST-end.MF
          0.2 kB
          Roy Arnon
        3. MANIFEST-start.MF
          0.2 kB
          Roy Arnon

        Activity

          People

            Unassigned Unassigned
            hellspam Roy Arnon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: