maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Tran <dant...@gmail.com>
Subject Re: Pack with native tar, unpack with maven-dependency-plugin failure
Date Mon, 02 Jun 2014 23:27:13 GMT
I found the root cause of this issue where  I need to force a '-z' option
during native tar compression.  Without this flag, the output is just a
normal tar file where native tar is very smart to figure this out. Where
are plexus-archiver only looks for gz signature and bails out.

Thanks

-Dan


On Mon, Jun 2, 2014 at 11:47 AM, Dan Tran <dantran@gmail.com> wrote:

>
> Hi
>
> I have a number of tar.gz artifacts packed with cygwin/linux tar, but
> maven-dependency-plugin fails to unpack with with the following error (
> have you seen this)
>
> Caused by: java.util.zip.ZipException: Not in GZIP format
> at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:164)
> at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:78)
>  at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:90)
> at
> org.codehaus.plexus.archiver.tar.TarUnArchiver$UntarCompressionMethod.decompress(TarUnArchiver.java:191)
>  at
> org.codehaus.plexus.archiver.tar.TarUnArchiver$UntarCompressionMethod.access$000(TarUnArchiver.java:112)
> at
> org.codehaus.plexus.archiver.tar.TarUnArchiver.execute(TarUnArchiver.java:86)
>  ... 26 more
>
> Thanks
>
> -Dan
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message