From 679442ce184e6e39d34e45b6915d0b645546e980 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 | 5 +++++ 7 files changed, 40 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index f7aa898a364..1ca2d8cf6e1 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,7 @@ 1.3-SNAPSHOT 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 ce61a0cabbd..ece068c843c 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 d277b7cee28..24b72034824 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 6d2597fd7f6..a03dbb31234 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 7b9135ea8e7..5a601b5e32c 100644 --- a/sonar-ws-client/pom.xml +++ b/sonar-ws-client/pom.xml @@ -51,6 +51,11 @@ junit test + + javax.servlet + servlet-api + test + org.hamcrest hamcrest-all -- 2.39.5