Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 95841 invoked from network); 10 Jul 2007 13:25:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2007 13:25:59 -0000 Received: (qmail 51594 invoked by uid 500); 10 Jul 2007 13:25:58 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 51544 invoked by uid 500); 10 Jul 2007 13:25:58 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 51525 invoked by uid 99); 10 Jul 2007 13:25:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 06:25:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ajith.ranabahu@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jul 2007 06:25:53 -0700 Received: by an-out-0708.google.com with SMTP id c17so259018anc for ; Tue, 10 Jul 2007 06:25:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=H5OqCnr7Mn+3jukucjSBStduB3yFC5cOTGp/N/+XdiyRxvsOQyQ3DKpxSTVZ4lXrAt8BYUhCoGiteD84U3PYKuqNLXekVz0R9+FycxkUUZox513+3Vt3NJs7Prppf6a2jtPrLP2yJIJCleV3ilB1ZOWrDXhLytyYC1KmFKs9jNk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IGep7BxNcGS+QMEwImLTrisRyniEzcbO+JS0mBR5pZVpkN6Kxfs95KUHqVbVNjlgLmVW8TdUcs/F+52tkLqsrSbR8J/lx6ygrmpf8J25MjMrTtixJUERekDA4aylkwXhE4Fc4MIQ8oHsxAnT9g+U7WpoqVJOjQWzMXtuFrc1Jt8= Received: by 10.90.50.1 with SMTP id x1mr2800482agx.1184073933201; Tue, 10 Jul 2007 06:25:33 -0700 (PDT) Received: by 10.90.116.11 with HTTP; Tue, 10 Jul 2007 06:25:33 -0700 (PDT) Message-ID: Date: Tue, 10 Jul 2007 07:25:33 -0600 From: "Ajith Ranabahu" To: axis-dev@ws.apache.org Subject: Re: [Axis2] Axis2 Maven2 command to build the dist In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm not a maven expert but there is a maven assembly plugin that can be used to create the distributions. examples can be found in the xmlschema project. in order to create the distribution artifacts you have to say 'mvn clean install site assembly:assembly' which creates the necessary zip files. (note that you have to create the assembly config files which says what to copy) IMHO it is always better to separate out the tasks for just building the jar and building the distro. We ca have an alias for convenience (which I've no idea how) Ajith On 7/10/07, Saminda Abeyruwan wrote: > Yes. There is a profile to create the distribution. IMHO would we need to > have a profile to create the distribution? If someone using install phase, > it should be a good idea to create every artifact. Thus, users doesn't need > to know anything about a profile. > > Thus, to create ultimate artifacts just need to use mvn clean install , > > > Thank you > > Saminda > > On 7/10/07, Thilina Gunarathne < csethil@gmail.com> wrote: > > Thanks Saminda.. > > > > But you also need to use -Drelease in order to create them.. Following > > worked for me.. > > "mvn clean install -o -Dmaven.test.skip=true -Drelease" > > > > Thanks, > > Thilina > > > > On 7/10/07, Saminda Abeyruwan wrote: > > > You'll able to find the distributions under modules/distribution/target > > > > > > Thank you > > > > > > Saminda > > > > > > > > > On 7/10/07, Thilina Gunarathne < csethil@gmail.com> wrote: > > > > > > > > Hi devs, > > > > What's the Axis2 maven2 command to create the distribution...Also > > > > under what directory will I be able to find the created dists... > > > > I tried doing a simple "mvn clean install -o -Dmaven.test.skip=true" , > > > > but I wasn't able to find the created distribution artifacts... > > > > > > > > thanks, > > > > Thilina > > > > > > > > -- > > > > Thilina Gunarathne - http://www.wso2.com - > http://thilinag.blogspot.com > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: > > > axis-dev-unsubscribe@ws.apache.org > > > > For additional commands, e-mail: axis-dev-help@ws.apache.org > > > > > > > > > > > > > > > > > > > > -- > > > Saminda Abeyruwan > > > > > > Software Engineer > > > WSO2 Inc. - www.wso2.org > > > > > > -- > > Thilina Gunarathne - http://www.wso2.com - http://thilinag.blogspot.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > axis-dev-unsubscribe@ws.apache.org > > For additional commands, e-mail: axis-dev-help@ws.apache.org > > > > > > > > -- > > Saminda Abeyruwan > > Software Engineer > WSO2 Inc. - www.wso2.org -- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org