Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Duplicate
-
1.0.2
-
None
-
None
-
Running Continuum on Ubuntu Linux, using Subversion for SCM
Description
When I try to add my Maven 2 project using a url in the form:
https://user:pwd@svn.hostname.com/svn/project/trunk/pom.xml
I get the error [The URL you provided doesn't exist] along with the following stack in the log:
3484656 [SocketListener0-1] INFO org.codehaus.plexus.formica.validation.Validator:url-source - An error is occurred.
java.io.IOException: HTTPS hostname wrong: should be <svn.hostname.com>
at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
at java.net.URL.openStream(URL.java:1007)
at org.codehaus.plexus.formica.util.MungedHttpsURL.isValid(MungedHttpsURL.java:111)
at org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:63)
at org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultFormManager.java:195)
at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:124)
at org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManager.java:114)
at org.codehaus.plexus.formica.action.AbstractEntityAction.execute(AbstractEntityAction.java:107)
at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68)
at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
I found earlier bugs that were supposed to address this problem, I believe, but I don't think it's fixed. I had a look at the code, and the problem seems to be happening on this line:
InputStream is = url.openStream();
Could this have to do with the JSK being used perhaps? FYI, I am using jdk1.5.0_06
Attachments
Issue Links
- duplicates
-
CONTINUUM-587 Cannot reference POM via http link with authentication
- Closed