Re: Configuring Continuum to authenticate with SCM

2006-10-13 Thread Martin Burger


Jesse McConnell wrote:
> 
> that should bypass certificates as well, there is something janky with
> it right now as well so you _may_ need to hit that url, then with the
> s in the https with the same url and then again the url above.  there
> is a jira ticket on that strangeness
> 

I was not able to find such a ticket. So, I created a new one.

See: http://jira.codehaus.org/browse/CONTINUUM-957

Regards, Martin Burger
-- 
View this message in context: 
http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a6795535
Sent from the Continuum - Users mailing list archive at Nabble.com.



Re: Configuring Continuum to authenticate with SCM

2006-08-04 Thread Tim Morrow 2

Would one approach be to support the Maven "scm:" style URLs which seem to
delegate to the underlying SCM implementation to ensure authentication (and
certificate acceptance) have been performed?

Not that I'm volunteering... (yet).

Thanks for the response,

Tim

-- 
View this message in context: 
http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a5653518
Sent from the Continuum - Users forum at Nabble.com.



Re: Configuring Continuum to authenticate with SCM

2006-08-04 Thread Jesse McConnell

last I looked (6-8 months ago) it will take come changes not just in
continuum but in the scm code and down into plexus-formica as well...
some api changing/adding mostly.   it will get sorted out

anyone interested in tackling it I can point you in what I think is
the right direction

jesse

On 8/4/06, Tim Morrow 2 <[EMAIL PROTECTED]> wrote:


I have the same problem.  However I figured out my issue for now (see below).

Meanwhile might I suggest you take a look in
apps/continuum/logs/continuum.log and check for the specific nature of the
error and post it here.  It might reveal the core problem.

I had the same problem when omitting the username & password:
When I try to add a maven 2 project with
  https://host/svn//pom.xml
I get "The URL you provided doesn't exist" with this in the logs:
java.io.IOException: Server returned HTTP response code: 401 for URL:
https://svn.shopzilla.com/svn/ConsumerAcquisition/dev/bidding/trunk/keywordcost/pom.xml

When I tried
  https://username:[EMAIL PROTECTED]/svn//pom.xml
I get "The URL you provided doesn't exist"

But it turns out my password has an "@" in it, which confuses the URL
parser.  This was made clear by examining the log file.

I'm going to work on setting up a user with a simpler password.  Meanwhile,
is there any other sane way of specifying the username/password for an https
url for adding the project?  Or is there another mechanism for locating the
pom.xml (which is a multi-module project)?

Thanks,

Tim

--
View this message in context: 
http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a5653237
Sent from the Continuum - Users forum at Nabble.com.





--
jesse mcconnell
[EMAIL PROTECTED]


Re: Configuring Continuum to authenticate with SCM

2006-08-04 Thread Tim Morrow 2

I have the same problem.  However I figured out my issue for now (see below).

Meanwhile might I suggest you take a look in
apps/continuum/logs/continuum.log and check for the specific nature of the
error and post it here.  It might reveal the core problem.

I had the same problem when omitting the username & password:
When I try to add a maven 2 project with
  https://host/svn//pom.xml
I get "The URL you provided doesn't exist" with this in the logs:
java.io.IOException: Server returned HTTP response code: 401 for URL:
https://svn.shopzilla.com/svn/ConsumerAcquisition/dev/bidding/trunk/keywordcost/pom.xml

When I tried
  https://username:[EMAIL PROTECTED]/svn//pom.xml
I get "The URL you provided doesn't exist"

But it turns out my password has an "@" in it, which confuses the URL
parser.  This was made clear by examining the log file.

I'm going to work on setting up a user with a simpler password.  Meanwhile,
is there any other sane way of specifying the username/password for an https
url for adding the project?  Or is there another mechanism for locating the
pom.xml (which is a multi-module project)?

Thanks,

Tim

-- 
View this message in context: 
http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a5653237
Sent from the Continuum - Users forum at Nabble.com.



Re: Configuring Continuum to authenticate with SCM

2006-07-27 Thread Jettro Coenradie

There is still a question hanging around in my head related to this issue.
If I try to add a project with the following url I get a message that the
url is not valid

https://username:[EMAIL PROTECTED]/svn/name/pom.xml

"You must provide a valid url (...)"

I cannot seem to get this to work, if I omit the username:password@ stuff I
receive a 401 response. Anyone has any ideas?

On 7/26/06, Jesse McConnell <[EMAIL PROTECTED]> wrote:


you should just need to setup the settings.xml file for the user that
is running the continuum instance.

general rule of thumb is that if you can run it from the commandline
it ought to run in continuum.

There is a url format that you can use when pointing at the top lvl
pom.xml when adding the m2 project

https://username:[EMAIL PROTECTED]/scm/foo/pom.xml

that should bypass certificates as well, there is something janky with
it right now as well so you _may_ need to hit that url, then with the
s in the https with the same url and then again the url above.  there
is a jira ticket on that strangeness

jesse

On 7/26/06, Chris Audley <[EMAIL PROTECTED]> wrote:
> I'm new to Continuum and I'm trying to get my first project up and
> running.
>
> The code for the project is stored in a subversion repository accessed
> through secure HTTP (Apache server).  All access to the repository
> requires authentication.  I can create an account for the continuum
> server, but how do I configure the account information in pom.xml and
> settings.xml for the server to authenticate?
>
> Thanks for any help
> Chris
>


--
jesse mcconnell
[EMAIL PROTECTED]



Re: Configuring Continuum to authenticate with SCM

2006-07-26 Thread Jesse McConnell

you should just need to setup the settings.xml file for the user that
is running the continuum instance.

general rule of thumb is that if you can run it from the commandline
it ought to run in continuum.

There is a url format that you can use when pointing at the top lvl
pom.xml when adding the m2 project

https://username:[EMAIL PROTECTED]/scm/foo/pom.xml

that should bypass certificates as well, there is something janky with
it right now as well so you _may_ need to hit that url, then with the
s in the https with the same url and then again the url above.  there
is a jira ticket on that strangeness

jesse

On 7/26/06, Chris Audley <[EMAIL PROTECTED]> wrote:

I'm new to Continuum and I'm trying to get my first project up and
running.

The code for the project is stored in a subversion repository accessed
through secure HTTP (Apache server).  All access to the repository
requires authentication.  I can create an account for the continuum
server, but how do I configure the account information in pom.xml and
settings.xml for the server to authenticate?

Thanks for any help
Chris




--
jesse mcconnell
[EMAIL PROTECTED]


Configuring Continuum to authenticate with SCM

2006-07-26 Thread Chris Audley
I'm new to Continuum and I'm trying to get my first project up and
running.

The code for the project is stored in a subversion repository accessed
through secure HTTP (Apache server).  All access to the repository
requires authentication.  I can create an account for the continuum
server, but how do I configure the account information in pom.xml and
settings.xml for the server to authenticate?

Thanks for any help
Chris