I don't think the release plugin is designed to do what you want.
Releases are supposed to be feature complete, developer-approved
artifacts designed to be used externally.  Automation is impossible with
that definition.

I assume you want numbered releases so you have an exact manifest of
what your system is running in each daily build?  Sounds like you need a
mix of snapshots and releases, something like numbered snapshots.
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 07, 2006 9:37 AM
To: Maven Users List
Subject: Automating release:prepare

I would like to execute a release:prepare and release:perform from 
continuum nightly.   The release:prepare step prompts for tag name, next

version name, etc.   Looking at 
 http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html
it appears there may be a way to do this without prompting, but I'm
uncertain what the best way to do this is.

Lets say my version number is 1.0.0.0-SNAPSHOT.    Every night, I want
to 
run a release:prepare and release:perform and bump the last digit by 1.

So, I'd want release:prepare to change the version number to 1.0.0.0,
tag it with a label (1.0.0.0) and then bump the version to
1.0.0.1-SNAPSHOT and then commit that.

What approach would I take to do this?   I was thinking about setting 
params in continuum such as, but I dont have access to the version
number 
from there.    Should you configure the plugin within the pom to 
accomplish this?    If so, what's the best approach for bumping the 
version number?    I think the pluginVersionManager may be of use, but
I'm 
not sure.

Any help/direction on this would be greatly appreciated.

Thanks,
Brian Yoffe

This communication is for informational purposes only. It is not
intended as an offer or solicitation for the purchase or sale of any
financial instrument or as an official confirmation of any transaction.
All market prices, data and other information are not warranted as to
completeness or accuracy and are subject to change without notice. Any
comments or statements made herein do not necessarily reflect those of
JPMorgan Chase & Co., its subsidiaries and affiliates



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

Reply via email to