Hi,

Does M2 have its code for doing SCM operations, or does it use an SCM client
that is installed on the machine that M2 is running from.

If it is the latter, does the version of the SCM client matter.

In particular, I have cvs client installed, which shows its version as:

Concurrent Versions System (CVS) 1.11.1p1 (client)

Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn,
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS


Is this okay for M2.




-----Original Message-----
From: Yann Le Du [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 12 October 2005 7:22 PM
To: Maven Users List
Subject: RE: [m2] Plugin release:prepare gives exception: 'isn't a
snapshot'


Hi Michael,

There is some doco here :
http://maven.apache.org/maven2/plugins/maven-release-plugin/

The Release plugin can do exactly what you need. However, the convention for a
trunk version is x.y.z-SNAPSHOT. So your scenario would rather be :

* your trunk version is 1.35-SNAPSHOT
* you call m2 release:prepare and specify tag name rel_1_35, which results in :
*     - rel_1_35 tag is created with version 1.35
*     - trunk version is changed to 1.36-SNAPSHOT
* you call m2 release:perform, which deploys version 1.35 from the tag

HTH,
Yann


--- Michael McCrann <[EMAIL PROTECTED]> a écrit :

> I haven't been able to find the doco for release plugin. 
> 
> Please could someone tell me, based on the scenario outlined below, if this
> how the release plugin works.
> 
> NOTE: When I run release:prepare I get an 'isn't a snapshot' Exception.
> 
> Release scenario
> -------------------------
> 
> I have a project that is ready for release. I have checked all the source
> code into CVS. Now, I want to run an M2 command that will:
> 
> - increment the version number in pom.xml (ie if my version 1.34, I now want
> it to be 1.35). 
> - CVS tag the this version of the code with something like: rel_1_35.
> - build the artifact and deploy it to a remote repository as
> <artifact>-1.35.<type>
> 
> 
> 
> Regards
> 
> Michael McCrann
> 
> 
> 
> 
> NOTICE
> This e-mail and any attachments are confidential and may contain copyright
> material of Macquarie Bank or third parties. If you are not the intended
> recipient of this email you should not read, print, re-transmit, store or act
> in reliance on this e-mail or any attachments, and should destroy all copies
> of them. Macquarie Bank does not guarantee the integrity of any emails or any
> attached files. The views or opinions expressed are the author's own and may
> not reflect the views or opinions of Macquarie Bank.
> 
> 



        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to