Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 45294 invoked from network); 19 Jan 2008 17:17:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jan 2008 17:17:47 -0000 Received: (qmail 76283 invoked by uid 500); 19 Jan 2008 17:17:06 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 76267 invoked by uid 500); 19 Jan 2008 17:17:06 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 76247 invoked by uid 99); 19 Jan 2008 17:17:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jan 2008 09:17:06 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of afkham@gmail.com designates 72.14.220.152 as permitted sender) Received: from [72.14.220.152] (HELO fg-out-1718.google.com) (72.14.220.152) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Jan 2008 17:16:51 +0000 Received: by fg-out-1718.google.com with SMTP id e21so1414391fga.14 for ; Sat, 19 Jan 2008 09:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=XV7rC5anRkV0dFyESzWC5fSpj38Q6LuV2DoOAJZgMx8=; b=R7iUf1oHKqOx6UQCYZVs5xXoxEThZZBOtC/ChIPK5RguBEnehuV7IOx8dI2ny+ZMP8aMMzl4KplIyMGppMN8Y1PnVhskucGKZRT9NiOB7t99Pf/es3DnBk2iSzU+rft0HWkJYyFGUrfI9JSinY10Cui4CerG7uoEqm5x0CTmsiw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=wi3EVx4g35W2ZHNHf9edy7tfs3Rjr+icCp6Rt0AStdnWy7I15Zcslz4aliiJfqaw9U5uwbWUE87HFMTj9oyAeHXTq7vXMZK0nHwuGzE8/pXSXqcjWSjRxrI7ySmpwuPBAjZTdON1h7Tzo0fXox4Yi9ikzmzuaFyFYihNmTU2bzc= Received: by 10.86.84.5 with SMTP id h5mr4407975fgb.53.1200763004076; Sat, 19 Jan 2008 09:16:44 -0800 (PST) Received: by 10.86.23.13 with HTTP; Sat, 19 Jan 2008 09:16:44 -0800 (PST) Message-ID: <9b85c45f0801190916y704d5fe6g3a62e46e78c4eea6@mail.gmail.com> Date: Sat, 19 Jan 2008 22:46:44 +0530 From: "Afkham Azeez" To: axis-user@ws.apache.org Subject: Re: [Axis2] Maven2 and Module Name / Version In-Reply-To: <7084BF0036C67D41B0CD105E4CE71AB401D44C9A@EXCHANCLUST1.crlcorp.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8659_6849633.1200763004067" References: <7084BF0036C67D41B0CD105E4CE71AB401D44C9A@EXCHANCLUST1.crlcorp.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_8659_6849633.1200763004067 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In your axis2.xml, simply having will suffice. Axis2 will locate the newest version of myModule and use it. Here is now the axis2 calculates the newest version; e.g. SNAPSHOT > 2.1 > 2.0 > 1.1 i.e. SNAPSHOT is considered the latest version Also you could specify a specific version of your module such as in which case, axis2 will use the 1.1 version of the module. Are you making use of only a single version of the module? In that case, simply use in your axis2.xml HTH Azeez On Jan 10, 2008 12:59 AM, Edward Bush wrote: > All, > > When building with Maven2, I get an artifact such as my-mar-1.0.mar or > my-mar-1.0-SNAPSHOT.mar. Within the module.xml, I have named my module > myModule. When it loads, it loads as myModule-SNAPSHOT. I'm wondering how > I can possibly make this work, since I must cite myModule-SNAPSHOT as the > ref name in my axis2.xml file. > > The dilema, to me, thinking about performing a release on the service, is > that the version is going to change ( definitely will drop the SNAPSHOT, for > example ), and I'm trying to figure how the heck to handle this. The name ( > myMoudle-SNAPSHOT ) that Axis loads this under seems like a bad default. Is > there some way to work around this, an existing bug report, or ... ? > > Thanks! > > * Eddie Bush > Software Analyst > Clinical Reference Laboratory > bushe at crlcorp dot com > * > CONFIDENTIALITY NOTICE: The information in this message, and any > attachment, is intended for the sole use of the individual and entity to > whom it is addressed. This information may be privileged, confidential, and > protected from disclosure. If you are not the intended recipient you are > hereby notified that you have received this communication in error and that > any review, disclosure, dissemination, distribution or copying of it, or its > contents, is strictly prohibited. If you think that you have received this > message in error please notify the sender and destroy all copies of this > communication and any attachments. Thank you. > -- Thanks Afkham Azeez http://www.wso2.org GPG Fingerprint: 643F C2AF EB78 F886 40C9 B2A2 4AE2 C887 665E 0760 ------=_Part_8659_6849633.1200763004067 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In your axis2.xml, simply having <module ref="myModule"/> will suffice. Axis2 will locate the newest version of myModule and use it.

Here is now the axis2 calculates the newest version;
e.g. SNAPSHOT > 2.1 > 2.0 > 1.1
i.e. SNAPSHOT is considered the latest version

Also you could specify a specific version of your module such as <module ref="myModule-1.1"/> in which case, axis2 will use the 1.1 version of the module.

Are you making use of only a single version of the module? In that case, simply use <module ref="myModule"/> in your axis2.xml

HTH
Azeez

On Jan 10, 2008 12:59 AM, Edward Bush <BushE@crlcorp.com> wrote:
All,
 
When building with Maven2, I get an artifact such as my-mar-1.0.mar or my-mar-1.0-SNAPSHOT.mar.  Within the module.xml, I have named my module myModule.  When it loads, it loads as myModule-SNAPSHOT.  I'm wondering how I can possibly make this work, since I must cite myModule-SNAPSHOT as the ref name in my axis2.xml file.
 
The dilema, to me, thinking about performing a release on the service, is that the version is going to change ( definitely will drop the SNAPSHOT, for example ), and I'm trying to figure how the heck to handle this.  The name ( myMoudle-SNAPSHOT ) that Axis loads this under seems like a bad default.  Is there some way to work around this, an existing bug report, or ... ?
 
Thanks!
 
Eddie Bush
Software Analyst
Clinical Reference Laboratory
bushe at crlcorp dot com
CONFIDENTIALITY NOTICE: The information in this message, and any attachment, is intended for the sole use of the individual and entity to whom it is addressed. This information may be privileged, confidential, and protected from disclosure. If you are not the intended recipient you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it, or its contents, is strictly prohibited. If you think that you have received this message in error please notify the sender and destroy all copies of this communication and any attachments. Thank you.



--
Thanks
Afkham Azeez

http://www.wso2.org
GPG Fingerprint: 643F C2AF EB78 F886 40C9  B2A2 4AE2 C887 665E 0760 ------=_Part_8659_6849633.1200763004067--