diff --git a/jetty-cdi/src/main/config/etc/cdi/jetty-cdi2.xml b/jetty-cdi/src/main/config/etc/cdi/jetty-cdi2.xml deleted file mode 100644 index b2a1cfa1614e..000000000000 --- a/jetty-cdi/src/main/config/etc/cdi/jetty-cdi2.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - cdi2 module is deprecated! - - - - - - /etc/cdi/jetty-web-cdi2.xml - - - - - - diff --git a/jetty-cdi/src/main/config/etc/cdi/jetty-web-cdi2.xml b/jetty-cdi/src/main/config/etc/cdi/jetty-web-cdi2.xml deleted file mode 100644 index 8adce7f9e180..000000000000 --- a/jetty-cdi/src/main/config/etc/cdi/jetty-web-cdi2.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - -org.eclipse.jetty.util.Decorator - - - -org.eclipse.jetty.util.DecoratedObjectFactory - - - -org.eclipse.jetty.server.handler.ContextHandler. - - - -org.eclipse.jetty.server.handler.ContextHandler - - - -org.eclipse.jetty.servlet.ServletContextHandler - - - diff --git a/jetty-cdi/src/main/config/modules/cdi2.mod b/jetty-cdi/src/main/config/modules/cdi2.mod deleted file mode 100644 index 48f1387d978b..000000000000 --- a/jetty-cdi/src/main/config/modules/cdi2.mod +++ /dev/null @@ -1,23 +0,0 @@ -# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html - -[description] -Deprecated support for CDI integrations inside the webapp. -This module does not provide CDI, but configures jetty so that a CDI implementation -can enable itself as a decorator for Filters, Servlets and Listeners. -This modules uses the deprecated technique of exposing private Jetty decorate APIs to the CDI -implementation in the webapp. - -[tag] -cdi - -[provides] -cdi-mode - -[depend] -deploy - -[lib] -lib/apache-jsp/org.mortbay.jasper.apache-el-*.jar - -[xml] -etc/cdi/jetty-cdi2.xml diff --git a/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/CDITests.java b/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/CDITests.java index a0e1b9889400..9153d4bb76d8 100644 --- a/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/CDITests.java +++ b/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/CDITests.java @@ -57,14 +57,12 @@ public static Stream tests() return Stream.of( // -- Weld -- - Arguments.of("weld", "cdi2", null), Arguments.of("weld", "cdi-spi", null), // Weld >= 3.1.2 Arguments.of("weld", "decorate", null), // Weld >= 3.1.2 // TODO Arguments.of("weld", "cdi-decorate", null), // Weld >= 3.1.3 // -- Apache OpenWebBeans -- - Arguments.of("owb", "cdi-spi", removeJettyWebXml), - Arguments.of("owb", "cdi2", null) + Arguments.of("owb", "cdi-spi", removeJettyWebXml) // Arguments.of("owb", "decorate", null), // Not supported // Arguments.of("owb", "cdi-decorate", null) // Not supported );