If you run maven with the -X flag, you can see the commands that the buildnumber plugin creates.

For example when doCheck=false and doUpdate=true, the buildnumber plugin executes

svn --non-interactive update

So you should login to your server and try the same command from the appropriate directory to see if you can reproduce the problem.

You can work around it by configuring buildnumber doUpdate=false

HTH,

J

On 14-Aug-07, at 7:49 AM, DCVer wrote:


I use the maven buildnumber plugin and it works fine on my local pc. But on the Continuum server (checked out from the same svn repository) i receive an
error (in fact Continuum/Maven2 generates it):

[INFO] [buildnumber:create {execution: default}]
Provider message:
The svn command failed.
Command output:
Subcommand 'info' doesn't accept option '--non-interactive'
Type 'svn help info' for usage.

I deleted --batch-mode from Continuum arguments (which means non- interactive I believe), but received the same error message. I've read about similar problems and it may look like the svn version is too old on the Continuum server (there is 1.4.4 from April 2005 and on my local pc I have version
1.4.4). Is it svn version problem?

Regards.
--
View this message in context: http://www.nabble.com/Buildnumber- plugin-and-svn-tf4267375s177.html#a12144761
Sent from the Maven - Users mailing list archive at Nabble.com.


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



--
Julian Wood
Web, E-Mail, and Middleware Services
University of Calgary Information Technologies,
2500 University Drive, Calgary, Alberta, Canada T2N 1N4
(403) 220-5868

Reply via email to