You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Phil Steitz (JIRA)" <ji...@codehaus.org> on 2005/09/05 09:20:02 UTC

[jira] Created: (MPSCM-65) When pom.repository.connection ends with " /" checkout fails (patch)

When pom.repository.connection ends with " /"  checkout fails (patch)
---------------------------------------------------------------------

         Key: MPSCM-65
         URL: http://jira.codehaus.org/browse/MPSCM-65
     Project: maven-scm-plugin
        Type: Bug
 Reporter: Phil Steitz
 Attachments: scm-patch.txt

When pom.repository.connection includes a terminating /, the generated URL for checkouts is incorrect.  For example,  if pom.repository.connection is "http://svn.apache.org/repos/asf/maven/maven-1/core/trunk/" then 
maven scm:checkout -Dmaven.scm.tag=MAVEN_1_0_2 
results in a (failed) attempt to check out https://svn.apache.org/repos/asf/maven/maven-1/core/trunk/tags/MAVEN_1_0_2

The attached patch works around this problem, but is a little ugly, since what really should be patched is the parseUrl method in o.a.m.scm.provider.svn.repository.ScmProviderRepository.

This problem also affects the JDiff plugin (1.5) which uses the scm tag library.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (MPSCM-65) When pom.repository.connection ends with " /" checkout fails (patch)

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPSCM-65?page=all ]
     
Lukas Theussl closed MPSCM-65:
------------------------------

     Resolution: Fixed
    Fix Version: 1.6

Patch applied. Thanks!

> When pom.repository.connection ends with " /"  checkout fails (patch)
> ---------------------------------------------------------------------
>
>          Key: MPSCM-65
>          URL: http://jira.codehaus.org/browse/MPSCM-65
>      Project: maven-scm-plugin
>         Type: Bug

>     Reporter: Phil Steitz
>      Fix For: 1.6
>  Attachments: scm-patch.txt
>
>
> When pom.repository.connection includes a terminating /, the generated URL for checkouts is incorrect.  For example,  if pom.repository.connection is "http://svn.apache.org/repos/asf/maven/maven-1/core/trunk/" then 
> maven scm:checkout -Dmaven.scm.tag=MAVEN_1_0_2 
> results in a (failed) attempt to check out https://svn.apache.org/repos/asf/maven/maven-1/core/trunk/tags/MAVEN_1_0_2
> The attached patch works around this problem, but is a little ugly, since what really should be patched is the parseUrl method in o.a.m.scm.provider.svn.repository.ScmProviderRepository.
> This problem also affects the JDiff plugin (1.5) which uses the scm tag library.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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