Aggarwal-Raghav commented on code in PR #6985:
URL: https://github.com/apache/hive/pull/6985#discussion_r4787041820
##########
service/pom.xml:
##########
@@ -126,6 +126,11 @@
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
</dependency>
+ <dependency>
Review Comment:
We *can* drop it from `hive-service` and move it to `<scope>test</scope>` in
`itests/hive-unit/pom.xml` if you'd prefer to keep `service/pom.xml` untouched,
though I prefer to keep in `service/pom.xml` for following reason:
1. UT failed
(https://ci.hive.apache.org/job/hive-precommit/job/PR-6985/6/testReport/) after
marking `<optional>true</optional>` in `metastore-server`
because`itests/hive-unit/pom.xml` lists `hive-jdbc` before `hive-service`, and
`jdbc/pom.xml` depends on `hive-hplsql` with `<exclude>*:*</exclude>` Hence,
antlr4 was dropped from its `dependency:tree`.
2. As hive-service directly depends on
`org.antlr.v4.runtime.ParserRuleContext` , so declaring `antlr4-runtime`
directly in `service/pom.xml` makes iit better instead of relying on
`hive-hplsql` transitively.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]