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

Wrong order of META-INF/ and META-INF/MANIFEST.MF entries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.2.1
    • None
    • None

    Description

      $ unzip -t target/it/manifest-content/target/manifest-content-1.0-SNAPSHOT.jar
      Archive:  target/it/manifest-content/target/manifest-content-1.0-SNAPSHOT.jar
          testing: META-INF/MANIFEST.MF     OK
          testing: META-INF/                OK
          testing: myproject/               OK
          testing: META-INF/maven/          OK
          testing: META-INF/maven/org.apache.maven.plugins/   OK
          testing: META-INF/maven/org.apache.maven.plugins/manifest-content/   OK
          testing: myproject/HelloWorld.class   OK
          testing: META-INF/maven/org.apache.maven.plugins/manifest-content/pom.xml   OK
          testing: META-INF/maven/org.apache.maven.plugins/manifest-content/pom.properties   OK
      No errors detected in compressed data of target/it/manifest-content/target/manifest-content-1.0-SNAPSHOT.jar.

      META-INF/ should be first

      see https://github.com/codehaus-plexus/plexus-archiver/pull/189

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              hboutemy Herve Boutemy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: