From 6de6b4defd7558b3849f2d28a7c2e26879895a2d Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 17 Jun 2013 22:16:05 +0200 Subject: [PATCH] SONAR-4157 downgrade to jetty 7.6 for compatibility with tomcat 6 (servlet 2.5) --- pom.xml | 12 +++++++++--- sonar-batch/pom.xml | 5 +++++ sonar-plugin-api/pom.xml | 2 +- sonar-server/pom.xml | 2 +- sonar-server/src/dev/web.xml | 11 +++++++---- sonar-server/src/main/webapp/WEB-INF/web.xml | 17 ++++++++++++----- sonar-ws-client/pom.xml | 8 +++++++- 7 files changed, 42 insertions(+), 15 deletions(-) diff --git a/pom.xml b/pom.xml index 5fa6116e92c..83257edf077 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,7 @@ 1.3-RC1 3.3.1 1.3.167 - 8.1.9.v20130131 + 7.6.11.v20130520 UTF-8 2.2.1 1.6 @@ -967,13 +967,19 @@ javax.servlet - javax.servlet-api - 3.0.1 + servlet-api + 2.5 org.eclipse.jetty jetty-server ${jetty.version} + + + org.eclipse.jetty.orbit + javax.servlet + + org.eclipse.jetty diff --git a/sonar-batch/pom.xml b/sonar-batch/pom.xml index ff132535d69..14d96eb04b0 100644 --- a/sonar-batch/pom.xml +++ b/sonar-batch/pom.xml @@ -93,6 +93,11 @@ jetty-server test + + javax.servlet + servlet-api + test + org.skyscreamer jsonassert diff --git a/sonar-plugin-api/pom.xml b/sonar-plugin-api/pom.xml index 69529e7a48a..4c175261a50 100644 --- a/sonar-plugin-api/pom.xml +++ b/sonar-plugin-api/pom.xml @@ -127,7 +127,7 @@ javax.servlet - javax.servlet-api + servlet-api true diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml index ba963f5be3b..07630f30bbd 100644 --- a/sonar-server/pom.xml +++ b/sonar-server/pom.xml @@ -111,7 +111,7 @@ javax.servlet - javax.servlet-api + servlet-api provided diff --git a/sonar-server/src/dev/web.xml b/sonar-server/src/dev/web.xml index fef16ea1aaf..601ccff04c5 100644 --- a/sonar-server/src/dev/web.xml +++ b/sonar-server/src/dev/web.xml @@ -1,8 +1,11 @@ - + Sonar diff --git a/sonar-server/src/main/webapp/WEB-INF/web.xml b/sonar-server/src/main/webapp/WEB-INF/web.xml index 2249a67997a..48e05712b44 100644 --- a/sonar-server/src/main/webapp/WEB-INF/web.xml +++ b/sonar-server/src/main/webapp/WEB-INF/web.xml @@ -1,9 +1,7 @@ - + Sonar @@ -48,6 +46,11 @@ RackFilter org.jruby.rack.RackFilter + + + ContinuationFilter + org.eclipse.jetty.continuation.ContinuationFilter + GZIPFilter org.eclipse.jetty.servlets.GzipFilter @@ -60,6 +63,10 @@ 16384 + + ContinuationFilter + /* + GZIPFilter /* diff --git a/sonar-ws-client/pom.xml b/sonar-ws-client/pom.xml index eb61c38a516..5d09bdbb026 100644 --- a/sonar-ws-client/pom.xml +++ b/sonar-ws-client/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 org.codehaus.sonar @@ -50,6 +51,11 @@ junit test + + javax.servlet + servlet-api + test + org.hamcrest hamcrest-all -- 2.39.5