diff --git a/jetty-demos/jetty-servlet5-demos/jetty-servlet5-demo-spec/jetty-servlet5-demo-spec-webapp/src/main/java/org/example/test/AnnotationTest.java b/jetty-demos/jetty-servlet5-demos/jetty-servlet5-demo-spec/jetty-servlet5-demo-spec-webapp/src/main/java/org/example/test/AnnotationTest.java index 25e8b3666dd7..1151fef82867 100644 --- a/jetty-demos/jetty-servlet5-demos/jetty-servlet5-demo-spec/jetty-servlet5-demo-spec-webapp/src/main/java/org/example/test/AnnotationTest.java +++ b/jetty-demos/jetty-servlet5-demos/jetty-servlet5-demo-spec/jetty-servlet5-demo-spec-webapp/src/main/java/org/example/test/AnnotationTest.java @@ -231,10 +231,7 @@ public void doGet(HttpServletRequest request, HttpServletResponse response) thro classNames.add(c.getName()); out.print(c.getName() + " "); } - - if (classNames.size() != __HandlesTypes.size()) - out.println("
FAIL"); - else if (!classNames.containsAll(__HandlesTypes)) + if (!classNames.containsAll(__HandlesTypes)) out.println("
FAIL"); else out.println("
PASS"); diff --git a/jetty-ee11/jetty-ee11-glassfish-jstl/pom.xml b/jetty-ee11/jetty-ee11-glassfish-jstl/pom.xml index 2980bc9f8ba7..26364f2c8cff 100644 --- a/jetty-ee11/jetty-ee11-glassfish-jstl/pom.xml +++ b/jetty-ee11/jetty-ee11-glassfish-jstl/pom.xml @@ -28,8 +28,8 @@ - org.glassfish.web - jakarta.servlet.jsp.jstl + org.glassfish.wasp + wasp diff --git a/jetty-ee11/jetty-ee11-glassfish-jstl/src/main/config/modules/ee11-glassfish-jstl.mod b/jetty-ee11/jetty-ee11-glassfish-jstl/src/main/config/modules/ee11-glassfish-jstl.mod index 6077f1908cab..18ab644ced97 100644 --- a/jetty-ee11/jetty-ee11-glassfish-jstl/src/main/config/modules/ee11-glassfish-jstl.mod +++ b/jetty-ee11/jetty-ee11-glassfish-jstl/src/main/config/modules/ee11-glassfish-jstl.mod @@ -15,4 +15,4 @@ ee11.jakarta.servlet.jsp.jstl.impl.version?=@jakarta.servlet.jsp.jstl.impl.versi [lib] lib/ee11-glassfish-jstl/jakarta.servlet.jsp.jstl.jakarta.servlet.jsp.jstl-api-${ee11.jakarta.servlet.jsp.jstl.api.version}.jar -lib/ee11-glassfish-jstl/org.glassfish.web.jakarta.servlet.jsp.jstl-${ee11.jakarta.servlet.jsp.jstl.impl.version}.jar +lib/ee11-glassfish-jstl/org.glassfish.wasp.wasp-${ee11.jakarta.servlet.jsp.jstl.impl.version}.jar diff --git a/jetty-ee11/jetty-ee11-glassfish-jstl/src/test/java/org/eclipse/jetty/ee11/jstl/JspConfig.java b/jetty-ee11/jetty-ee11-glassfish-jstl/src/test/java/org/eclipse/jetty/ee11/jstl/JspConfig.java index deb61b1abe1f..fc379257444d 100644 --- a/jetty-ee11/jetty-ee11-glassfish-jstl/src/test/java/org/eclipse/jetty/ee11/jstl/JspConfig.java +++ b/jetty-ee11/jetty-ee11-glassfish-jstl/src/test/java/org/eclipse/jetty/ee11/jstl/JspConfig.java @@ -30,7 +30,7 @@ public static void init(WebAppContext context, URI baseUri, File scratchDir) { context.setAttribute(ServletContext.TEMPDIR, scratchDir); context.setAttribute("org.eclipse.jetty.server.webapp.ContainerIncludeJarPattern", - ".*/jetty-jakarta-servlet-api-[^/]*\\.jar$|.*jakarta.servlet.jsp.jstl-[^/]*\\.jar|.*taglibs-standard.*\\.jar"); + ".*/jetty-jakarta-servlet-api-[^/]*\\.jar$|.*/wasp-[^/]*\\.jar|.*jakarta.servlet.jsp.jstl-[^/]*\\.jar|.*taglibs-standard.*\\.jar"); context.setWar(baseUri.toASCIIString()); context.setBaseResourceAsPath(Path.of(baseUri)); } diff --git a/jetty-ee11/jetty-ee11-home/pom.xml b/jetty-ee11/jetty-ee11-home/pom.xml index 35085fd8f81d..2afd9487c424 100644 --- a/jetty-ee11/jetty-ee11-home/pom.xml +++ b/jetty-ee11/jetty-ee11-home/pom.xml @@ -285,8 +285,8 @@ generate-resources true - jakarta.servlet.jsp.jstl,org.glassfish.web - jakarta.servlet.jsp.jstl-api,jakarta.servlet.jsp.jstl + jakarta.servlet.jsp.jstl,org.glassfish.wasp + jakarta.servlet.jsp.jstl-api,wasp jar ${assembly-directory}/lib/ee11-glassfish-jstl @@ -299,8 +299,8 @@ generate-resources true - jakarta.servlet.jsp.jstl,org.glassfish.web - jakarta.servlet.jsp.jstl-api,jakarta.servlet.jsp.jstl + jakarta.servlet.jsp.jstl,org.glassfish.wasp + jakarta.servlet.jsp.jstl-api,wasp jar sources ${source-assembly-directory}/lib/ee11-glassfish-jstl diff --git a/jetty-ee11/jetty-ee11-maven-plugin/src/main/java/org/eclipse/jetty/ee11/maven/plugin/MavenWebAppContext.java b/jetty-ee11/jetty-ee11-maven-plugin/src/main/java/org/eclipse/jetty/ee11/maven/plugin/MavenWebAppContext.java index c50578d4a629..66f68824f1cb 100644 --- a/jetty-ee11/jetty-ee11-maven-plugin/src/main/java/org/eclipse/jetty/ee11/maven/plugin/MavenWebAppContext.java +++ b/jetty-ee11/jetty-ee11-maven-plugin/src/main/java/org/eclipse/jetty/ee11/maven/plugin/MavenWebAppContext.java @@ -59,7 +59,7 @@ public class MavenWebAppContext extends WebAppContext { private static final Logger LOG = LoggerFactory.getLogger(MavenWebAppContext.class); - private static final String DEFAULT_CONTAINER_INCLUDE_JAR_PATTERN = ".*/jakarta.servlet-[^/]*\\.jar$|.*/jetty-jakarta-servlet-api-[^/]*\\.jar$|.*jakarta.servlet.jsp.jstl-[^/]*\\.jar|.*taglibs-standard-[^/]*\\.jar$"; + private static final String DEFAULT_CONTAINER_INCLUDE_JAR_PATTERN = ".*/jakarta.servlet-[^/]*\\.jar$|.*wasp-.*\\.jar$|.*/jetty-jakarta-servlet-api-[^/]*\\.jar$|.*jakarta.servlet.jsp.jstl-[^/]*\\.jar|.*taglibs-standard-[^/]*\\.jar$"; private static final String WEB_INF_CLASSES_PREFIX = "/WEB-INF/classes"; diff --git a/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/pom.xml b/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/pom.xml index c52da10e834c..ea17d8c9c702 100644 --- a/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/pom.xml +++ b/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/pom.xml @@ -56,8 +56,8 @@ jetty-http2-server - org.glassfish.web - jakarta.servlet.jsp.jstl + org.glassfish.wasp + wasp org.mortbay.jasper diff --git a/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/src/test/java/org/eclipse/jetty/ee11/osgi/test/TestJettyOSGiBootWithJsp.java b/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/src/test/java/org/eclipse/jetty/ee11/osgi/test/TestJettyOSGiBootWithJsp.java index b9ed65d99dc2..8ed634271ef2 100644 --- a/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/src/test/java/org/eclipse/jetty/ee11/osgi/test/TestJettyOSGiBootWithJsp.java +++ b/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/src/test/java/org/eclipse/jetty/ee11/osgi/test/TestJettyOSGiBootWithJsp.java @@ -68,7 +68,6 @@ public static Option[] configure() } @Test - @Disabled("TODO servlet6.1 jstl not ported to servlet 6 jars yet") public void testJspDump() throws Exception { if (Boolean.getBoolean(TestOSGiUtil.BUNDLE_DEBUG)) diff --git a/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/src/test/java/org/eclipse/jetty/ee11/osgi/test/TestOSGiUtil.java b/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/src/test/java/org/eclipse/jetty/ee11/osgi/test/TestOSGiUtil.java index fbbb1763f139..b8e70b9f1170 100644 --- a/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/src/test/java/org/eclipse/jetty/ee11/osgi/test/TestOSGiUtil.java +++ b/jetty-ee11/jetty-ee11-osgi/test-jetty-ee11-osgi/src/test/java/org/eclipse/jetty/ee11/osgi/test/TestOSGiUtil.java @@ -248,7 +248,7 @@ public static void coreJspDependencies(List - org.glassfish.web - jakarta.servlet.jsp.jstl + org.glassfish.wasp + wasp ${jakarta.servlet.jsp.jstl.impl.version} @@ -672,13 +672,13 @@ - - org.glassfish.web - jakarta.servlet.jsp.jstl + + org.glassfish.wasp + wasp regex - ^(?!3.0.).+ + ^(?!4.0.).+ diff --git a/pom.xml b/pom.xml index a2db7a6f834b..eb967440caef 100644 --- a/pom.xml +++ b/pom.xml @@ -224,8 +224,8 @@ 2.1.3 6.1.0 4.0.0 - 3.0.0 - 3.0.1 + 3.0.2 + 4.0.0 2.0.1 2.2.0-M1 4.0.0