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

[jira] Created: (CONTINUUM-426) cannot add project using url with authentication (https)

cannot add project using url with authentication (https)
--------------------------------------------------------

         Key: CONTINUUM-426
         URL: http://jira.codehaus.org/browse/CONTINUUM-426
     Project: Continuum
        Type: Bug
  Components: continuum-web  
    Versions: 1.0    
 Environment: continuum 1.0 on linux
    Reporter: Dan Allen


There seems to be no possible way for me to get continuum to accept an svn url in the following format:

http://[username]:[password]@hostname/repos/svn/project/trunk/pom.xml

I continually get "Invalid url" or "pom.xml cannot be found" errors.

In this case, the pom.xml is a parent with several sub modules.  If I attempt to import a local pom.xml, I get the error that /tmp/summit-2 cannot be found for each pom.xml in a sub module.

I have beat my head against a way, trying tricks such as checking out into /tmp/summit-2, then importing and eventually I can force continuum to find my files doing some commandline checkouts, but it is WAY to much work for a regular user.

SUGGESTION:  It would be nice to have an editor similar to the one you get when editing a project's information on the import screen.  It would make life a whole bunch easier just to be able to enter values for all the relevant fields and then watch continuum attempt a checkout.

-- 
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-426) cannot add project using url with authentication (https)

Posted by "Dan Allen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-426?page=comments#action_50206 ] 

Dan Allen commented on CONTINUUM-426:
-------------------------------------

The sample url provided above should be an "https" url since that is my specific test case.  I cannot confirm if this happens with non-SSL urls.

> cannot add project using url with authentication (https)
> --------------------------------------------------------
>
>          Key: CONTINUUM-426
>          URL: http://jira.codehaus.org/browse/CONTINUUM-426
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Versions: 1.0
>  Environment: continuum 1.0 on linux
>     Reporter: Dan Allen

>
> Original Estimate: 2 days
>         Remaining: 2 days
>
> There seems to be no possible way for me to get continuum to accept an svn url in the following format:
> http://[username]:[password]@hostname/repos/svn/project/trunk/pom.xml
> I continually get "Invalid url" or "pom.xml cannot be found" errors.
> In this case, the pom.xml is a parent with several sub modules.  If I attempt to import a local pom.xml, I get the error that /tmp/summit-2 cannot be found for each pom.xml in a sub module.
> I have beat my head against a way, trying tricks such as checking out into /tmp/summit-2, then importing and eventually I can force continuum to find my files doing some commandline checkouts, but it is WAY to much work for a regular user.
> SUGGESTION:  It would be nice to have an editor similar to the one you get when editing a project's information on the import screen.  It would make life a whole bunch easier just to be able to enter values for all the relevant fields and then watch continuum attempt a checkout.

-- 
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-426) cannot add project using url with authentication (https)

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-426?page=comments#action_59637 ] 

Emmanuel Venisse commented on CONTINUUM-426:
--------------------------------------------

scm:checkout goal doesn't run on sub-modules so -N isn't necessary.

Do you use scm:checkout in continuum? why?

What is your project structure?

> cannot add project using url with authentication (https)
> --------------------------------------------------------
>
>          Key: CONTINUUM-426
>          URL: http://jira.codehaus.org/browse/CONTINUUM-426
>      Project: Continuum
>         Type: Bug

>   Components: Web interface
>     Versions: 1.0
>  Environment: continuum 1.0 on linux
>     Reporter: Dan Allen

>
> Original Estimate: 2 days
>         Remaining: 2 days
>
> There seems to be no possible way for me to get continuum to accept an svn url in the following format:
> http://[username]:[password]@hostname/repos/svn/project/trunk/pom.xml
> I continually get "Invalid url" or "pom.xml cannot be found" errors.
> In this case, the pom.xml is a parent with several sub modules.  If I attempt to import a local pom.xml, I get the error that /tmp/summit-2 cannot be found for each pom.xml in a sub module.
> I have beat my head against a way, trying tricks such as checking out into /tmp/summit-2, then importing and eventually I can force continuum to find my files doing some commandline checkouts, but it is WAY to much work for a regular user.
> SUGGESTION:  It would be nice to have an editor similar to the one you get when editing a project's information on the import screen.  It would make life a whole bunch easier just to be able to enter values for all the relevant fields and then watch continuum attempt a checkout.

-- 
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-426) cannot add project using url with authentication (https)

Posted by "Dan Allen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-426?page=comments#action_50215 ] 

Dan Allen commented on CONTINUUM-426:
-------------------------------------

My report seems a bit rushed because I was short on time.  I do have detailed error logs that I could provide, which I will upload as soon as I get to attempting another import.

> cannot add project using url with authentication (https)
> --------------------------------------------------------
>
>          Key: CONTINUUM-426
>          URL: http://jira.codehaus.org/browse/CONTINUUM-426
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Versions: 1.0
>  Environment: continuum 1.0 on linux
>     Reporter: Dan Allen

>
> Original Estimate: 2 days
>         Remaining: 2 days
>
> There seems to be no possible way for me to get continuum to accept an svn url in the following format:
> http://[username]:[password]@hostname/repos/svn/project/trunk/pom.xml
> I continually get "Invalid url" or "pom.xml cannot be found" errors.
> In this case, the pom.xml is a parent with several sub modules.  If I attempt to import a local pom.xml, I get the error that /tmp/summit-2 cannot be found for each pom.xml in a sub module.
> I have beat my head against a way, trying tricks such as checking out into /tmp/summit-2, then importing and eventually I can force continuum to find my files doing some commandline checkouts, but it is WAY to much work for a regular user.
> SUGGESTION:  It would be nice to have an editor similar to the one you get when editing a project's information on the import screen.  It would make life a whole bunch easier just to be able to enter values for all the relevant fields and then watch continuum attempt a checkout.

-- 
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-426) cannot add project using url with authentication (https)

Posted by "Dan Allen (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-426?page=comments#action_59622 ] 

Dan Allen commented on CONTINUUM-426:
-------------------------------------

I have more details.  The problem does not lie with the https authentication, but rather with maven2 itself.  As it turns out, our project uses the reactor and hence has multi modules.  The default command to checkout the project is

mvn scm:checkout

However, this fails because it cannot find the pom files in the nested modules because they haven't been checkout out yet (chicken before the egg problem).  To fix this, the maven2 developers informed me that I should be using the -N flag for non-recursive, which would allow the source to be checked out, and then built.

mvn -N scm:checkout

Is there anyway to make this the default for a continuum checkout?

> cannot add project using url with authentication (https)
> --------------------------------------------------------
>
>          Key: CONTINUUM-426
>          URL: http://jira.codehaus.org/browse/CONTINUUM-426
>      Project: Continuum
>         Type: Bug

>   Components: Web interface
>     Versions: 1.0
>  Environment: continuum 1.0 on linux
>     Reporter: Dan Allen

>
> Original Estimate: 2 days
>         Remaining: 2 days
>
> There seems to be no possible way for me to get continuum to accept an svn url in the following format:
> http://[username]:[password]@hostname/repos/svn/project/trunk/pom.xml
> I continually get "Invalid url" or "pom.xml cannot be found" errors.
> In this case, the pom.xml is a parent with several sub modules.  If I attempt to import a local pom.xml, I get the error that /tmp/summit-2 cannot be found for each pom.xml in a sub module.
> I have beat my head against a way, trying tricks such as checking out into /tmp/summit-2, then importing and eventually I can force continuum to find my files doing some commandline checkouts, but it is WAY to much work for a regular user.
> SUGGESTION:  It would be nice to have an editor similar to the one you get when editing a project's information on the import screen.  It would make life a whole bunch easier just to be able to enter values for all the relevant fields and then watch continuum attempt a checkout.

-- 
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-426) cannot add project using url with authentication (https)

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-426?page=comments#action_50212 ] 

Emmanuel Venisse commented on CONTINUUM-426:
--------------------------------------------

normally, it works fine. Do you have an error in your logs?

> cannot add project using url with authentication (https)
> --------------------------------------------------------
>
>          Key: CONTINUUM-426
>          URL: http://jira.codehaus.org/browse/CONTINUUM-426
>      Project: Continuum
>         Type: Bug
>   Components: continuum-web
>     Versions: 1.0
>  Environment: continuum 1.0 on linux
>     Reporter: Dan Allen

>
> Original Estimate: 2 days
>         Remaining: 2 days
>
> There seems to be no possible way for me to get continuum to accept an svn url in the following format:
> http://[username]:[password]@hostname/repos/svn/project/trunk/pom.xml
> I continually get "Invalid url" or "pom.xml cannot be found" errors.
> In this case, the pom.xml is a parent with several sub modules.  If I attempt to import a local pom.xml, I get the error that /tmp/summit-2 cannot be found for each pom.xml in a sub module.
> I have beat my head against a way, trying tricks such as checking out into /tmp/summit-2, then importing and eventually I can force continuum to find my files doing some commandline checkouts, but it is WAY to much work for a regular user.
> SUGGESTION:  It would be nice to have an editor similar to the one you get when editing a project's information on the import screen.  It would make life a whole bunch easier just to be able to enter values for all the relevant fields and then watch continuum attempt a checkout.

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