Skip to content

Conversation

@ravwojdyla
Copy link
Contributor

What is this PR for?

Fix version conflict on test in Zengine.

Error looks like this:

➜  zeppelin git:(master) mvn test -Pscala-2.10

<truncated>

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Zeppelin: Zengine 0.7.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-checkstyle-plugin:2.13:check (checkstyle-fail-build) @ zeppelin-zengine ---
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ zeppelin-zengine ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 17 resources
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce) @ zeppelin-zengine ---
[WARNING]
Dependency convergence error for org.codehaus.plexus:plexus-utils:2.0.7 paths to dependency are:
+-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
  +-org.apache.zeppelin:zeppelin-interpreter:0.7.0-SNAPSHOT
    +-org.sonatype.aether:aether-connector-wagon:1.12
      +-org.codehaus.plexus:plexus-utils:2.0.7
and
+-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
  +-org.apache.zeppelin:zeppelin-interpreter:0.7.0-SNAPSHOT
    +-org.sonatype.aether:aether-connector-wagon:1.12
      +-org.sonatype.sisu:sisu-inject-plexus:2.2.2
        +-org.codehaus.plexus:plexus-utils:2.0.7
and
+-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
  +-org.apache.commons:commons-vfs2:2.0
    +-org.apache.maven.scm:maven-scm-api:1.4
      +-org.codehaus.plexus:plexus-utils:1.5.6
and
+-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
  +-org.apache.commons:commons-vfs2:2.0
    +-org.apache.maven.scm:maven-scm-provider-svnexe:1.4
      +-org.apache.maven.scm:maven-scm-provider-svn-commons:1.4
        +-org.codehaus.plexus:plexus-utils:1.5.6
and
+-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
  +-org.apache.commons:commons-vfs2:2.0
    +-org.apache.maven.scm:maven-scm-provider-svnexe:1.4
      +-org.codehaus.plexus:plexus-utils:1.5.6

[WARNING]
Dependency convergence error for commons-httpclient:commons-httpclient:3.1 paths to dependency are:
+-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
  +-org.apache.zeppelin:zeppelin-interpreter:0.7.0-SNAPSHOT
    +-org.apache.maven.wagon:wagon-http:1.0
      +-org.apache.maven.wagon:wagon-http-shared:1.0
        +-commons-httpclient:commons-httpclient:3.1
and
+-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
  +-org.apache.jackrabbit:jackrabbit-webdav:1.5.2
    +-commons-httpclient:commons-httpclient:3.0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [  2.856 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [02:14 min]
[INFO] Zeppelin: Zengine .................................. FAILURE [  1.937 s]
[INFO] Zeppelin: Display system apis ...................... SKIPPED
[INFO] Zeppelin: Spark dependencies ....................... SKIPPED
[INFO] Zeppelin: Spark .................................... 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: PostgreSQL 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: Python 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: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:19 min
[INFO] Finished at: 2016-10-04T23:35:47-04:00
[INFO] Final Memory: 47M/960M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.3.1:enforce (enforce) on project zeppelin-zengine: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
[ERROR] Failed while enforcing releasability the error(s) are [
[ERROR] Dependency convergence error for org.codehaus.plexus:plexus-utils:2.0.7 paths to dependency are:
[ERROR] +-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
[ERROR] +-org.apache.zeppelin:zeppelin-interpreter:0.7.0-SNAPSHOT
[ERROR] +-org.sonatype.aether:aether-connector-wagon:1.12
[ERROR] +-org.codehaus.plexus:plexus-utils:2.0.7
[ERROR] and
[ERROR] +-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
[ERROR] +-org.apache.zeppelin:zeppelin-interpreter:0.7.0-SNAPSHOT
[ERROR] +-org.sonatype.aether:aether-connector-wagon:1.12
[ERROR] +-org.sonatype.sisu:sisu-inject-plexus:2.2.2
[ERROR] +-org.codehaus.plexus:plexus-utils:2.0.7
[ERROR] and
[ERROR] +-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
[ERROR] +-org.apache.commons:commons-vfs2:2.0
[ERROR] +-org.apache.maven.scm:maven-scm-api:1.4
[ERROR] +-org.codehaus.plexus:plexus-utils:1.5.6
[ERROR] and
[ERROR] +-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
[ERROR] +-org.apache.commons:commons-vfs2:2.0
[ERROR] +-org.apache.maven.scm:maven-scm-provider-svnexe:1.4
[ERROR] +-org.apache.maven.scm:maven-scm-provider-svn-commons:1.4
[ERROR] +-org.codehaus.plexus:plexus-utils:1.5.6
[ERROR] and
[ERROR] +-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
[ERROR] +-org.apache.commons:commons-vfs2:2.0
[ERROR] +-org.apache.maven.scm:maven-scm-provider-svnexe:1.4
[ERROR] +-org.codehaus.plexus:plexus-utils:1.5.6
[ERROR] ,
[ERROR] Dependency convergence error for commons-httpclient:commons-httpclient:3.1 paths to dependency are:
[ERROR] +-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
[ERROR] +-org.apache.zeppelin:zeppelin-interpreter:0.7.0-SNAPSHOT
[ERROR] +-org.apache.maven.wagon:wagon-http:1.0
[ERROR] +-org.apache.maven.wagon:wagon-http-shared:1.0
[ERROR] +-commons-httpclient:commons-httpclient:3.1
[ERROR] and
[ERROR] +-org.apache.zeppelin:zeppelin-zengine:0.7.0-SNAPSHOT
[ERROR] +-org.apache.jackrabbit:jackrabbit-webdav:1.5.2
[ERROR] +-commons-httpclient:commons-httpclient:3.0
[ERROR] ]
[ERROR] -> [Help 1]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :zeppelin-zengine

What type of PR is it?

Bug Fix

What is the Jira issue?

Is there need for Jira issue here?

How should this be tested?

Try to run mvn test -Pscala-2.10 before and after this commit.

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@ravwojdyla
Copy link
Contributor Author

On a request in #1471 from @jongyoul

@jongyoul
Copy link
Member

jongyoul commented Oct 5, 2016

I've tested your branch, but it occurs another error. Could you please check it?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy-dependencies (copy-dependencies) on project zeppelin-zengine: Artifact has not been packaged yet. When used on reactor artifact, copy should be executed after packaging

Do you have any idea?

@doanduyhai
Copy link
Contributor

I have the same compilation issue using mvn clean compile. After excluding the same dependencies as this PR from zeppelin-zengine/pom.xml my mvn clean compile is successful

@doanduyhai
Copy link
Contributor

@ravwojdyla any update on this ? I face the same issue and need your PR to go into trunk

@asfgit asfgit closed this in c38a0a0 May 9, 2018
asfgit pushed a commit that referenced this pull request May 9, 2018
close #83
close #86
close #125
close #133
close #139
close #146
close #193
close #203
close #246
close #262
close #264
close #273
close #291
close #299
close #320
close #347
close #389
close #413
close #423
close #543
close #560
close #658
close #670
close #728
close #765
close #777
close #782
close #783
close #812
close #822
close #841
close #843
close #878
close #884
close #918
close #989
close #1076
close #1135
close #1187
close #1231
close #1304
close #1316
close #1361
close #1385
close #1390
close #1414
close #1422
close #1425
close #1447
close #1458
close #1466
close #1485
close #1492
close #1495
close #1497
close #1536
close #1545
close #1561
close #1577
close #1600
close #1603
close #1678
close #1695
close #1739
close #1748
close #1765
close #1767
close #1776
close #1783
close #1799
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants