Skip to content

Prevent from version collision on test task - #1485

Closed
ravwojdyla wants to merge 1 commit into
apache:masterfrom
ravwojdyla:fix_version_conflict
Closed

Prevent from version collision on test task#1485
ravwojdyla wants to merge 1 commit into
apache:masterfrom
ravwojdyla:fix_version_conflict

Conversation

@ravwojdyla

Copy link
Copy Markdown
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
Copy Markdown
ContributorAuthor

On a request in #1471 from @jongyoul

@jongyoul

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Contributor

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

@asfgitasfgit closed this in c38a0a0May 9, 2018
asfgit pushed a commit that referenced this pull request May 9, 2018
close#83close#86close#125close#133close#139close#146close#193close#203close#246close#262close#264close#273close#291close#299close#320close#347close#389close#413close#423close#543close#560close#658close#670close#728close#765close#777close#782close#783close#812close#822close#841close#843close#878close#884close#918close#989close#1076close#1135close#1187close#1231close#1304close#1316close#1361close#1385close#1390close#1414close#1422close#1425close#1447close#1458close#1466close#1485close#1492close#1495close#1497close#1536close#1545close#1561close#1577close#1600close#1603close#1678close#1695close#1739close#1748close#1765close#1767close#1776close#1783close#1799
Sign up for freeto 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

@ravwojdyla@jongyoul@doanduyhai