You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lars Fischer <lf...@fast-mail.org> on 2009/12/11 16:11:35 UTC
[maven-release-plugin] problem with wrong source on tagging
Hello,
I have problems releasing a project using the maven-release-plugin:
A call like:
mvn --batch-mode -DautoVersionSubmodules=true -Dresume=false
-Dusername=jondoe -Dpassword=jondoe
-DtagBase=svn://svnrepository/tags/components/rt -Dtag=R_reporting_1.1.1
-DreleaseVersion=1.1.1 -DdevelopmentVersion=1.1.2-SNAPSHOT release:prepare
results in a log:
[...]
[INFO] Tagging release with the label
svn://svnrepository/tags/components/rt/R_reporting_1.1.1...
[INFO] Executing: cmd.exe /X /C "svn --username jondoe --password *****
--non-interactive copy --file C:\DOKUME~1\lfischer\LOKAL
E~1\Temp\maven-scm-571333557.commit --revision 5815
svn://svnrepository/tags/components/rt/R_poms_1.1.0/parent.standard/repo
rting svn://svnrepository/tags/components/rt/R_reporting_1.1.1"
[...]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Unable to tag SCM
Provider message:
The svn tag command failed.
Command output:
svn: Path
'svn://svnrepository/tags/components/rt/R_poms_1.1.0/parent.standard/reporting'
does not exist in revision 5815
I thought the tagging has to perform a copy from the local temp folder
to the new tag place in the svn. But the execution shows a 2nd source
"--revision 5815
svn://svnrepository/tags/components/rt/R_poms_1.1.0/parent.standard/reporting"
The error states right, that this is not a valid source.
But why is it generated into the copy statement?
My environment:
- maven 2.2.1
- maven-release-plugin 2.0-beta-9
- svn 1.6.6 (SlikSvn:tag/1.6.6@40358) WIN32
Regards,
Lars
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [maven-release-plugin] problem with wrong source on tagging
Posted by Lars Fischer <lf...@fast-mail.org>.
Hello,
could someone please tell my, where is my mistake:
> I have problems releasing a project using the maven-release-plugin:
>
> A call like:
>
> mvn --batch-mode -DautoVersionSubmodules=true -Dresume=false
> -Dusername=jondoe -Dpassword=jondoe
> -DtagBase=svn://svnrepository/tags/components/rt -Dtag=R_reporting_1.1.1
> -DreleaseVersion=1.1.1 -DdevelopmentVersion=1.1.2-SNAPSHOT release:prepare
>
>
> results in a log:
>
> [...]
> [INFO] Tagging release with the label
> svn://svnrepository/tags/components/rt/R_reporting_1.1.1...
> [INFO] Executing: cmd.exe /X /C "svn --username jondoe --password *****
> --non-interactive copy --file C:\DOKUME~1\lfischer\LOKAL
> E~1\Temp\maven-scm-571333557.commit --revision 5815
> svn://svnrepository/tags/components/rt/R_poms_1.1.0/parent.standard/repo
> rting svn://svnrepository/tags/components/rt/R_reporting_1.1.1"
> [...]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Unable to tag SCM
> Provider message:
> The svn tag command failed.
> Command output:
> svn: Path
> 'svn://svnrepository/tags/components/rt/R_poms_1.1.0/parent.standard/reporting'
> does not exist in revision 5815
>
>
> I thought the tagging has to perform a copy from the local temp folder
> to the new tag place in the svn. But the execution shows a 2nd source
> "--revision 5815
> svn://svnrepository/tags/components/rt/R_poms_1.1.0/parent.standard/reporting"
> The error states right, that this is not a valid source.
>
> But why is it generated into the copy statement?
>
>
> My environment:
> - maven 2.2.1
> - maven-release-plugin 2.0-beta-9
> - svn 1.6.6 (SlikSvn:tag/1.6.6@40358) WIN32
regards
Lars
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org