diff --git a/common/logconfig/pom.xml b/common/logconfig/pom.xml
index 75c5c4e3b..506461601 100644
--- a/common/logconfig/pom.xml
+++ b/common/logconfig/pom.xml
@@ -30,10 +30,6 @@
runtime
true
-
- javax.servlet
- javax.servlet-api
-
junit
junit
diff --git a/common/springext/pom.xml b/common/springext/pom.xml
index 5f00cfd9a..0738a0dd5 100644
--- a/common/springext/pom.xml
+++ b/common/springext/pom.xml
@@ -15,10 +15,6 @@
dom4j
dom4j
-
- javax.servlet
- javax.servlet-api
-
${project.groupId}
citrus-common-generictype
diff --git a/common/util/pom.xml b/common/util/pom.xml
index 6081f9377..b5080223b 100644
--- a/common/util/pom.xml
+++ b/common/util/pom.xml
@@ -20,10 +20,6 @@
cglib
cglib-nodep
-
- javax.servlet
- javax.servlet-api
-
${project.groupId}
citrus-test-util
diff --git a/dist/test/pom.xml b/dist/test/pom.xml
index 58b113913..2dee4781b 100644
--- a/dist/test/pom.xml
+++ b/dist/test/pom.xml
@@ -129,11 +129,6 @@
hamcrest-library
compile
-
- javax.servlet
- javax.servlet-api
- compile
-
httpunit
httpunit
diff --git a/dist/webx/pom.xml b/dist/webx/pom.xml
index 808a14340..ef108f0e7 100644
--- a/dist/webx/pom.xml
+++ b/dist/webx/pom.xml
@@ -204,10 +204,6 @@
${project.groupId}
citrus-webx-dev
-
- javax.servlet
- javax.servlet-api
-
javax.mail
mail
diff --git a/pom.xml b/pom.xml
index 293e1d15a..c1cd54edd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,6 +62,54 @@
false
+
+ servlet2
+
+
+ servlet2
+
+
+
+
+ javax.servlet
+ servlet-api
+
+
+
+
+
+ javax.servlet
+ servlet-api
+ 2.5
+ provided
+
+
+
+
+
+ servlet3
+
+
+ !servlet2
+
+
+
+
+ javax.servlet
+ javax.servlet-api
+
+
+
+
+
+ javax.servlet
+ javax.servlet-api
+ 3.0.1
+ provided
+
+
+
+
dist/webx
@@ -462,12 +510,6 @@
cglib-nodep
2.2.2
-
- javax.servlet
- javax.servlet-api
- 3.0.1
- provided
-
javax.mail
mail
diff --git a/service/dataresolver/pom.xml b/service/dataresolver/pom.xml
index 5a37324fe..e31d2a407 100644
--- a/service/dataresolver/pom.xml
+++ b/service/dataresolver/pom.xml
@@ -24,10 +24,5 @@
${project.groupId}
citrus-test-util
-
- javax.servlet
- javax.servlet-api
- test
-
diff --git a/service/form/pom.xml b/service/form/pom.xml
index 16ddaaf21..01dded535 100644
--- a/service/form/pom.xml
+++ b/service/form/pom.xml
@@ -11,10 +11,6 @@
citrus-service-form
Citrus Form Service
-
- javax.servlet
- javax.servlet-api
-
ecs
ecs
diff --git a/service/jsp/pom.xml b/service/jsp/pom.xml
index fdfa0b111..7d04bfbd3 100644
--- a/service/jsp/pom.xml
+++ b/service/jsp/pom.xml
@@ -32,10 +32,6 @@
${project.groupId}
citrus-test-util
-
- javax.servlet
- javax.servlet-api
-
org.apache.tomcat
jasper
diff --git a/service/moduleloader/pom.xml b/service/moduleloader/pom.xml
index 9cae7ba9a..fb5a55c9a 100644
--- a/service/moduleloader/pom.xml
+++ b/service/moduleloader/pom.xml
@@ -36,9 +36,5 @@
org.codehaus.groovy
groovy-all
-
- javax.servlet
- javax.servlet-api
-
diff --git a/service/pipeline/pom.xml b/service/pipeline/pom.xml
index 8658e6575..8d7022bcd 100644
--- a/service/pipeline/pom.xml
+++ b/service/pipeline/pom.xml
@@ -23,9 +23,5 @@
${project.groupId}
citrus-common-expr
-
- javax.servlet
- javax.servlet-api
-
diff --git a/service/pull/pom.xml b/service/pull/pom.xml
index 6c03511c8..e1f587b75 100644
--- a/service/pull/pom.xml
+++ b/service/pull/pom.xml
@@ -24,9 +24,5 @@
${project.groupId}
citrus-test-util
-
- javax.servlet
- javax.servlet-api
-
diff --git a/service/requestcontext/pom.xml b/service/requestcontext/pom.xml
index 21aeb85f8..ad8fdb0eb 100644
--- a/service/requestcontext/pom.xml
+++ b/service/requestcontext/pom.xml
@@ -11,10 +11,6 @@
citrus-service-requestcontext
Citrus Request Context Service
-
- javax.servlet
- javax.servlet-api
-
commons-codec
commons-codec
diff --git a/service/resource/pom.xml b/service/resource/pom.xml
index 3ecce619b..080494e32 100644
--- a/service/resource/pom.xml
+++ b/service/resource/pom.xml
@@ -24,9 +24,5 @@
${project.groupId}
citrus-test-util
-
- javax.servlet
- javax.servlet-api
-
diff --git a/service/upload/pom.xml b/service/upload/pom.xml
index 6fbeb0c6d..652fa1f6c 100644
--- a/service/upload/pom.xml
+++ b/service/upload/pom.xml
@@ -20,10 +20,6 @@
${project.groupId}
citrus-test-util
-
- javax.servlet
- javax.servlet-api
-
commons-fileupload
commons-fileupload
diff --git a/service/uribroker/pom.xml b/service/uribroker/pom.xml
index bed1889a2..776247105 100644
--- a/service/uribroker/pom.xml
+++ b/service/uribroker/pom.xml
@@ -41,10 +41,6 @@
${project.groupId}
citrus-service-requestcontext
-
- javax.servlet
- javax.servlet-api
-
${project.groupId}
citrus-service-configuration
diff --git a/test/util/pom.xml b/test/util/pom.xml
index 4fd6ecaab..b320159e6 100644
--- a/test/util/pom.xml
+++ b/test/util/pom.xml
@@ -30,11 +30,6 @@
hamcrest-library
compile
-
- javax.servlet
- javax.servlet-api
- compile
-
httpunit
httpunit
diff --git a/webx/dev/pom.xml b/webx/dev/pom.xml
index 6f79c2313..e0de3df22 100644
--- a/webx/dev/pom.xml
+++ b/webx/dev/pom.xml
@@ -11,10 +11,6 @@
citrus-webx-dev
Development mode tools for Webx
-
- javax.servlet
- javax.servlet-api
-
${project.groupId}
citrus-webx-turbine
diff --git a/webx/framework/pom.xml b/webx/framework/pom.xml
index 31c43fb9c..84342cd68 100644
--- a/webx/framework/pom.xml
+++ b/webx/framework/pom.xml
@@ -12,10 +12,6 @@
citrus-webx-framework
Citrus Webx Framework
-
- javax.servlet
- javax.servlet-api
-
${project.groupId}
citrus-service-resource
diff --git a/webx/turbine/pom.xml b/webx/turbine/pom.xml
index 0bae010c4..81b36ada7 100644
--- a/webx/turbine/pom.xml
+++ b/webx/turbine/pom.xml
@@ -12,10 +12,6 @@
citrus-webx-turbine
Citrus Webx Turbine-style Implementation
-
- javax.servlet
- javax.servlet-api
-
com.alibaba
fastjson