Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83CF2116E3 for ; Tue, 3 Jun 2014 06:56:14 +0000 (UTC) Received: (qmail 28094 invoked by uid 500); 3 Jun 2014 06:56:13 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 28009 invoked by uid 500); 3 Jun 2014 06:56:13 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 27998 invoked by uid 99); 3 Jun 2014 06:56:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 06:56:13 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dantran@gmail.com designates 74.125.82.177 as permitted sender) Received: from [74.125.82.177] (HELO mail-we0-f177.google.com) (74.125.82.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jun 2014 06:56:10 +0000 Received: by mail-we0-f177.google.com with SMTP id x48so6132380wes.22 for ; Mon, 02 Jun 2014 23:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=H8fiH75VSiFX71NHg5IG81YPkt5/GnnYHUW5WCiyB2Y=; b=X47nBlsW5OqeeKM4wZKqQchklAU14OPeH3IGazAdG+hob/QuVGIHwS1vZGgM3M6Osk XpyLpJ+zcROkg0n7LCF92Mly97jyZ+zB6Yebiui7Hs+w0xuCdrBWoNBEIyK4+edYeCy9 OodDC38o820O7bOu21LB7xx4lTqJVYAY3HWBLCSLKHBK+NLWbuMye2FlgFGoMvPwSF3F dsNa78nbQMxiPBsqXE35ly+yPx3F+S/6epQDF91Ec4JYs2HZl3MIRkGANSfufDklj7Ot K4mYbD1pXmp6bbt2KI2iPwJAHQrEPpkglLBAU7icbR/NzC5V4yGhu67IL82t19RWMeUg ZXwA== MIME-Version: 1.0 X-Received: by 10.194.157.226 with SMTP id wp2mr55718786wjb.58.1401778546811; Mon, 02 Jun 2014 23:55:46 -0700 (PDT) Received: by 10.194.137.12 with HTTP; Mon, 2 Jun 2014 23:55:46 -0700 (PDT) In-Reply-To: <48820140-CECA-466D-A7AE-9EE77340D8BC@Kriegisch.name> References: <4D1B2C20-D217-4701-B27C-6FAAAA18995C@Kriegisch.name> <8AD1E8C9-4164-4DB9-BDE9-9AA1E9945DA0@Kriegisch.name> <96DFF233-8D29-4BDC-B4D6-5B14BF2B60BA@takari.io> <48820140-CECA-466D-A7AE-9EE77340D8BC@Kriegisch.name> Date: Mon, 2 Jun 2014 23:55:46 -0700 Message-ID: Subject: Re: Use native tar to unpack? good/bad idea? From: Dan Tran To: Maven Users List Content-Type: multipart/alternative; boundary=089e0122f548562c0204fae900ce X-Virus-Checked: Checked by ClamAV on apache.org --089e0122f548562c0204fae900ce Content-Type: text/plain; charset=UTF-8 I filed an Jira at https://jira.codehaus.org/browse/MDEP-447 . Let's see how much interests it can gather -D On Mon, Jun 2, 2014 at 10:40 PM, Alexander Kriegisch < Alexander@kriegisch.name> wrote: > I disagree, even though I could live with it. How about putting the effort > in improving the Java implementation if something is wrong with symlink > extraction? And BTW, your archives in this case (see other thread) just had > the wrong extension because you packed them without the "z" option, which > is a simple user mistake. I can also create an Excel file and rename it to > myfile.txt, which does not make it readable in a normal text editor. ;-) > -- > Alexander Kriegisch > > > > Am 03.06.2014 um 06:20 schrieb Dan Tran : > > > > Looks like it is worth a try to get maven-dependency-plugin having an > > option to use native tar during unpack. > > > > Thanks Jason > > > > -Dan > > > > > > > >> On Mon, Jun 2, 2014 at 6:32 PM, Jason van Zyl wrote: > >> > >> I have had many problems with Java-based TAR solutions. I often use this > >> where I can: > >> > >> > >> > https://github.com/airlift/airship/blob/master/airship-shared/src/main/java/io/airlift/airship/shared/FileUtils.java > >> > >>> On Jun 2, 2014, at 7:15 PM, Dan Tran wrote: > >>> > >>> BTW, > >>> > >>> I never have good luck with plexus-archiver, and always ended up to > >>> implement my own 'unpack' using native tar to speed up the build and > also > >>> reserve the softlinks in the archive. > >>> > >>> So am asking the user list to see if there any interests in this > feature > >> to > >>> give enough incentive to implement it > >>> > >>> Thanks > >>> > >>> -D > >>> > >>> > >>> > >>>> On Mon, Jun 2, 2014 at 4:08 PM, Dan Tran wrote: > >>>> > >>>> Hi Alex, I will find a good sample file for you. > >>>> > >>>> Thanks > >>>> > >>>> -D > >>>> > >>>> > >>>> On Mon, Jun 2, 2014 at 3:57 PM, Alexander Kriegisch < > >>>> Alexander@kriegisch.name> wrote: > >>>> > >>>>> Oh, I see, multiple options. Okay, then yes - maintenance nightmare. > I > >>>>> think we should not easily give up Java's idea of platform > >> independence and > >>>>> Maven's whole point: creating standardised, repeatable builds. > >>>>> > >>>>> If your idea is a reaction on your latest tar.gz problems, maybe we > can > >>>>> find another solution for it. You have not reacted on my offer to > >> inspect > >>>>> your files and see if I have an idea how to fix that in Java. :-) > >>>>> -- > >>>>> Alexander Kriegisch > >>>>> > >>>>> > >>>>>> Am 03.06.2014 um 00:48 schrieb Dan Tran : > >>>>>> > >>>>>> correct, I would expect user to install tar.exe or cygwin with tar > >> on > >>>>>> windows and activate the option. By default, it still uses > >>>>> plexus-archiver > >>>>>> to unpack > >>>>>> > >>>>>> -D > >>>>>> > >>>>>> > >>>>>> On Mon, Jun 2, 2014 at 3:42 PM, Alexander Kriegisch < > >>>>>> Alexander@kriegisch.name> wrote: > >>>>>> > >>>>>>> Windows does not have tar by default. You need to install Git > (incl. > >>>>> Git > >>>>>>> Bash), Cygwin, GnuWin32 or similar. I would not expect any user to > >>>>> have tar > >>>>>>> installed at all or if so then in any predictable location or even > >>>>>>> reachable via PATH. > >>>>>>> -- > >>>>>>> Alexander Kriegisch > >>>>>>> > >>>>>>> > >>>>>>>> Am 03.06.2014 um 00:36 schrieb Dan Tran : > >>>>>>>> > >>>>>>>> I am think of enhancing maven-dependency-plugin by adding option > to > >>>>>>> unpack > >>>>>>>> 'tar' like artifact using native tar since it is faster and > reserve > >>>>> soft > >>>>>>>> links (?) > >>>>>>>> > >>>>>>>> Thoughts? would it be a maintaining night mare?? > >>>>>>>> > >>>>>>>> Thanks > >>>>>>>> > >>>>>>>> -Dan > >>>>>>> > >>>>>>> > --------------------------------------------------------------------- > >>>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > >>>>>>> For additional commands, e-mail: users-help@maven.apache.org > >>>>> > >>>>> --------------------------------------------------------------------- > >>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > >>>>> For additional commands, e-mail: users-help@maven.apache.org > >> > >> Thanks, > >> > >> Jason > >> > >> ---------------------------------------------------------- > >> Jason van Zyl > >> Founder, Apache Maven > >> http://twitter.com/jvanzyl > >> http://twitter.com/takari_io > >> --------------------------------------------------------- > >> > >> To think is easy. To act is hard. But the hardest thing in the world is > to > >> act in accordance with your thinking. > >> > >> -- Johann von Goethe > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --089e0122f548562c0204fae900ce--