You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by anamika gupta <an...@hcl.com> on 2011/08/10 11:19:50 UTC

Release plugin information required

Hi,

   When i run release:prepare on the maven-release-plugin then it prompt for
the release verion, tag version.

Is there is any way or configuration, that i can do in the pom.xml, so that
the release plugin don't prompt for the release version and run by taking
the default values.

Any help will be greatly appreciated

--
View this message in context: http://maven.40175.n5.nabble.com/Release-plugin-information-required-tp4685181p4685181.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


Re: Release plugin information required

Posted by Baptiste MATHUS <ml...@batmat.net>.
Well, you are, actually. Running something from Jenkins is most often very
close to doing it on command-line.

So, as Olivier said, just add -B to your Maven build and you're done. The
Maven release plugin will automatically choose new versions.

Cheers
Ps: thanking people on ml is often considered a good thing...
Le 10 août 2011 11:44, "anamika gupta" <an...@hcl.com> a écrit :
> Hi,
>
> I am not running the maven command from command prompt. We have hudson and
> Maven integration. So, Hudson triggers the maven to make the build. I need
> an option in the pom.xml, so that release plugin run with the default
> values.
>
> Can you please suggest me any configuration for this plugin, so that it
> doesnot prompt for the release verions.
>
> --
> View this message in context:
http://maven.40175.n5.nabble.com/Release-plugin-information-required-tp4685181p4685247.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

Re: Release plugin information required

Posted by anamika gupta <an...@hcl.com>.
Hi,

  I am not running the maven command from command prompt. We have hudson and
Maven integration. So, Hudson triggers the maven to make the build. I need
an option in the pom.xml, so that release plugin run with the default
values.

Can you please suggest me any configuration for this plugin, so that it
doesnot prompt for the release verions. 

--
View this message in context: http://maven.40175.n5.nabble.com/Release-plugin-information-required-tp4685181p4685247.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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


Re: Release plugin information required

Posted by Olivier Lamy <ol...@apache.org>.
Hello,
Use batch mode.  try with adding -B in the command line.
The plugin  will use default value (removing -SNAPSHOT from your
current version).


2011/8/10 anamika gupta <an...@hcl.com>:
> Hi,
>
>   When i run release:prepare on the maven-release-plugin then it prompt for
> the release verion, tag version.
>
> Is there is any way or configuration, that i can do in the pom.xml, so that
> the release plugin don't prompt for the release version and run by taking
> the default values.
>
> Any help will be greatly appreciated
>
> --
> View this message in context: http://maven.40175.n5.nabble.com/Release-plugin-information-required-tp4685181p4685181.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>



-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

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