You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "M (JIRA)" <ji...@codehaus.org> on 2010/11/19 11:16:06 UTC

[jira] Created: (CONTINUUM-2585) adding a new maven project from pom url whith cvsweb

adding a new maven project from pom url whith cvsweb
----------------------------------------------------

                 Key: CONTINUUM-2585
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2585
             Project: Continuum
          Issue Type: Bug
          Components: Web - UI
    Affects Versions: 1.3.6
         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); cvs for software revision control
            Reporter: M
         Attachments: patch.txt

This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
but the backend is retrieving the wrong pom url 
https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)

The part after the ? character is truncated.



-- 
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-2585) adding a new maven project from pom url whith cvsweb

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

Brett Porter commented on CONTINUUM-2585:
-----------------------------------------

thanks for the improved patch. I'm happy to apply that.

Before that, is it possible you could add a unit test?

> adding a new maven project from pom url whith cvsweb
> ----------------------------------------------------
>
>                 Key: CONTINUUM-2585
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2585
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.6
>         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); cvs for software revision control
>            Reporter: M
>         Attachments: continuum_import_project_patch.txt, patch.txt
>
>
> This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
> In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
> https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
> but the backend is retrieving the wrong pom url 
> https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)
> The part after the ? character is truncated.

-- 
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] (CONTINUUM-2585) adding a new maven project from pom url whith cvsweb

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

Brett Porter updated CONTINUUM-2585:
------------------------------------

    Fix Version/s:     (was: 1.4.1)
                   1.4.2
    
> adding a new maven project from pom url whith cvsweb
> ----------------------------------------------------
>
>                 Key: CONTINUUM-2585
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2585
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.6
>         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); cvs for software revision control
>            Reporter: M
>             Fix For: 1.4.2
>
>         Attachments: continuum_import_project_patch.txt, patch.txt
>
>
> This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
> In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
> https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
> but the backend is retrieving the wrong pom url 
> https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)
> The part after the ? character is truncated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-2585) adding a new maven project from pom url whith cvsweb

Posted by "M (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246096#action_246096 ] 

M commented on CONTINUUM-2585:
------------------------------

The file continuum_import_project_patch.txt contains the unified diff. Go to ${CONTINUUM_SRC}/continuum-webapp directory and issue the command "patch -p0 < ${PATH_TO_PATCH}/continuum_import_project_patch.txt" or import it through eclipse or similar tool.

> adding a new maven project from pom url whith cvsweb
> ----------------------------------------------------
>
>                 Key: CONTINUUM-2585
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2585
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.6
>         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); cvs for software revision control
>            Reporter: M
>         Attachments: continuum_import_project_patch.txt, patch.txt
>
>
> This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
> In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
> https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
> but the backend is retrieving the wrong pom url 
> https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)
> The part after the ? character is truncated.

-- 
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] (CONTINUUM-2585) adding a new maven project from pom url whith cvsweb

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

Brett Porter updated CONTINUUM-2585:
------------------------------------

    Fix Version/s:     (was: Backlog)
                   1.4.1
    
> adding a new maven project from pom url whith cvsweb
> ----------------------------------------------------
>
>                 Key: CONTINUUM-2585
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2585
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.6
>         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); cvs for software revision control
>            Reporter: M
>             Fix For: 1.4.1
>
>         Attachments: continuum_import_project_patch.txt, patch.txt
>
>
> This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
> In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
> https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
> but the backend is retrieving the wrong pom url 
> https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)
> The part after the ? character is truncated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-2585) adding a new maven project from pom url whith cvsweb

Posted by "M (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243730#action_243730 ] 

M commented on CONTINUUM-2585:
------------------------------

Sorry, I forgot to tell how to apply the patch... 
The patch must be applied to the class org/apache/maven/continuum/web/action/AddMavenProjectAction.java of the component continuum-webapp

> adding a new maven project from pom url whith cvsweb
> ----------------------------------------------------
>
>                 Key: CONTINUUM-2585
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2585
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.6
>         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); cvs for software revision control
>            Reporter: M
>         Attachments: patch.txt
>
>
> This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
> In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
> https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
> but the backend is retrieving the wrong pom url 
> https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)
> The part after the ? character is truncated.

-- 
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-2585) adding a new maven project from pom url whith cvsweb

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

Brett Porter updated CONTINUUM-2585:
------------------------------------

    Fix Version/s: 1.4.2 (Beta)

> adding a new maven project from pom url whith cvsweb
> ----------------------------------------------------
>
>                 Key: CONTINUUM-2585
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2585
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.6
>         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); cvs for software revision control
>            Reporter: M
>             Fix For: 1.4.2 (Beta)
>
>         Attachments: continuum_import_project_patch.txt, patch.txt
>
>
> This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
> In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
> https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
> but the backend is retrieving the wrong pom url 
> https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)
> The part after the ? character is truncated.

-- 
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-2585) adding a new maven project from pom url whith cvsweb

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

M updated CONTINUUM-2585:
-------------------------

    Attachment: continuum_import_project_patch.txt

> adding a new maven project from pom url whith cvsweb
> ----------------------------------------------------
>
>                 Key: CONTINUUM-2585
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2585
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.6
>         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); cvs for software revision control
>            Reporter: M
>         Attachments: continuum_import_project_patch.txt, patch.txt
>
>
> This issue occurs when cvsweb(http/https) is the preferred method for retrieving remote pom.xml.
> In web interface, the import of a maven project via pom url fails, because the pom.xml url is in the form:
> https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
> but the backend is retrieving the wrong pom url 
> https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)
> The part after the ? character is truncated.

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