Re: Pack with native tar, unpack with maven-dependency-plugin failure

2014-06-02 Thread Jörg Schaible
Hi Dan, Dan Tran wrote: > 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 signatur

Re: Pack with native tar, unpack with maven-dependency-plugin failure

2014-06-02 Thread Dan Tran
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 O

Re: Pack with native tar, unpack with maven-dependency-plugin failure

2014-06-02 Thread Alexander Kriegisch
Hi Dan. I vaguely remember a similar problem with ZIP archives and Java. Can you please send me a sample or two privately? -- Alexander Kriegisch > Am 02.06.2014 um 20:47 schrieb Dan Tran : > > Hi > > I have a number of tar.gz artifacts packed with cygwin/linux tar, but > maven-dependency-pl

Pack with native tar, unpack with maven-dependency-plugin failure

2014-06-02 Thread Dan Tran
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 j