Herve Boutemy created MJAR-281:
----------------------------------

             Summary: wrong order of META-INF/ and META-INF/MANIFEST.MF entries
                 Key: MJAR-281
                 URL: https://issues.apache.org/jira/browse/MJAR-281
             Project: Maven JAR Plugin
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: Herve Boutemy
             Fix For: 3.2.1


{noformat}$ 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.{noformat}

{{META-INF/}} should be first

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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to