Linux (Development is on Mac OSX)
Maven 2.2.1
Java 1.6

I haven't found anything in the lists that describe how to do this. Our team 
has moved to a milestone release pattern.

1.4.0-m1-SNAPSHOT

I've successfully used the maven release plugin (executing this command 
manually from a terminal window) and received the desired result which is 
bumping the 'development' version to 1.4.0-m2-SNAPSHOT and creating a 'release' 
(and tag in subversion) of 1.4.0-m1:

mvn --batch-mode -Dtag=1.4.0-m1 release:prepare -DreleaseVersion=1.4.0-m1 
-DdevelopmentVersion=1.4.0-m2-SNAPSHOT

My question is, is there anyway to automate this so that I can have Hudson 
perform the same thing (essentially in batch-mode) so that I do not have to run 
this command manually? I would like Hudson to perform such a thing once a day.

Thanks for any insight!

- Bacon -

Reply via email to