Continuum
  1. Continuum
  2. CONTINUUM-1978

regression from 1.1 to 1.2.2: Add Maven 2.0+ Project using https POM Url where the source server has self signed certificate

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.2.3, 1.3.1 (Alpha)
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      Using the stand-alone continuum in both cases, when upgrading from 1.1 to 1.2.2 this problem exists:

      1. Add Maven 2.0+ Project, enter https POM Url. For instance:

      https://example.com/path/to/pom.xml

      (example.com has a self signed certificate)

      This causes an error shown in the logs:

      2008-11-17 17:05:59,313 [addMavenTwoProjectBackgroundThread] INFO action#create-projects-from-metadata - checking for settings auth setup
      2008-11-17 17:05:59,377 [addMavenTwoProjectBackgroundThread] INFO continuumProjectBuilder#maven-two-builder - Downloading https://svn-impact.vzbi.com/impac
      t/trunk/pom.xml
      2008-11-17 17:06:04,895 [addMavenTwoProjectBackgroundThread] INFO continuumProjectBuilder#maven-two-builder - Error adding project: Unknown error downloadi
      ng from https://example.com/path/to/pom.xml
      javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
      at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:345)
      at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:129)
      at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:322)
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:129)
      at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
      at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:347)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
      at org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:127)
      at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.readModules(MavenTwoContinuumProjectBuilder.java:154)
      at org.apache.maven.continuum.project.builder.maven.MavenTwoContinuumProjectBuilder.buildProjectsFromMetadata(MavenTwoContinuumProjectBuilder.java:12
      9)
      at org.apache.maven.continuum.core.action.CreateProjectsFromMetadataAction.execute(CreateProjectsFromMetadataAction.java:146)
      at org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinuum.java:2992)
      at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:1839)
      at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:2006)
      at org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:1661)
      at org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:108)
      at org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:168)
      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 com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
      at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
      at com.opensymphony.webwork.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:35)
      at java.lang.Thread.run(Thread.java:595)
      2008-11-17 17:06:04,910 [addMavenTwoProjectBackgroundThread] INFO continuum - Created 0 projects.
      2008-11-17 17:06:04,910 [addMavenTwoProjectBackgroundThread] INFO continuum - Created 0 project groups.
      2008-11-17 17:06:04,911 [addMavenTwoProjectBackgroundThread] INFO continuum - 1 errors.
      2008-11-17 17:06:04,912 [addMavenTwoProjectBackgroundThread] INFO continuum - 1 errors during project add:
      2008-11-17 17:06:04,913 [addMavenTwoProjectBackgroundThread] INFO continuum -

        Activity

        Hide
        Olivier Lamy added a comment -

        fix in rev 722624 1.2.x branch
        merge in trunk rev 722631

        Show
        Olivier Lamy added a comment - fix in rev 722624 1.2.x branch merge in trunk rev 722631

          People

          • Assignee:
            Olivier Lamy
            Reporter:
            deckrider
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: