release-plugin does not use maven-scm-plugin, it, however, talks directory
to maven-scm-api layer.
So your maven-scm-plugin settings are ignored. Also, the release:prepare
does not do any checkout.
release:perform does. You can change the checkout directory thru
release:perform's workingDirectory
http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html
-D
On 6/12/06, Dhananjay Nene <[EMAIL PROTECTED]> wrote:
My pom.xml has been configured to checkout the project
${basedir}/target/checkout/source (I have configured the
<checkoutDirectory> for <maven-scm-plugin>). However release:prepare
continuously fails since the cvs update command does not contain the
directory where the project is checked out. The log shows the following
command being executed :
cvs -z3 -f -d <cvs_root> -n -q update -d
The command fails since there is no parameter after the "-d" above to
indicate the directory (it needs to be the same as the source directory
which is used by scm:checkout). I tried passing command line parameters
(-D) and by using prepareVerifyArgs. However I am unable to pass the
directory name.
How do I pass the parameter to indicate the directory where the code is
checked out to maven-release-plugin ?
Dhananjay
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]