You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Todd Thiessen <th...@nortel.com> on 2008/11/13 22:07:47 UTC

Can mvn release get the new version info automatically?

It would be nice to merge the behaviour of
http://mojo.codehaus.org/buildnumber-maven-plugin/ with the maven
release plugin.  Is there a way for maven to automatically get the
information it needs so it does not have to prompt the info from the
user?

---
Todd Thiessen


Re: Can mvn release get the new version info automatically?

Posted by Wendy Smoak <ws...@gmail.com>.
On Thu, Nov 13, 2008 at 2:07 PM, Todd Thiessen <th...@nortel.com> wrote:
> It would be nice to merge the behaviour of
> http://mojo.codehaus.org/buildnumber-maven-plugin/ with the maven
> release plugin.  Is there a way for maven to automatically get the
> information it needs so it does not have to prompt the info from the
> user?

Are you interested in the build number from the plugin or do you
simply want it to stop prompting for the version and accept the
defaults?  The latter can be accomplished by adding --batch-mode to
the command line.

For example:  mvn release:prepare release:perform --batch-mode

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org