No, I meant exactly what I said. Maven itself needs to be able to check in/out etc from your SCM.
We use ClearCase in with UCM Dynamic Views, which is not supported (particularly well (if at all?)) by maven. So, in that instance, we will need to basically to a release manually. If maven fully supports your SCM, then yes, release:prepare etc will work for you. Just something that you need to be aware of. -Chris "Niranjan Deshpande" <[EMAIL PROTECTED]> wrote on 05/06/2008 16:49:34: > Hi Chris, > > So you meant to say that SNAPSHOT will be repaced by a timestamp at the run > time? > also, can we avoid the chekin of the pom and tagging of the project that > happens after mvn release:prepare? i am rather experimenting on things > and dnt want to invite the wrath of other developers if ther repository is > contaminated ;) > > > On 6/5/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Mark Struberg <[EMAIL PROTECTED]> wrote on 04/06/2008 22:53:35: > > > > > Maybe i missed the point, or you did. > > > > > > The usual behaviour is to always have a SNAPSHOT version in your SCM > > > e.g. <version>1.4-SNAPSHOT</version> > > > > > > If you make a build, you simply use the maven-release-plugin > > > > > > $>mvn release:prepare > > > this will > > > .) ask you the release-version which will default to 1.4 and the next- > > > version which defaults to 1.5-SNAPSHOT > > > .) does some usefull checks > > > .) checkin pom with the 1.4 into SCM and tag the project > > > .) set the next version in the pom to 1.5-SNAPSHOT or whatever you > > > provided in step 1 > > > > > > after this, do a > > > $>mvn release:perform > > > to build the project with the freshly tagged build version > > > > > > So there is usually no need to set versions in the pom manually. > > > > So long as maven supports your scm... > > > > -Chris > > > > > > ********************************************************************** > > CAUTION - This message is intended for the addressee named above. It may > > contain privileged or confidential information. > > > > If you are not the intended recipient of this message you must: > > - Not use, copy, distribute or disclose it to anyone other than the > > addressee; > > - Notify the sender via return email; and > > - Delete the message (and any related attachments) from your computer > > immediately. > > > > Internet emails are not necessarily secure. Australian Associated Motors > > Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not > > accept responsibility for changes made to this message after it was sent. > > > > Unless otherwise stated, views expressed within this email are the author's > > own and do not represent those of AAMI. > > ********************************************************************** > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Regards, > Niranjan Deshpande > > "Shut yourself from the world and create the reality you want" > > > The following message has been automatically added by the Internet mail > gateway to comply with the Group's Information Security requirements. > > "This e-mail has arrived via the Internet, and therefore you should be > cautious about its origin and content. Replies which contain sensitive > information and / or legal/contractual obligations are particularly vulnerable. > > In these cases you should not reply unless you are authorised to do so, > and adequate encryption is employed." > > If you have any questions, please contact the IS Service Desk. ********************************************************************** CAUTION - This message is intended for the addressee named above. It may contain privileged or confidential information. If you are not the intended recipient of this message you must: - Not use, copy, distribute or disclose it to anyone other than the addressee; - Notify the sender via return email; and - Delete the message (and any related attachments) from your computer immediately. Internet emails are not necessarily secure. Australian Associated Motors Insurers Limited ABN 92 004 791 744 (AAMI), and its related entities, do not accept responsibility for changes made to this message after it was sent. Unless otherwise stated, views expressed within this email are the author's own and do not represent those of AAMI. ********************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]