Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-20023

Maven build with JDK 7 fails due to "protocol_version" error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: Buildbot, maven
    • Labels:
      None
    • Project:
      Infrastructure

      Description

      Since few days Wicket 7.x builds fail with the following error:

      [INFO] Scanning for projects...
      Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-ssh-external/2.6/wagon-ssh-external-2.6.pom
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-ssh-external:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-ssh-external:jar:2.6 @
       @
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR] The project org.apache.wicket:wicket-parent:7.17.0-SNAPSHOT (/home/buildslave/slave/wicket-branch-7.x/build/pom.xml) has 1 error
      [ERROR] Unresolveable build extension: Plugin org.apache.maven.wagon:wagon-ssh-external:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.wagon:wagon-ssh-external:jar:2.6: Could not transfer artifact org.apache.maven.wagon:wagon-ssh-external:pom:2.6 from/to central (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version -> [Help 2]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException


      https://search.maven.org/artifact/org.apache.maven.wagon/wagon-ssh-external/2.6/jar does exist!

      Error "Received fatal alert: protocol_version" means that the SSL/TLS version is not OK.
      I think we should add "-Dhttps.protocols=TLSv1.2" to MAVEN_OPTS env variable for all Java 7 builds.

      There were no changes in Wicket 7.x pom.xml since a long time!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgrigorov Martin Tzvetanov Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: