jira-importer opened a new issue, #197:
URL: https://github.com/apache/maven-ear-plugin/issues/197

   **[Piotr 
Zygielo](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pzygielo)**
 opened 
**[MEAR-322](https://issues.apache.org/jira/browse/MEAR-322?redirect=false)** 
and commented
   
   After m-ear-p upgrade from 3.2.0 to 3.3.0, ear produced by plugin contains 
invalid entry. That causes jar tool to error with
   
   > java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor
   >   at 
java.base/java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:313)
   >   at 
java.base/java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:125)
   >   at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1360)
   >   at jdk.jartool/sun.tools.jar.Main.run(Main.java:409)
   >   at jdk.jartool/sun.tools.jar.Main.main(Main.java:1680)
   
   Seems to be connected to setting `archive/compress=false` in the original 
jar project (original project - valid at its origin, becomes invalid part of 
ear).
   
   07a84983809b4ec416b1330412bbd83844a88a44 is the first bad commit
   
    
   
    
   
   Reproducer: https://github.com/pzrep/MEAR-322
   and its failure: https://github.com/pzrep/MEAR-322/actions/runs/3306348660
   
    
   
   
   ---
   
   **Affects:** 3.3.0
   
   **Remote Links:**
   - [GitHub Pull Request #80
   ](https://github.com/apache/maven-ear-plugin/pull/80)
   - [JDK-8229887
   ](https://bugs.openjdk.org/browse/JDK-8229887)
   - [JDK-8143613
   ](https://bugs.openjdk.org/browse/JDK-8143613)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to