Hi guys,

My SVN is set up with pre-commit hooks to verify, 1. if there's comment,
2. if a ticket number is mentioned.

I couldn't find a way to specify comment (the scmCommentPrefix option
doesn't seem to help either), so whenever I run the `mvn
release:prepare` command, Maven will with this error:

[INFO] Executing: svn --non-interactive commit --file
/tmp/maven-scm-1393002532.commit --targets /tmp/maven-scm-40854-targets
[INFO] Working directory: /home/yclian/development/svn/foo/trunk
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn: Commit failed (details follow):
svn: 'pre-commit' hook failed with error output:
At least one open ticket must be mentioned in the log message.

As you can see, the svn command is run in non-interactive mode, is there
any where I can interrupt or provide a comment for the commits done by
the plugin?

Thanks.

-- 
Yuen-Chi Lian | www.yclian.com
"I do not seek; I find." - Pablo Picasso

begin:vcard
fn:Yuen-Chi Lian
n:Lian;Yuen Chi
org:Aflexi Sdn. Bhd.
adr:;;;;;;Malaysia
email;internet:[EMAIL PROTECTED]
title:VP of Engineering
x-mozilla-html:FALSE
url:http://www.aflexi.net/
version:2.1
end:vcard

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to