Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-4478

wagon-maven-plugin Unable to build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.8.1
    • 0.8.1
    • build
    • None

    Description

      There is a build error exception after downloading the source code

      mvn -X -e clean package -DskipTests -Pspark-2.0 -Phadoop-2.4 -Pr -Pscala-2.11

       I use the apache-maven-3.6.3 ,jdk8 ,scala 2.11.0.

       

       

      Importing foreign packages into class realm plugin>org.codehaus.mojo:wagon-maven-plugin:1.0

      [DEBUG]   Imported:  < project>org.apache.zeppelin:zeppelin-python:0.8.2

      [DEBUG] Populating class realm plugin>org.codehaus.mojo:wagon-maven-plugin:1.0

      [DEBUG]   Included: org.codehaus.mojo:wagon-maven-plugin:jar:1.0

      [DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11

      [DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1

      [DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6

      [DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6

      [DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.2.1

      [DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1

      [DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1

      [DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4

      [DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3

      [DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4

      [DEBUG]   Included: commons-cli:commons-cli:jar:1.2

      [DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.21

      [DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:2.9

      [DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:2.4

      [DEBUG]   Included: commons-io:commons-io:jar:2.2

      [DEBUG]   Included: org.apache.commons:commons-compress:jar:1.9

      [DEBUG]   Included: org.apache.maven.shared:file-management:jar:1.2.1

      [DEBUG]   Included: org.apache.maven.shared:maven-shared-io:jar:1.1

      [DEBUG] Configuring mojo org.codehaus.mojo:wagon-maven-plugin:1.0:download-single from plugin realm ClassRealm[plugin>org.codehaus.mojo:wagon-maven-plugin:1.0, parent: sun.misc.Launcher$AppClassLoader@53d9f80]

      [DEBUG] Configuring mojo 'org.codehaus.mojo:wagon-maven-plugin:1.0:download-single' with basic configurator -->

      [DEBUG]   (f) fromFile = py4j-0.9.2.zip

      [DEBUG]   (f) project = MavenProject: org.apache.zeppelin:zeppelin-python:0.8.2 @ /Users/ltz/Documents/IDEA/WORK/zeppelin-0.8.2/python/.flattened-pom.xml

      [DEBUG]   (f) serverId = serverId

      [DEBUG]   (f) settings = org.apache.maven.execution.SettingsAdapter@1a22dca0

      [DEBUG]   (f) skip = false

      [DEBUG]   (f) toFile = /Users/ltz/Documents/IDEA/WORK/zeppelin-0.8.2/python/target/../../interpreter/python/py4j-0.9.2.zip

      [DEBUG]   (f) url = https://pypi.python.org/packages/64/5c/01e13b68e8caafece40d549f232c9b5677ad1016071a48d04cc3895acaa3

      [DEBUG] – end configuration –

      https://pypi.python.org/packages/64/5c/01e13b68e8caafece40d549f232c9b5677ad1016071a48d04cc3895acaa3 - Session: Opened 

      [INFO] Downloading: https://pypi.python.org/packages/64/5c/01e13b68e8caafece40d549f232c9b5677ad1016071a48d04cc3895acaa3/py4j-0.9.2.zip to /Users/ltz/Documents/IDEA/WORK/zeppelin-0.8.2/python/target/../../interpreter/python/py4j-0.9.2.zip

      Transfer error: javax.net.ssl.SSLException: Received fatal alert: protocol_version

      Transfer error: org.apache.maven.wagon.TransferFailedException: Received fatal alert: protocol_version

      https://pypi.python.org/packages/64/5c/01e13b68e8caafece40d549f232c9b5677ad1016071a48d04cc3895acaa3 - Session: Disconnecting 

      https://pypi.python.org/packages/64/5c/01e13b68e8caafece40d549f232c9b5677ad1016071a48d04cc3895acaa3 - Session: Disconnected

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Summary:

      [INFO]

      [INFO] Zeppelin ........................................... SUCCESS [01:50 min]

      [INFO] Zeppelin: Interpreter Parent ....................... SUCCESS [  0.285 s]

      [INFO] Zeppelin: Interpreter .............................. SUCCESS [ 33.341 s]

      [INFO] Zeppelin: Zengine .................................. SUCCESS [ 56.271 s]

      [INFO] Zeppelin: Display system apis ...................... SUCCESS [ 24.791 s]

      [INFO] Zeppelin: Groovy interpreter ....................... SUCCESS [  1.803 s]

      [INFO] Zeppelin: Spark Scala Parent ....................... SUCCESS [ 58.933 s]

      [INFO] Zeppelin: Spark Interpreter Scala_2.10 ............. SUCCESS [ 25.210 s]

      [INFO] Zeppelin: Spark Interpreter Scala_2.11 ............. SUCCESS [  9.381 s]

      [INFO] Zeppelin: Spark Parent ............................. SUCCESS [  6.736 s]

      [INFO] Zeppelin: Spark Shims .............................. SUCCESS [  2.546 s]

      [INFO] Zeppelin: Spark1 Shims ............................. SUCCESS [ 17.411 s]

      [INFO] Zeppelin: Spark2 Shims ............................. SUCCESS [  4.692 s]

      [INFO] Zeppelin: Python interpreter ....................... FAILURE [ 17.367 s]

      [INFO] Zeppelin: Spark Interpreter ........................ SKIPPED

      [INFO] Zeppelin: Spark dependencies ....................... SKIPPED

      [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED

      [INFO] Zeppelin: Angular interpreter ...................... SKIPPED

      [INFO] Zeppelin: Shell interpreter ........................ SKIPPED

      [INFO] Zeppelin: Livy interpreter ......................... SKIPPED

      [INFO] Zeppelin: HBase interpreter ........................ SKIPPED

      [INFO] Zeppelin: Apache Pig Interpreter ................... SKIPPED

      [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED

      [INFO] Zeppelin: File System Interpreters ................. SKIPPED

      [INFO] Zeppelin: Flink .................................... SKIPPED

      [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED

      [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED

      [INFO] Zeppelin: Lens interpreter ......................... SKIPPED

      [INFO] Zeppelin: Apache Cassandra interpreter ............. SKIPPED

      [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED

      [INFO] Zeppelin: BigQuery interpreter ..................... SKIPPED

      [INFO] Zeppelin: Alluxio interpreter ...................... SKIPPED

      [INFO] Zeppelin: Scio ..................................... SKIPPED

      [INFO] Zeppelin: Neo4j interpreter ........................ SKIPPED

      [INFO] Zeppelin: Sap ...................................... SKIPPED

      [INFO] Zeppelin: web Application .......................... SKIPPED

      [INFO] Zeppelin: Server ................................... SKIPPED

      [INFO] Zeppelin: Jupyter Support .......................... SKIPPED

      [INFO] Zeppelin: Packaging distribution ................... SKIPPED

      [INFO] Zeppelin: R Interpreter ............................ SKIPPED

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 06:15 min

      [INFO] Finished at: 2019-12-11T11:16:24+08:00

      [INFO] Final Memory: 130M/810M

      [INFO] ------------------------------------------------------------------------

      [WARNING] The requested profile "hadoop-2.4" could not be activated because it does not exist.

      [ERROR] Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:1.0:download-single (default) on project zeppelin-python: Error handling resource: Received fatal alert: protocol_version -> [Help 1]

      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:wagon-maven-plugin:1.0:download-single (default) on project zeppelin-python: Error handling resource

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)

      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

      at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:606)

      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

      Caused by: org.apache.maven.plugin.MojoExecutionException: Error handling resource

      at org.codehaus.mojo.wagon.AbstractSingleWagonMojo.execute(AbstractSingleWagonMojo.java:68)

      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)

      ... 20 more

      Caused by: org.apache.maven.wagon.TransferFailedException: Received fatal alert: protocol_version

      at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:1066)

      at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:960)

      at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)

      at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)

      at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)

      at org.codehaus.mojo.wagon.DownloadSingleMojo.execute(DownloadSingleMojo.java:82)

      at org.codehaus.mojo.wagon.AbstractSingleWagonMojo.execute(AbstractSingleWagonMojo.java:64)

      ... 22 more

      Caused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version

      at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)

      at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)

      at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)

      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)

      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)

      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)

      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)

      at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)

      at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:254)

      at org.apache.maven.wagon.providers.http.httpclient.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)

      at org.apache.maven.wagon.providers.http.httpclient.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)

      at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)

      at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.execute(MainClientExec.java:219)

      at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)

      at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute(RetryExec.java:86)

      at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute(RedirectExec.java:108)

      at org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)

      at org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

      at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:832)

      at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:983)

      ... 28 more

      [ERROR]

      [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/MojoExecutionException

      [ERROR]

      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR]   mvn <goals> -rf :zeppelin-python

      Attachments

        1. settings.xml
          10 kB
          Benjamin

        Activity

          People

            Unassigned Unassigned
            liangtao_zhang Benjamin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: