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 994DAE8E8 for ; Tue, 25 Jun 2013 18:53:09 +0000 (UTC) Received: (qmail 32479 invoked by uid 500); 25 Jun 2013 18:53:07 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 32418 invoked by uid 500); 25 Jun 2013 18:53:07 -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 32409 invoked by uid 99); 25 Jun 2013 18:53:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 18:53:07 +0000 X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=HTML_MESSAGE,MISSING_HEADERS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [24.37.79.202] (HELO smtp.artifact-software.com) (24.37.79.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 18:53:03 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.artifact-software.com (Postfix) with ESMTP id 9D467FEC074 for ; Tue, 25 Jun 2013 14:52:42 -0400 (EDT) X-Virus-Scanned: amavisd-new at artifact-software.com Received: from smtp.artifact-software.com ([127.0.0.1]) by localhost (smtp.artifact-software.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DkoszuzgjDBb for ; Tue, 25 Jun 2013 14:52:32 -0400 (EDT) Received: from [192.168.3.170] (unknown [192.168.3.170]) by smtp.artifact-software.com (Postfix) with ESMTP id 63031FEC072 for ; Tue, 25 Jun 2013 14:52:32 -0400 (EDT) Message-ID: <51C9E6EE.40901@artifact-software.com> Date: Tue, 25 Jun 2013 14:52:30 -0400 From: Ron Wheeler Reply-To: rwheeler@artifact-software.com Organization: Artifact Software User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 CC: Maven Users List Subject: Re: Maven zip artifact References: <55BBB074DE5248439192BCB13699A4562F8D15@MSGEXSV21110.ent.wfb.bank.corp> <51C9DE8C.6040307@artifact-software.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------050200080507070809000808" X-Virus-Checked: Checked by ClamAV on apache.org --------------050200080507070809000808 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 25/06/2013 2:30 PM, Igor Zapletnev wrote: > Thanks for quick response! I want to include zip file in the resources > dir for example. I want to have an access to this zip file in my mojo. > Call copy-dependency pragmatically is not clear for me because I don't > want resolve this dependencies during runtime each time. I want to > copy this dependency during installing. I have checked assembly home > page and looks like this plugin is not acceptable in this case. What are you actually making? Unless I don't understand your final project, the assembly should allow you to build a jar with your code jar and the zip in the final jar. The IzPack installer also has a Maven plug-in that automates the creation of an installer that can be run to put your app on a destination computer (linux, windows, etc.) with all of the files in the "right" places. Ron > > > On Tue, Jun 25, 2013 at 10:16 PM, Ron Wheeler > > wrote: > > Where in the jar (path) would you like to put the zip? > Why? > What are you actually constructing? > Have you looked at the Assembly plug-in or at building your final > artifact with an installer. > > > Ron > > > On 25/06/2013 2:01 PM, Igor Zapletnev wrote: > > To be more clear � I want to include this zip artifact in my > jar file. > Thanks for help again. > > > On Tue, Jun 25, 2013 at 9:36 PM, Igor Zapletnev > >wrote: > > But is it possible to get an access to the zip file > directly without > unzipping? > > > On Mon, Jun 24, 2013 at 10:05 PM, Wayne Fay > > wrote: > > How would you unzip a static zip file rather than > a Maven artifact? > > First, you'd make it a Maven artifact. A useful blog > post on this subject: > > http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > users-unsubscribe@maven.apache.org > > For additional commands, e-mail: > users-help@maven.apache.org > > > > > > -- > Ron Wheeler > President > Artifact Software Inc > email: rwheeler@artifact-software.com > > skype: ronaldmwheeler > phone: 866-970-2435, ext 102 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > For additional commands, e-mail: users-help@maven.apache.org > > > -- Ron Wheeler President Artifact Software Inc email: rwheeler@artifact-software.com skype: ronaldmwheeler phone: 866-970-2435, ext 102 --------------050200080507070809000808--