You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by ravwojdyla <gi...@git.apache.org> on 2016/10/05 03:49:38 UTC
[GitHub] zeppelin pull request #1485: Prevent from version collision on test task
GitHub user ravwojdyla opened a pull request:
https://github.com/apache/zeppelin/pull/1485
Prevent from version collision on test task
### What is this PR for?
Fix version conflict on `test` in Zengine.
Error looks like this:
```
\u279c 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`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ravwojdyla/incubator-zeppelin fix_version_conflict
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1485.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1485
----
commit 5b3ff2497019b1e2329ef962efce9739da8e428e
Author: Rafal Wojdyla <ra...@spotify.com>
Date: 2016-10-01T01:40:04Z
Prevent from version collision on test task
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] zeppelin issue #1485: Prevent from version collision on test task
Posted by doanduyhai <gi...@git.apache.org>.
Github user doanduyhai commented on the issue:
https://github.com/apache/zeppelin/pull/1485
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
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] zeppelin issue #1485: Prevent from version collision on test task
Posted by doanduyhai <gi...@git.apache.org>.
Github user doanduyhai commented on the issue:
https://github.com/apache/zeppelin/pull/1485
@ravwojdyla any update on this ? I face the same issue and need your PR to go into trunk
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] zeppelin issue #1485: Prevent from version collision on test task
Posted by ravwojdyla <gi...@git.apache.org>.
Github user ravwojdyla commented on the issue:
https://github.com/apache/zeppelin/pull/1485
On a request in #1471 from @jongyoul
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] zeppelin issue #1485: Prevent from version collision on test task
Posted by jongyoul <gi...@git.apache.org>.
Github user jongyoul commented on the issue:
https://github.com/apache/zeppelin/pull/1485
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?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] zeppelin pull request #1485: Prevent from version collision on test task
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/zeppelin/pull/1485
---