-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-29130: Remove jline 2.x #6054
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
base: master
Are you sure you want to change the base?
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 |
---|---|---|
|
@@ -48,8 +48,7 @@ | |
<include>org.apache.hive:hive-service-rpc:jar</include> | ||
<include>commons-cli:commons-cli:jar</include> | ||
<include>commons-io:commons-io:jar</include> | ||
<include>commons-logging:commons-logging:jar</include> | ||
<include>jline:jline:jar</include> | ||
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. moved it to jline3.x groupId |
||
<include>org.jline:jline:jar</include> | ||
<include>org.apache.thrift:libthrift:jar</include> | ||
<include>org.slf4j:slf4j-api:jar</include> | ||
<include>net.sf.supercsv:super-csv:jar</include> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1732,6 +1732,22 @@ | |
<searchTransitive>true</searchTransitive> | ||
<message>Banned log4j:log4j dependency/transitive dependency was found!</message> | ||
</bannedDependencies> | ||
<bannedDependencies> | ||
<excludes> | ||
<exclude>jline:jline</exclude> | ||
</excludes> | ||
<!-- | ||
Allowing jline 1.0 because pig 0.16.0 depends upon it. Otherwise | ||
causing UT failure in hcatalog/hcatalog-pig-adapter module. The | ||
below includes tag can be removed once pig moves to jline 3.x or | ||
support for pig is dropped from hive. | ||
--> | ||
<includes> | ||
<include>jline:jline:1.0</include> | ||
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. nit: please explain here with a brief comment why we still allow 1.0 to make it clear for the future if we can remove 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. Done |
||
</includes> | ||
<searchTransitive>true</searchTransitive> | ||
<message>A banned jline2.x dependency/transitive dependency was found!</message> | ||
</bannedDependencies> | ||
</rules> | ||
<fail>true</fail> | ||
</configuration> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -252,10 +252,6 @@ | |
<artifactId>jsonassert</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-logging</groupId> | ||
<artifactId>commons-logging</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.zookeeper</groupId> | ||
<artifactId>zookeeper</artifactId> | ||
|
@@ -564,29 +560,6 @@ | |
</executions> | ||
</plugin> | ||
<!-- TODO MS-SPLIT javadoc plugin --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<id>enforce-banned-dependencies</id> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<configuration> | ||
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. removed the enforcer pluging from |
||
<rules> | ||
<bannedDependencies> | ||
<excludes> | ||
<!--LGPL licenced library--> | ||
<exclude>com.google.code.findbugs:annotations</exclude> | ||
</excludes> | ||
</bannedDependencies> | ||
</rules> | ||
<fail>true</fail> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
|
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.
removing commons-logging as it was getting packaged in beeline tarball. Check HIVE-24691 and HIVE-20019