Re: Release plugin information required

2011-08-12 Thread Baptiste MATHUS
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"  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-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>


Re: Release plugin information required

2011-08-10 Thread anamika gupta
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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: Release plugin information required

2011-08-10 Thread Olivier Lamy
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 :
> 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-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>



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

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



Release plugin information required

2011-08-10 Thread anamika gupta
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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org