You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2021/02/22 17:02:01 UTC
[GitHub] [hive] zabetak opened a new pull request #2003: HIVE-24809: Build failure while resolving javax.el dependency
zabetak opened a new pull request #2003:
URL: https://github.com/apache/hive/pull/2003
### What changes were proposed in this pull request?
Exclude javax.servlet.jsp dependency from metastore-tools and itests
to avoid pulling transitively javax.el (similar approach to HIVE-19579).
Exclusion should take place in top-level dependency management sections.
### Why are the changes needed?
Build may fail since [javax.servlet.jsp|https://repo1.maven.org/maven2/org/glassfish/web/javax.servlet.jsp/2.3.2/javax.servlet.jsp-2.3.2.pom] defines the following
```
<dependency>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
<version>[3.0.0,)</version>
</dependency>
```
and this might create problems due to https://issues.apache.org/jira/browse/MNG-3092.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
Add the following snippet to ~/.m2/settings.xml
```
<repositories>
<repository>
<id>mvn.central</id>
<url>https://repo1.maven.org/maven2/</url>
</repository>
<repository>
<id>hortonworks</id>
<url>https://nexus-private.hortonworks.com/nexus/content/groups/public</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
```
and run `mvn clean install -DskipTests`.
Without these changes the build will fail.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org
[GitHub] [hive] kgyrtkirk merged pull request #2003: HIVE-24809: Build failure while resolving javax.el dependency
Posted by GitBox <gi...@apache.org>.
kgyrtkirk merged pull request #2003:
URL: https://github.com/apache/hive/pull/2003
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org