You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jamie Bisotti <jb...@gmail.com> on 2005/06/28 04:22:15 UTC
scm:tag failing
Assuming Subversion looks like the following:
http://svn.server.com/repos_root/
branches/
tags/
trunk/
foo/
In C:\sandbox\blah, I perform: maven
-Dmaven.scm.url=scm:svn:http://svn.server.com/repos_root/trunk
-Dmaven.scm.checkout.dir=trunk scm:checkout
Then, I switch to C:\sandbox\blah\trunk\foo and perform: maven
-Dmaven.scm.tag=TEST_TAG scm:tag and I get the following error:
C:\sandbox\blah\trunk\foo>maven scm:tag -Dmaven.scm.tag=TEST_TAG
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
scm:find-connection:
[echo] Using connection: scm:svn:http://svn.server.com/repos_root/trunk/foo
scm:tag:
[echo] Tagging scm:svn:http://svn.server.com/repos_root/trunk/foo
with TEST_TAG
[INFO] Working directory: C:\sandbox\blah\trunk\foo
[INFO] Command line: svn --username usr --password psw
--non-interactive copy --file
C:\DOCUME~1\JAMESF~1\LOCALS~1\Temp\maven-scm-1309405301.commit .
http://svn.server.com/repos_root/trunk/tags/TEST_TAG
Provider message:
The svn tag command failed.
Command output:
svn: Commit failed (details follow):
svn: PROPFIND request failed on '/repos_root/trunk/tags'
svn: '/repos_root/trunk/tags' path not found
BUILD FAILED
File...... C:\Documents and Settings\James F Bisotti\.maven\cache\maven-scm-plug
in-1.5\plugin.jelly
Element... scm:tag
Line...... 145
Column.... 194
Error!
Total time: 7 seconds
Finished at: Mon Jun 27 22:16:40 EDT 2005
Question: Why is it looking for trunk/tags? 'tags' is a peer of
'trunk'; not a child.
--
Jamie Bisotti
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: scm:tag failing
Posted by Adrian Herscu <bm...@axentra.net>.
Emmanuel Venisse wrote:
> With svn, you need to specify a tagbase, so you can run maven like this:
>
> maven scm:tag -Dmaven.scm.tag=TEST_TAG
> -Dmaven.scm.svn.tag.base=http://svn.server.com/repos_root/tags
>
The docs. here
(http://maven.apache.org/reference/plugins/scm/properties.html) specify
that the default for maven.scm.svn.tag.base is ../tags.
I tried to explicitly set that property (to ../tags) on my
project.properties and got this:
scm:find-connection:
[echo] Using connection:
scm:svn:http://super.development.local/repos/test/t
runk/
scm:tag:
[echo] Tagging
scm:svn:http://super.development.local/repos/test/trunk/ with
test-tag-1
[INFO] Working directory: E:\Documents\bmf1972\CC_WORK\checkout\test
[INFO] Command line: svn --non-interactive copy --file
D:\DOCUME~1\ADMINI~1\LOCA
LS~1\Temp\maven-scm-2102119923.commit . ../tags/test-tag-1
Provider message:
The svn tag command failed.
Command output:
svn: Cannot copy path '.' into its own child '..\tags\test-tag-1'
Anyway, it seems that the docs. are wrong - any comments?
Adrian.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: scm:tag failing
Posted by Emmanuel Venisse <em...@venisse.net>.
With svn, you need to specify a tagbase, so you can run maven like this:
maven scm:tag -Dmaven.scm.tag=TEST_TAG
-Dmaven.scm.svn.tag.base=http://svn.server.com/repos_root/tags
Emmanuel
Jamie Bisotti wrote:
> Assuming Subversion looks like the following:
>
> http://svn.server.com/repos_root/
> branches/
> tags/
> trunk/
> foo/
>
> In C:\sandbox\blah, I perform: maven
> -Dmaven.scm.url=scm:svn:http://svn.server.com/repos_root/trunk
> -Dmaven.scm.checkout.dir=trunk scm:checkout
>
> Then, I switch to C:\sandbox\blah\trunk\foo and perform: maven
> -Dmaven.scm.tag=TEST_TAG scm:tag and I get the following error:
>
>
>
> C:\sandbox\blah\trunk\foo>maven scm:tag -Dmaven.scm.tag=TEST_TAG
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> build:start:
>
> scm:find-connection:
> [echo] Using connection: scm:svn:http://svn.server.com/repos_root/trunk/foo
>
> scm:tag:
> [echo] Tagging scm:svn:http://svn.server.com/repos_root/trunk/foo
> with TEST_TAG
> [INFO] Working directory: C:\sandbox\blah\trunk\foo
> [INFO] Command line: svn --username usr --password psw
> --non-interactive copy --file
> C:\DOCUME~1\JAMESF~1\LOCALS~1\Temp\maven-scm-1309405301.commit .
> http://svn.server.com/repos_root/trunk/tags/TEST_TAG
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Commit failed (details follow):
> svn: PROPFIND request failed on '/repos_root/trunk/tags'
> svn: '/repos_root/trunk/tags' path not found
>
>
> BUILD FAILED
> File...... C:\Documents and Settings\James F Bisotti\.maven\cache\maven-scm-plug
> in-1.5\plugin.jelly
> Element... scm:tag
> Line...... 145
> Column.... 194
> Error!
> Total time: 7 seconds
> Finished at: Mon Jun 27 22:16:40 EDT 2005
>
>
> Question: Why is it looking for trunk/tags? 'tags' is a peer of
> 'trunk'; not a child.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org