diff --git a/examples/embedded/pom.xml b/examples/embedded/pom.xml index 38a9012625e3..8bef9fafb889 100644 --- a/examples/embedded/pom.xml +++ b/examples/embedded/pom.xml @@ -50,11 +50,6 @@ jetty-jmx ${project.version} - - org.eclipse.jetty - jetty-cdi - ${project.version} - org.eclipse.jetty.websocket javax-websocket-server-impl @@ -158,13 +153,6 @@ tar.gz test - - org.jboss.weld.servlet - weld-servlet-core - ${weld.version} - test - - diff --git a/jetty-cdi/pom.xml b/jetty-cdi/pom.xml index c06cc91e72a9..f1dd8a4b8a19 100644 --- a/jetty-cdi/pom.xml +++ b/jetty-cdi/pom.xml @@ -32,6 +32,12 @@ ${project.version} compile + + org.jboss.weld.servlet + weld-servlet-core + ${weld.version} + test + diff --git a/examples/embedded/src/test/java/org/eclipse/jetty/embedded/EmbeddedWeldTest.java b/jetty-cdi/src/test/java/org/eclipse/jetty/embedded/EmbeddedWeldTest.java similarity index 100% rename from examples/embedded/src/test/java/org/eclipse/jetty/embedded/EmbeddedWeldTest.java rename to jetty-cdi/src/test/java/org/eclipse/jetty/embedded/EmbeddedWeldTest.java diff --git a/examples/embedded/src/test/resources/META-INF/beans.xml b/jetty-cdi/src/test/resources/META-INF/beans.xml similarity index 96% rename from examples/embedded/src/test/resources/META-INF/beans.xml rename to jetty-cdi/src/test/resources/META-INF/beans.xml index 5fd351cfd218..abb1108351b5 100644 --- a/examples/embedded/src/test/resources/META-INF/beans.xml +++ b/jetty-cdi/src/test/resources/META-INF/beans.xml @@ -1,4 +1,4 @@ -o \ No newline at end of file + \ No newline at end of file