GitHub user stsc-pentasys opened a pull request:
https://github.com/apache/spark/pull/14429
[SPARK-16770][BUILD] Fix JLine dependency management and version (Scaâ¦
## What changes were proposed in this pull request?
As of Scala 2.11.x there is no longer a org.scala-lang:jline version
aligned to the scala version itself. Scala console now uses the plain
jline:jline module. Spark's dependency management did not reflect this change
properly, causing Maven to pull in Jline via transitive dependency.
Unfortunately Jline 2.12 contained a minor but very annoying bug rendering the
shell almost useless for developers with german keyboard layout. This request
contains the following chages:
- Exclude transitive dependency 'jline:jline' from hive-exec module
- Remove global properties 'jline.version' and 'jline.groupId'
- Add both properties and dependency to 'scala-2.11' profile
- Add explicit dependency on 'jline:jline' to module 'spark-repl'
## How was this patch tested?
- Running mvn dependency:tree and checking for correct Jline version 2.12.1
- Running full builds with assembly and checking for jline-2.12.1.jar in
'lib' folder of generated tarball
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stsc-pentasys/spark SPARK-16770
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14429.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 #14429
----
commit e4bf237ed43461897beb00211de2d10321fe40b1
Author: Stefan Schulze <[email protected]>
Date: 2016-07-31T12:59:55Z
[SPARK-16770][BUILD] Fix JLine dependency management and version (Scala
2.11.x)
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]