From e252b52eb349eb010b62016b82739bdd8e06c49f Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Sat, 12 Apr 2014 09:11:04 +1000 Subject: [PATCH] 432483 make osgi.serviceloader support for javax.servlet.ServletContainerInitializer optional (cherry picked from commit 31043d25708edbea9ef31948093f4eaf2247919b) Conflicts: jetty-annotations/pom.xml --- jetty-annotations/pom.xml | 4 ++-- jetty-osgi/jetty-osgi-boot/pom.xml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/jetty-annotations/pom.xml b/jetty-annotations/pom.xml index 80ba3aa246a..bb6d838321c 100644 --- a/jetty-annotations/pom.xml +++ b/jetty-annotations/pom.xml @@ -43,8 +43,8 @@ - javax.servlet.*;version="[2.6.0,3.2)",* - osgi.serviceloader; filter:="(osgi.serviceloader=javax.servlet.ServletContainerInitializer)";cardinality:=multiple, osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)" + javax.servlet.*;version="[2.6.0,3.2)",org.objectweb.asm.*;version=4,* + osgi.serviceloader; filter:="(osgi.serviceloader=javax.servlet.ServletContainerInitializer)";resolution:=optional;cardinality:=multiple, osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)" diff --git a/jetty-osgi/jetty-osgi-boot/pom.xml b/jetty-osgi/jetty-osgi-boot/pom.xml index 0c1dbf56790..a52ebfabcd2 100644 --- a/jetty-osgi/jetty-osgi-boot/pom.xml +++ b/jetty-osgi/jetty-osgi-boot/pom.xml @@ -102,7 +102,6 @@ org.eclipse.jetty.osgi.boot;singleton:=true org.eclipse.jetty.osgi.boot.JettyBootstrapActivator - osgi.serviceloader; osgi.serviceloader=javax.servlet.ServletContainerInitializer org.eclipse.jetty.*;version="[9.1,10.0)" javax.mail;version="1.4.0";resolution:=optional, javax.mail.event;version="1.4.0";resolution:=optional,