[ https://issues.apache.org/jira/browse/MEAR-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Zygielo updated MEAR-322: ------------------------------- Description: 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 {quote}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){quote} 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). This happens for original project with {{packaging=clojure}} in my case. 07a84983809b4ec416b1330412bbd83844a88a44 is the first bad commit was: After m-ear-p upgrade from 3.2.0 to 3.3.0, this {quote}Exception while deploying the app: java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor {quote} is reported when deployed to Payara 5.2022.3. At this moment I'm not sure if this is fault of plugin, payara or the project. But the plugin upgrade is the only change done. Seems to be connected to setting {{archive/compress=false}} in the ear (or module) project. 07a84983809b4ec416b1330412bbd83844a88a44 is the first bad commit > Module repackaged as invalid archive > ------------------------------------ > > Key: MEAR-322 > URL: https://issues.apache.org/jira/browse/MEAR-322 > Project: Maven EAR Plugin > Issue Type: Bug > Affects Versions: 3.3.0 > Reporter: Piotr Zygielo > Priority: Major > > 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 > {quote}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){quote} > 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). > This happens for original project with {{packaging=clojure}} in my case. > 07a84983809b4ec416b1330412bbd83844a88a44 is the first bad commit -- This message was sent by Atlassian Jira (v8.20.10#820010)