Repository: camel Updated Branches: refs/heads/camel-2.15.x a9c704b5e -> 0689e4c66 refs/heads/master 7acd97f57 -> 182034424
CAMEL-8803: camel-jetty9 should not include duplicate servlet api spec JARs Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/18203442 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/18203442 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/18203442 Branch: refs/heads/master Commit: 182034424f7a81e92e2614d507aef99d6a1677db Parents: 7acd97f Author: Claus Ibsen <davscl...@apache.org> Authored: Wed Jul 29 15:23:14 2015 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Wed Jul 29 15:23:14 2015 +0200 ---------------------------------------------------------------------- components/camel-jetty9/pom.xml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/18203442/components/camel-jetty9/pom.xml ---------------------------------------------------------------------- diff --git a/components/camel-jetty9/pom.xml b/components/camel-jetty9/pom.xml index 426b8e5..2175d3d 100644 --- a/components/camel-jetty9/pom.xml +++ b/components/camel-jetty9/pom.xml @@ -48,14 +48,24 @@ <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-http-common</artifactId> + <exclusions> + <!-- must use the servlet-api that jetty 9 provides which is 3.1 --> + <exclusion> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-servlet_3.0_spec</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-jetty-common</artifactId> - </dependency> - <dependency> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-servlet_3.0_spec</artifactId> + <exclusions> + <!-- must use the servlet-api that jetty 9 provides which is 3.1 --> + <exclusion> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-servlet_3.0_spec</artifactId> + </exclusion> + </exclusions> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> @@ -63,10 +73,6 @@ <version>${jetty9-version}</version> <exclusions> <exclusion> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - </exclusion> - <exclusion> <groupId>org.eclipse.jetty.orbit</groupId> <artifactId>javax.servlet</artifactId> </exclusion>