Hi,
I'm using the release plugin to release a module.
$ mvn -B release:prepare -f release-1.3.0/the_module/pom.xml
-DtagBase=svn://path.to.my.repository/the_module/tags
-Dtag=MMP-REL-1.3.0_20070807_101709 -Dusername=myusername
This fails with the below message:
[INFO] Checking in modified POMs...
[INFO] Executing: svn --username myusername --non-interactive commit --file
c:\Users\myusername\AppData\Local\Temp\maven-scm-1009058660.commit
c:/Users/myusername/work/svn/release/release-1.3
0/the_module/pom.xml
[INFO] Working directory:
c:\Users\myusername\work\svn\release\release-1.3.0\the_module
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to commit files
Provider message:
The svn command failed.
Command output:
svn:
'/cygdrive/c/Users/myusername/work/svn/release/release-1.3.0/the_module/c:/Users/myusername/work/svn/release/release-1.3.0/the_module'
is not a working copy
svn: Can't open file
'/cygdrive/c/Users/myusername/work/svn/release/release-1.3.0/the_module/c:/Users/myusername/work/svn/release/release-1.3.0/the_module/.svn/entries':
No such file or
directory
$which svn
/usr/bin/svn
I've worked around this by changing my PATH to have the Windows SVN binaries
before the Cygwin SVN binaries, but it doesn't feel like a good solution.
export PATH=/cygdrive/c/path/to/svn/binaries/:${PATH}
The other alternative that I considered was to uninstall my svn client from
Cygwin. I guess that would do it too, but is there a better way?
Cheers,
James
--
View this message in context:
http://www.nabble.com/-m2--mvn-launch-script-under-cygwin-and-release-plugin---svn-tf4229469s177.html#a12032164
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]