servlet dependency is excluded from spark, not ant. Without excluding it throws a java security exception. Motivation for it: https://issues.apache.org/jira/browse/SPARK-1693 and
Project: http://git-wip-us.apache.org/repos/asf/gora/repo Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/ad4f5601 Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/ad4f5601 Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/ad4f5601 Branch: refs/heads/master Commit: ad4f5601ebd52e182bf79ba4032dcb85d918b925 Parents: 888c899 Author: Furkan KAMACI <[email protected]> Authored: Fri Aug 28 00:15:42 2015 +0300 Committer: Furkan KAMACI <[email protected]> Committed: Fri Aug 28 00:15:42 2015 +0300 ---------------------------------------------------------------------- gora-core/pom.xml | 6 ++++++ pom.xml | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/gora/blob/ad4f5601/gora-core/pom.xml ---------------------------------------------------------------------- diff --git a/gora-core/pom.xml b/gora-core/pom.xml index 55312d1..16fe808 100644 --- a/gora-core/pom.xml +++ b/gora-core/pom.xml @@ -146,6 +146,12 @@ <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.10</artifactId> <version>${spark.version}</version> + <exclusions> + <exclusion> + <groupId>org.eclipse.jetty.orbit</groupId> + <artifactId>javax.servlet</artifactId> + </exclusion> + </exclusions> </dependency> <!-- Logging Dependencies --> http://git-wip-us.apache.org/repos/asf/gora/blob/ad4f5601/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 307fa1d..cb55db4 100644 --- a/pom.xml +++ b/pom.xml @@ -894,10 +894,6 @@ <groupId>ant</groupId> <artifactId>ant</artifactId> </exclusion> - <exclusion> - <groupId>org.mortbay.jetty</groupId> - <artifactId>servlet-api</artifactId> - </exclusion> </exclusions> </dependency>
