-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-16770][BUILD] Fix JLine dependency management and version (Sca… #14429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,8 +159,6 @@ | |
<commons.collections.version>3.2.2</commons.collections.version> | ||
<scala.version>2.11.8</scala.version> | ||
<scala.binary.version>2.11</scala.binary.version> | ||
<jline.version>${scala.version}</jline.version> | ||
<jline.groupid>org.scala-lang</jline.groupid> | ||
<codehaus.jackson.version>1.9.13</codehaus.jackson.version> | ||
<fasterxml.jackson.version>2.6.5</fasterxml.jackson.version> | ||
<snappy.version>1.1.2.4</snappy.version> | ||
|
@@ -1428,6 +1426,10 @@ | |
<groupId>org.codehaus.groovy</groupId> | ||
<artifactId>groovy-all</artifactId> | ||
</exclusion> | ||
<exclusion> | ||
<groupId>jline</groupId> | ||
<artifactId>jline</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
|
@@ -1832,6 +1834,11 @@ | |
<artifactId>antlr4-runtime</artifactId> | ||
<version>${antlr4.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>${jline.groupid}</groupId> | ||
<artifactId>jline</artifactId> | ||
<version>${jline.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
|
||
|
@@ -2538,15 +2545,6 @@ | |
<jline.version>${scala.version}</jline.version> | ||
<jline.groupid>org.scala-lang</jline.groupid> | ||
</properties> | ||
<dependencyManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>${jline.groupid}</groupId> | ||
<artifactId>jline</artifactId> | ||
<version>${jline.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
|
@@ -2645,6 +2643,8 @@ | |
<properties> | ||
<scala.version>2.11.8</scala.version> | ||
<scala.binary.version>2.11</scala.binary.version> | ||
<jline.version>2.12.1</jline.version> | ||
<jline.groupid>jline</jline.groupid> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's the point of this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See above - provides the correct properties for Scala 2.11.8. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It sounds like this property is no longer even needed? I don't see that it's modified anywhere from "jline" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, I think I understand this a little better, but, |
||
</properties> | ||
<build> | ||
<plugins> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to exclude it, usually. Is this to make the SBT happy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both property values are valid only for scala 2.10.x, 2.11.x does no longer provide or use org.scala-lang:jline. If you want to keep it, the values should reflect the default scala version which uses jline:jline:2.12.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, hive-exec pulls this in? then it's fine to exclude, sure. Sounds like it should have been there before if so, so just checking that this is required now.