You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Martijn Verburg <ma...@gmail.com> on 2010/04/06 09:17:43 UTC

Issue with release plug-in copying incorrect scm path to create tag

Hi all,

When performing a mvn release:prepare for the branch located at
https://open.jira.com/svn/IKASAN/branches/ikasaneip-0.7.x (creating a
version ikasan-0.7.9).

It seems to do everything correctly except for two weird things.

1.)  During the release process it changes the scm section from:

<scm>
        <connection>scm:svn:
https://open.jira.com/svn/IKASAN/branches/ikasaneip-0.7.x</connection>
        <url>scm:svn:
http://open.jira.com/svn/IKASAN/branches/ikasaneip-0.7.x</url>
</scm>

To:

<scm>
        <connection>scm:svn:https://open.jira.com/svn/IKASAN/*
tags/ikasan-0.7.9/ikasaneip-0.7.x*</connection>
        <url>scm:svn:http://open.jira.com/svn/IKASAN/*
tags/ikasan-0.7.9/ikasaneip-0.7.x*</url>
</scm>

When I would've expected:

<scm>
        <connection>scm:svn:https://open.jira.com/svn/IKASAN/*
tags/ikasan-0.7.9*</connection>
        <url>scm:svn:http://open.jira.com/svn/IKASAN/*tags/ikasan-0.7.9*
</url>
</scm>

2.)  Subsequently when executing the step to create the ikasan-0.7.9 tag it
tries to execute:

[INFO] Executing: cmd.exe /X /C "svn --non-interactive copy --file
C:\DOCUME~1\Admin\LOCALS~1\Temp\maven-scm-51513552.commit --revision 2882 *
https://open.jira.com/svn/IKASAN/branches* https://open.jir
.com/svn/IKASAN/tags/ikasan-0.7.9"

When I would expect:

[INFO] Executing: cmd.exe /X /C "svn --non-interactive copy --file
C:\DOCUME~1\Admin\LOCALS~1\Temp\maven-scm-51513552.commit --revision 2882 *
https://open.jira.com/svn/IKASAN/branches/ikasaneip-0.7.x* https://open.jir
.com/svn/IKASAN/tags/ikasan-0.7.9"

Has anybody seen this behaviour before?

I'm using maven 2.2.1 with the latest release plugin (2.0)

Cheers,
Martijn

Re: Issue with release plug-in copying incorrect scm path to create tag

Posted by Martijn Verburg <ma...@gmail.com>.
Hi all,

This indeed was the problem, thanks Jaikiran!

Cheers,
Martijn

On Tue, Apr 6, 2010 at 9:39 AM, jaikiran <ja...@yahoo.co.in> wrote:

>
> This looks related to http://jira.codehaus.org/browse/MRELEASE-526
>
> --
> View this message in context:
> http://n2.nabble.com/Issue-with-release-plug-in-copying-incorrect-scm-path-to-create-tag-tp4857506p4857770.html
> Sent from the maven users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Issue with release plug-in copying incorrect scm path to create tag

Posted by jaikiran <ja...@yahoo.co.in>.
This looks related to http://jira.codehaus.org/browse/MRELEASE-526

-- 
View this message in context: http://n2.nabble.com/Issue-with-release-plug-in-copying-incorrect-scm-path-to-create-tag-tp4857506p4857770.html
Sent from the maven users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org