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

Christian Schudt commented on MDEP-489:
---------------------------------------

I've attached a sample pom file which installs a tar.gz file in the local 
repository, then unpacks it. Please download a Linux JRE from bell-sw.com, I 
used this one: 
[https://download.bell-sw.com/java/11.0.8+10/bellsoft-jre11.0.8+10-linux-amd64-full.tar.gz]

I can't upload it here (too large).

Tested on Windows 10.

 

Maybe caused by MDEP-397

> Regression: unpack-dependencies fails on Windows for tar.gz containing 
> executable file
> --------------------------------------------------------------------------------------
>
>                 Key: MDEP-489
>                 URL: https://issues.apache.org/jira/browse/MDEP-489
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>          Components: unpack-dependencies
>    Affects Versions: 2.10
>            Reporter: Axel Fontaine
>            Priority: Major
>              Labels: close-pending
>         Attachments: pom.xml
>
>
> unpack-dependencies fails on Windows for a tar.gz dependency containing an 
> executable file with the following message:
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-dependency-plugin:2.10:unpack-dependencies 
> (unpa
> ck-jres) on project boxfuse-commandline: Error unpacking file: 
> C:\Users\Axel\.m2\repository\com\oracle\server-
> jre\8.45\server-jre-8.45-linux-x64.tar.gz to: 
> C:\Workspaces\boxfuse-client\boxfuse-commandline\target\dependen
> cy\server-jre-linux-x64-tar.gz
> [ERROR] org.codehaus.plexus.archiver.ArchiverException: Error while expanding 
> C:\Users\Axel\.m2\repository\com
> \oracle\server-jre\8.45\server-jre-8.45-linux-x64.tar.gz: 
> C:\Workspaces\boxfuse-client\boxfuse-commandline\tar
> get\dependency\server-jre-linux-x64-tar.gz\jdk1.8.0_45\jre\lib\amd64\server\libjsig.so:
>  A required privilege i
> s not held by the client.
> This was working fine in all previous versions including 2.8 and 2.9



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to