You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Wojtek Ciesielski <cc...@interia.pl> on 2007/01/09 14:06:21 UTC

Configuring maven 2.0 project

Hi there,

I have problem with adding new maven 2.0 project via URL... How can I 
specify SVN authorization info (user/password) while specyfing 
connection URL?

Wojtek

Re: Configuring maven 2.0 project

Posted by Wojtek Ciesielski <cc...@interia.pl>.
Emmanuel Venisse wrote:
> What is the protocol you use to access to your pom? If it's 
> http/https, you can use this format: http[s]://user:pass@host:port/path
> If your pom is added correctly and it's only a pb for checkout, you 
> can set user/password in the Project Edit page
Thanks for advice but I've already tried this... Are you sure that this 
notation is supported over there? In the wrapper.log I am receiving

INFO   | jvm 1    | 2007/01/09 15:02:56 | 2007-01-09 15:02:56,833 [SocketListener0-0] INFO  Continuum    \
 - Could not download https://<here comes my svn url>/pom.xml: Server returned HTTP response code: 401 for URL: https://<my svn>/pom.xml


Re: Configuring maven 2.0 project

Posted by Emmanuel Venisse <em...@venisse.net>.
yes, it's a pb with the certificate, you can add it in your jdk.

There, a sample on how to install a certificate with keytool : http://docs.codehaus.org/display/HAUSMATES/WebDAV#WebDAV-InstallingtheAddTrustCAintotheJavaJDK

Wojtek Ciesielski a écrit :
> I think I might now what the problem is. I've tried to manually DL this 
> pom.xml with wget on the machine where continuum is installed. After 
> issuing such a command:
> 
> wget https://woci:<mypass>@<my svn url>/pom.xml
> 
> I got:
> 
> Resolving svn.<my-company>.pl... 10.1.1.3
> Connecting to svn.<my-company>.pl|10.1.1.3|:443... connected.
> ERROR: cannot verify svn.<my-company>.pl's certificate, issued by 
> `/C=PL/ST=Malopolska/L=Cracow/O=My Company/CN=My 
> Company/emailAddress=admin@<my-company>.pl':
>  Unable to locally verify the issuer's authority.
> To connect to svn.<my-company>.pl insecurely, use `--no-check-certificate'.
> Unable to establish SSL connection.
> 
> So it is a problem with certificate...
> 
> Wojtek
> 
> 
> 


Re: Configuring maven 2.0 project

Posted by Wojtek Ciesielski <cc...@interia.pl>.
I think I might now what the problem is. I've tried to manually DL this 
pom.xml with wget on the machine where continuum is installed. After 
issuing such a command:

wget https://woci:<mypass>@<my svn url>/pom.xml

I got:

Resolving svn.<my-company>.pl... 10.1.1.3
Connecting to svn.<my-company>.pl|10.1.1.3|:443... connected.
ERROR: cannot verify svn.<my-company>.pl's certificate, issued by 
`/C=PL/ST=Malopolska/L=Cracow/O=My Company/CN=My 
Company/emailAddress=admin@<my-company>.pl':
  Unable to locally verify the issuer's authority.
To connect to svn.<my-company>.pl insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.

So it is a problem with certificate...

Wojtek

Re: Configuring maven 2.0 project

Posted by Emmanuel Venisse <em...@venisse.net>.
What is the protocol you use to access to your pom? If it's http/https, you can use this format: http[s]://user:pass@host:port/path
If your pom is added correctly and it's only a pb for checkout, you can set user/password in the Project Edit page

Emmanuel

Wojtek Ciesielski a écrit :
> Hi there,
> 
> I have problem with adding new maven 2.0 project via URL... How can I 
> specify SVN authorization info (user/password) while specyfing 
> connection URL?
> 
> Wojtek
> 
> 
>