diff --git a/apache-jsp/pom.xml b/apache-jsp/pom.xml index d00dde77d83..48d7244caa5 100644 --- a/apache-jsp/pom.xml +++ b/apache-jsp/pom.xml @@ -89,6 +89,14 @@ ecj + + + org.eclipse.jetty + jetty-annotations + ${project.version} + + + org.eclipse.jetty diff --git a/examples/embedded/src/main/java/org/eclipse/jetty/embedded/LikeJettyXml.java b/examples/embedded/src/main/java/org/eclipse/jetty/embedded/LikeJettyXml.java index 45240b57d37..a43a822410a 100644 --- a/examples/embedded/src/main/java/org/eclipse/jetty/embedded/LikeJettyXml.java +++ b/examples/embedded/src/main/java/org/eclipse/jetty/embedded/LikeJettyXml.java @@ -171,7 +171,7 @@ public class LikeJettyXml deployer.setContexts(contexts); deployer.setContextAttribute( "org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern", - ".*/servlet-api-[^/]*\\.jar$"); + ".*/[^/]*servlet-api-[^/]*\\.jar$|.*/javax.servlet.jsp.jstl-.*\\.jar$|.*/[^/]*taglibs.*\\.jar$"); WebAppProvider webapp_provider = new WebAppProvider(); webapp_provider.setMonitoredDirName(jetty_base + "/webapps"); @@ -184,10 +184,15 @@ public class LikeJettyXml server.addBean(deployer); // === setup jetty plus == - Configuration.ClassList.setServerDefault(server).addAfter( + Configuration.ClassList classlist = Configuration.ClassList + .setServerDefault( server ); + classlist.addAfter( "org.eclipse.jetty.webapp.FragmentConfiguration", "org.eclipse.jetty.plus.webapp.EnvConfiguration", "org.eclipse.jetty.plus.webapp.PlusConfiguration"); + + classlist.addBefore("org.eclipse.jetty.webapp.JettyWebXmlConfiguration", + "org.eclipse.jetty.annotations.AnnotationConfiguration"); // === jetty-stats.xml === StatisticsHandler stats = new StatisticsHandler(); diff --git a/jetty-home/pom.xml b/jetty-home/pom.xml index 2379629a38f..360d60c53ff 100644 --- a/jetty-home/pom.xml +++ b/jetty-home/pom.xml @@ -248,7 +248,7 @@ - org.eclipse.jetty,org.eclipse.jetty.toolchain,org.mortbay.jasper,org.eclipse.jetty.orbit,org.eclipse.jdt.core.compiler + org.eclipse.jetty,org.eclipse.jetty.toolchain,org.mortbay.jasper,org.eclipse.jdt.core.compiler apache-jsp,apache-el,ecj jar @@ -256,20 +256,6 @@ ${assembly-directory}/lib/apache-jsp - - copy-jstl-api - generate-resources - - copy-dependencies - - - org.eclipse.jetty.orbit - javax.servlet.jsp.jstl - true - jar - ${assembly-directory}/lib/jsp - - copy-apache-jstl-deps generate-resources diff --git a/jetty-osgi/jetty-osgi-boot-jsp/pom.xml b/jetty-osgi/jetty-osgi-boot-jsp/pom.xml index aaddee1b547..7a0bd372d54 100644 --- a/jetty-osgi/jetty-osgi-boot-jsp/pom.xml +++ b/jetty-osgi/jetty-osgi-boot-jsp/pom.xml @@ -31,12 +31,12 @@ org.eclipse.osgi org.eclipse.osgi.services - + javax.servlet javax.servlet-api - + org.eclipse.jetty apache-jsp