You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by "Johnny R. Ruiz " <jr...@exist.com> on 2005/10/27 10:16:38 UTC

Unable to load M1 Project by URL

Hi,

I'm trying to add maven1 project :  
https://svn.activemq.org/activemq/branches/activemq-4-0/activemq/project.xml

The url is working when trying it to a browser but when using in 
continuum, it says that is not a valid url.

What could be wrong?


Thanks,
Johnny

Re: Unable to load M1 Project by URL

Posted by Emmanuel Venisse <em...@venisse.net>.
The certificate of this url isn't correct. It's a certificat for codehaus sites.

The exception is :

java.io.IOException: HTTPS hostname wrong:  should be <svn.activemq.org>
         at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:493)
         at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:418)
         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:102)
         at 
org.codehaus.plexus.formica.validation.UrlSourceValidator.validate(UrlSourceValidator.java:60)
         at 
org.codehaus.plexus.formica.validation.UrlSourceValidatorTest.testValidatorWithCertifiedHttpsSourceUrl(UrlSou
rceValidatorTest.java:61)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.codehaus.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:246)
         at org.codehaus.surefire.battery.JUnitBattery.execute(JUnitBattery.java:220)
         at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:203)
         at org.codehaus.surefire.Surefire.run(Surefire.java:152)
         at org.codehaus.surefire.Surefire.run(Surefire.java:76)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:296)
         at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:399)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:46
9)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:301)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Johnny R. Ruiz a écrit :
> Hi,
> 
> I'm trying to add maven1 project :  
> https://svn.activemq.org/activemq/branches/activemq-4-0/activemq/project.xml 
> 
> 
> The url is working when trying it to a browser but when using in 
> continuum, it says that is not a valid url.
> 
> What could be wrong?
> 
> 
> Thanks,
> Johnny
>