[ 
https://issues.apache.org/jira/browse/MTOOLCHAINS-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446128#comment-17446128
 ] 

Michael Osipov commented on MTOOLCHAINS-39:
-------------------------------------------

For reference:
{noformat}
$ ldd /usr/bin/unzip
/usr/bin/unzip:
        libarchive.so.7 => /usr/lib/libarchive.so.7 (0x800250000)
        libc.so.7 => /lib/libc.so.7 (0x800323000)
        libz.so.6 => /lib/libz.so.6 (0x80071b000)
        libbz2.so.4 => /usr/lib/libbz2.so.4 (0x800737000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x80074d000)
        libbsdxml.so.4 => /lib/libbsdxml.so.4 (0x800779000)
        libcrypto.so.111 => /lib/libcrypto.so.111 (0x8007a6000)
        libmd.so.6 => /lib/libmd.so.6 (0x800a98000)
        libthr.so.3 => /lib/libthr.so.3 (0x800ab6000)
{noformat}

> Can't unzip/unjar maven-toolchain-1.0.jar that is available at Maven Central
> ----------------------------------------------------------------------------
>
>                 Key: MTOOLCHAINS-39
>                 URL: https://issues.apache.org/jira/browse/MTOOLCHAINS-39
>             Project: Maven Toolchains Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Thomas Cunningham
>            Priority: Major
>
> jar tvf maven-toolchain-1.0.jar that is available from maven central reports 
> reasonable results 
> However....
> jar xvf doesn't work
> ❯ jar xvf maven-toolchain-1.0.jar
>  inflated: META-INF
> java.io.IOException: META-INF : could not create directory
>     at jdk.jartool/sun.tools.jar.Main.extractFile(Main.java:1449)
>     at jdk.jartool/sun.tools.jar.Main.extract(Main.java:1364)
>     at jdk.jartool/sun.tools.jar.Main.run(Main.java:409)
>     at jdk.jartool/sun.tools.jar.Main.main(Main.java:1681)
> unzip doesn't work
> ❯ unzip maven-toolchain-1.0.jar
> Archive:  maven-toolchain-1.0.jar
> replace META-INF? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
>   inflating: META-INF
> checkdir error:  META-INF exists but is not directory
>                  unable to process META-INF/MANIFEST.MF.
>   inflating: org
> checkdir error:  org exists but is not directory
>                  unable to process org/apache.
> checkdir error:  org exists but is not directory
>                  unable to process org/apache/maven.
> checkdir error:  org exists but is not directory
>                  unable to process org/apache/maven/toolchain.
> checkdir error:  org exists but is not directory
>                  unable to process org/apache/maven/toolchain/java.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/java/DefaultJavaToolchainFactory.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/java/JavaToolChain.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/java/DefaultJavaToolChain.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/ToolchainManagerPrivate.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/DefaultToolchain.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/ToolchainPrivate.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/MisconfiguredToolchainException.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/ToolchainManager.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/ToolchainFactory$1.class.
> checkdir error:  org exists but is not directory
>                  unable to process org/apache/maven/toolchain/model.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/model/ToolchainModel.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/model/PersistedToolchains.class.
> checkdir error:  org exists but is not directory
>                  unable to process org/apache/maven/toolchain/model/io.
> checkdir error:  org exists but is not directory
>                  unable to process org/apache/maven/toolchain/model/io/xpp3.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Writer.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/RequirementMatcherFactory$ExactMatcher.class.
> checkdir error:  org exists but is not directory
>                  unable to process org/apache/maven/toolchain/Toolchain.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/RequirementMatcherFactory.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/RequirementMatcherFactory$1.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/ToolchainManagerPrivate$1.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/DefaultToolchainManager.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/ToolchainFactory.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/ToolchainManager$1.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/RequirementMatcherFactory$VersionMatcher.class.
> checkdir error:  org exists but is not directory
>                  unable to process 
> org/apache/maven/toolchain/RequirementMatcher.class.
> checkdir error:  META-INF exists but is not directory
>                  unable to process META-INF/plexus.
> checkdir error:  META-INF exists but is not directory
>                  unable to process META-INF/plexus/components.xml.
> checkdir error:  META-INF exists but is not directory
>                  unable to process META-INF/maven.
> checkdir error:  META-INF exists but is not directory
>                  unable to process META-INF/maven/org.apache.maven.
> checkdir error:  META-INF exists but is not directory
>                  unable to process 
> META-INF/maven/org.apache.maven/maven-toolchain.
> checkdir error:  META-INF exists but is not directory
>                  unable to process 
> META-INF/maven/org.apache.maven/maven-toolchain/pom.xml.
> checkdir error:  META-INF exists but is not directory
>                  unable to process 
> META-INF/maven/org.apache.maven/maven-toolchain/pom.properties.
>  



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

Reply via email to