diff --git a/README.md b/README.md
index c174089e9f..e52d38b6b3 100644
--- a/README.md
+++ b/README.md
@@ -68,6 +68,7 @@ You will find the source code here:
|-- wicket-auth-roles
|-- wicket-bean-validation
|-- wicket-cdi
+ |-- wicket-cdi-tests
|-- wicket-core
|-- wicket-tester
|-- wicket-core-tests
diff --git a/pom.xml b/pom.xml
index dcb64d6388..d75f520f85 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,6 +106,7 @@
wicket-extensions
wicket-ioc
wicket-cdi
+ wicket-cdi-tests
wicket-spring
wicket-velocity
wicket-auth-roles
@@ -572,6 +573,12 @@
+
+ io.github.cdi-unit
+ cdi-unit
+ ${cdi-unit.version}
+ test
+
org.apache.wicket
wicket-tester
@@ -637,12 +644,6 @@
-
- io.github.cdi-unit
- cdi-unit
- ${cdi-unit.version}
- test
-
org.junit.jupiter
junit-jupiter-engine
diff --git a/wicket-cdi-tests/pom.xml b/wicket-cdi-tests/pom.xml
new file mode 100644
index 0000000000..d04b2ac9cf
--- /dev/null
+++ b/wicket-cdi-tests/pom.xml
@@ -0,0 +1,93 @@
+
+
+
+ 4.0.0
+
+ org.apache.wicket
+ wicket-parent
+ 10.3.0-SNAPSHOT
+ ../pom.xml
+
+ wicket-cdi-tests
+ jar
+ Wicket CDI tests
+
+ Provides tests for the Wicket and CDI module.
+
+
+ org.apache.wicket.cdi*;-noimport:=true
+ !java*,!kotlin*,!sun.nio.ch,org.slf4j*;version="[1.7,3)",*
+ true
+ true
+
+
+
+ jakarta.annotation
+ jakarta.annotation-api
+
+
+ jakarta.enterprise
+ jakarta.enterprise.cdi-api
+
+
+ jakarta.servlet
+ jakarta.servlet-api
+
+
+ org.apache.wicket
+ wicket-cdi
+
+
+ io.github.cdi-unit
+ cdi-unit
+
+
+ org.apache.wicket
+ wicket-tester
+
+
+ org.jboss.weld.module
+ weld-web
+ test
+
+
+ org.jboss.weld.se
+ weld-se-core
+ test
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+ test-compile
+
+ testCompile
+
+
+ false
+
+
+
+
+
+
+
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/ApacheLicenceHeaderTest.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/ApacheLicenceHeaderTest.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/ApacheLicenceHeaderTest.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/ApacheLicenceHeaderTest.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/CdiConfigurationTest.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/CdiConfigurationTest.java
similarity index 96%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/CdiConfigurationTest.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/CdiConfigurationTest.java
index 4b73fd8675..201c1c7625 100644
--- a/wicket-cdi/src/test/java/org/apache/wicket/cdi/CdiConfigurationTest.java
+++ b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/CdiConfigurationTest.java
@@ -25,7 +25,6 @@
import org.apache.wicket.cdi.testapp.TestConversationPage;
import org.apache.wicket.cdi.testapp.TestPage;
import org.apache.wicket.util.tester.WicketTester;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import io.github.cdiunit.ActivatedAlternatives;
@@ -35,8 +34,6 @@
/**
* @author jsarman
*/
-// FIXME Wicket 11. Re-enable once the tests are moved to its own module
-@Disabled
@ActivatedAlternatives(AlternativeTestAppScope.class)
class CdiConfigurationTest extends WicketCdiTestCase
{
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/CdiWicketTester.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/ContextManager.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/ContextManager.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/ContextManager.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/ContextManager.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/ConversationPropagatorTest.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/ConversationPropagatorTest.java
similarity index 97%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/ConversationPropagatorTest.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/ConversationPropagatorTest.java
index d61cf2d577..3bbc2addca 100644
--- a/wicket-cdi/src/test/java/org/apache/wicket/cdi/ConversationPropagatorTest.java
+++ b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/ConversationPropagatorTest.java
@@ -22,7 +22,6 @@
import org.apache.wicket.cdi.testapp.TestConversationalPage;
import org.apache.wicket.core.request.mapper.MountedMapper;
import org.apache.wicket.request.mapper.parameter.PageParameters;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import jakarta.enterprise.context.Conversation;
@@ -31,8 +30,6 @@
/**
* @author jsarman
*/
-//FIXME Wicket 11. Re-enable once the tests are moved to its own module
-@Disabled
class ConversationPropagatorTest extends WicketCdiTestCase
{
@Inject
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/WicketCdiTestCase.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/WicketCdiTestCase.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/WicketCdiTestCase.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/WicketCdiTestCase.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/AlternativeTestAppScope.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/AlternativeTestAppScope.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/AlternativeTestAppScope.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/AlternativeTestAppScope.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/ModelWithInjectedDependency.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/ModelWithInjectedDependency.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/ModelWithInjectedDependency.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/ModelWithInjectedDependency.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestAppScope.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestAppScope.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestAppScope.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestAppScope.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationBean.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationBean.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationBean.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationBean.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationPage.html b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationPage.html
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationPage.html
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationPage.html
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationPage.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationPage.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationPage.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationPage.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationalPage.html b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationalPage.html
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationalPage.html
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationalPage.html
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationalPage.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationalPage.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestConversationalPage.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestConversationalPage.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestNonConversationalPage.html b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestNonConversationalPage.html
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestNonConversationalPage.html
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestNonConversationalPage.html
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestNonConversationalPage.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestNonConversationalPage.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestNonConversationalPage.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestNonConversationalPage.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestPage.html b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestPage.html
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestPage.html
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestPage.html
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestPage.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestPage.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestPage.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestPage.java
diff --git a/wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestQualifier.java b/wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestQualifier.java
similarity index 100%
rename from wicket-cdi/src/test/java/org/apache/wicket/cdi/testapp/TestQualifier.java
rename to wicket-cdi-tests/src/test/java/org/apache/wicket/cdi/testapp/TestQualifier.java
diff --git a/wicket-cdi/src/test/java/simplelogger.properties b/wicket-cdi-tests/src/test/java/simplelogger.properties
similarity index 100%
rename from wicket-cdi/src/test/java/simplelogger.properties
rename to wicket-cdi-tests/src/test/java/simplelogger.properties
diff --git a/wicket-cdi/pom.xml b/wicket-cdi/pom.xml
index ae40a917cf..cc231ea967 100644
--- a/wicket-cdi/pom.xml
+++ b/wicket-cdi/pom.xml
@@ -37,10 +37,6 @@
!java*,!kotlin*,!sun.nio.ch,org.slf4j*;version="[1.7,3)",*
-
- org.apache.wicket
- wicket-tester
-
jakarta.annotation
jakarta.annotation-api
@@ -57,21 +53,6 @@
org.apache.wicket
wicket-core
-
- org.jboss.weld.module
- weld-web
- test
-
-
- org.jboss.weld.se
- weld-se-core
- test
-
-
- io.github.cdi-unit
- cdi-unit
- test
-