I sent this to the users mailing list yesterday but as yet haven't had any
response...

I'm having problems trying to run the release:prepare goal.  Can anyone
help?

My pom contains.

<scm>
    <connection>scm:svn:svn://username:[EMAIL PROTECTED]/trunk</connection>

    <developerConnection>scm:svn:svn://username:[EMAIL PROTECTED]
/trunk</developerConnection>
       <tag>HEAD</tag>
       <url>http://server001:8080/svnwebclient/directoryContent.jsp?url=trunk
</url>
</scm>


When I run mvn release:prepare it asks me for the version numbers (keeping
defaults), then changes the project version number,builds the project,
COMMITS THE PROJECT FILE, then fails with the following:

--------------------------------

[INFO] Checking in modified POMs...
[INFO] Executing: svn --username username --password ***** --non-interactive
commit --file C:\DOCUME~1\DAVID~1.MOS\LOCALS~1
\Temp\maven- scm-1801658713.commit --targets
C:\DOCUME~1\DAVID~1.MOS\LOCALS~1\Temp\maven-scm-9516-targets
[INFO] Working directory: C:\release4
[INFO] Tagging release with the label product-4.0...
[INFO] Executing: svn --username username --password ***** --non-interactive
copy --file C:\DOCUME~1\DAVID~1.MOS\LOCALS~1\T
emp\maven-scm-403689689.commit . svn://SERVER001/tags/product-4.0
[INFO] Working directory: C:\release4\product
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: Source url 'svn://server001/trunk/product' is from different repository

--------------------------------------

Does anyone know what's wrong here?  The only difference that I can see here
is the working directory, which is slightly different between the commit and
the tag.
There isn't anything wrong with the project / src files themselves or the
current checkout, as proven by the fact that maven successfully commits the
changed pom.
It's just the tag that fails.

Any help would be greatly appreciated!

Reply via email to