You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2008/04/09 19:45:58 UTC

[jira] Created: (CONTINUUM-1721) SCM connection url should be optional when adding m2 projects

SCM connection url should be optional when adding m2 projects
-------------------------------------------------------------

                 Key: CONTINUUM-1721
                 URL: http://jira.codehaus.org/browse/CONTINUUM-1721
             Project: Continuum
          Issue Type: Improvement
          Components: Integration - Maven 2
    Affects Versions: 1.1
            Reporter: Wendy Smoak


Currently when you add a Maven 2 project to Continuum, it complains if you don't have a scm connection url in the pom.

The scm elements are only really required for releasing, and not everyone uses the release feature of Maven/Continuum, so this should be optional.

We could... 
 * assume that the url you were given to fetch the pom from is also the scm url. 
 * default to Subversion, and make the prefix (scm:svn:) configurable

Related thread:  http://www.nabble.com/Making-scm-connection-optional-td16570945.html


-- 
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

        

[jira] Updated: (CONTINUUM-1721) SCM connection url should be optional when adding m2 projects

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-1721:
------------------------------------

    Fix Version/s: 1.4.x

> SCM connection url should be optional when adding m2 projects
> -------------------------------------------------------------
>
>                 Key: CONTINUUM-1721
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1721
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Integration - Maven 2
>    Affects Versions: 1.1
>            Reporter: Wendy Smoak
>             Fix For: 1.4.x
>
>
> Currently when you add a Maven 2 project to Continuum, it complains if you don't have a scm connection url in the pom.
> The scm elements are only really required for releasing, and not everyone uses the release feature of Maven/Continuum, so this should be optional.
> We could... 
>  * assume that the url you were given to fetch the pom from is also the scm url. 
>  * default to Subversion, and make the prefix (scm:svn:) configurable
> Related thread:  http://www.nabble.com/Making-scm-connection-optional-td16570945.html

-- 
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

        

[jira] Updated: (CONTINUUM-1721) SCM connection url should be optional when adding m2 projects

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-1721:
------------------------------------

    Fix Version/s:     (was: 1.4.1)
                   Backlog

> SCM connection url should be optional when adding m2 projects
> -------------------------------------------------------------
>
>                 Key: CONTINUUM-1721
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1721
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Integration - Maven 2
>    Affects Versions: 1.1
>            Reporter: Wendy Smoak
>             Fix For: Backlog
>
>
> Currently when you add a Maven 2 project to Continuum, it complains if you don't have a scm connection url in the pom.
> The scm elements are only really required for releasing, and not everyone uses the release feature of Maven/Continuum, so this should be optional.
> We could... 
>  * assume that the url you were given to fetch the pom from is also the scm url. 
>  * default to Subversion, and make the prefix (scm:svn:) configurable
> Related thread:  http://www.nabble.com/Making-scm-connection-optional-td16570945.html

-- 
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

        

[jira] Updated: (CONTINUUM-1721) SCM connection url should be optional when adding m2 projects

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-1721:
------------------------------------

    Fix Version/s: 1.x

> SCM connection url should be optional when adding m2 projects
> -------------------------------------------------------------
>
>                 Key: CONTINUUM-1721
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1721
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Integration - Maven 2
>    Affects Versions: 1.1
>            Reporter: Wendy Smoak
>             Fix For: 1.x
>
>
> Currently when you add a Maven 2 project to Continuum, it complains if you don't have a scm connection url in the pom.
> The scm elements are only really required for releasing, and not everyone uses the release feature of Maven/Continuum, so this should be optional.
> We could... 
>  * assume that the url you were given to fetch the pom from is also the scm url. 
>  * default to Subversion, and make the prefix (scm:svn:) configurable
> Related thread:  http://www.nabble.com/Making-scm-connection-optional-td16570945.html

-- 
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

        

[jira] Commented: (CONTINUUM-1721) SCM connection url should be optional when adding m2 projects

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=148664#action_148664 ] 

Wendy Smoak commented on CONTINUUM-1721:
----------------------------------------

There is a branch for this:  https://svn.apache.org/repos/asf/continuum/branches/CONTINUUM-1721

Originally, the scm username and password were inserted into the pom url very early-- in the action-- and the original pom url entered by the user was lost.

I've removed that code, so currently on the branch you can't add a project that requires authentication to retrieve the pom.  I think the code that inserts the credentials in the url belongs in a utility method somewhere closer to where the url-with-credentials actually gets used.  In addition, I ran across code that pulls the username and password back *out* of the url.

I started down the path of passing the url, username and password separately, but it's turning into quite a big change.  (not committed)

I need the original url preserved and available at the point where the Continuum scm url is set.  Comments welcome. :)

> SCM connection url should be optional when adding m2 projects
> -------------------------------------------------------------
>
>                 Key: CONTINUUM-1721
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1721
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Integration - Maven 2
>    Affects Versions: 1.1
>            Reporter: Wendy Smoak
>             Fix For: 1.x
>
>
> Currently when you add a Maven 2 project to Continuum, it complains if you don't have a scm connection url in the pom.
> The scm elements are only really required for releasing, and not everyone uses the release feature of Maven/Continuum, so this should be optional.
> We could... 
>  * assume that the url you were given to fetch the pom from is also the scm url. 
>  * default to Subversion, and make the prefix (scm:svn:) configurable
> Related thread:  http://www.nabble.com/Making-scm-connection-optional-td16570945.html

-- 
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

        

[jira] Commented: (CONTINUUM-1721) SCM connection url should be optional when adding m2 projects

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=173824#action_173824 ] 

Brett Porter commented on CONTINUUM-1721:
-----------------------------------------

it'd be good if we fixed this in a way that is consistent with CONTINUUM-1716 also, and the fact that updating from POMs could be optional via CONTINUUM-2188

> SCM connection url should be optional when adding m2 projects
> -------------------------------------------------------------
>
>                 Key: CONTINUUM-1721
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1721
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Integration - Maven 2
>    Affects Versions: 1.1
>            Reporter: Wendy Smoak
>             Fix For: 1.4.x
>
>
> Currently when you add a Maven 2 project to Continuum, it complains if you don't have a scm connection url in the pom.
> The scm elements are only really required for releasing, and not everyone uses the release feature of Maven/Continuum, so this should be optional.
> We could... 
>  * assume that the url you were given to fetch the pom from is also the scm url. 
>  * default to Subversion, and make the prefix (scm:svn:) configurable
> Related thread:  http://www.nabble.com/Making-scm-connection-optional-td16570945.html

-- 
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