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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
