diff --git a/javadoc/pom.xml b/javadoc/pom.xml index adcf6fe01cf..2750f07b9d2 100644 --- a/javadoc/pom.xml +++ b/javadoc/pom.xml @@ -400,7 +400,7 @@ com.sun.mail - mailapi + jakarta.mail ${mail-api.version} provided diff --git a/jetty-jndi/pom.xml b/jetty-jndi/pom.xml index 74527f2e0ad..d534364e297 100644 --- a/jetty-jndi/pom.xml +++ b/jetty-jndi/pom.xml @@ -16,14 +16,6 @@ - - maven-surefire-plugin - - - @{argLine} ${jetty.surefire.argLine} --add-modules jakarta.mail --patch-module jakarta.mail=${settings.localRepository}/com/sun/mail/mailapi/${mail-api.version}/mailapi-${mail-api.version}.jar - - - org.apache.felix maven-bundle-plugin @@ -75,11 +67,5 @@ jakarta.mail-api true - - com.sun.mail - mailapi - ${mail-api.version} - test - diff --git a/pom.xml b/pom.xml index 4a24462d5ea..ebf10174220 100644 --- a/pom.xml +++ b/pom.xml @@ -30,7 +30,7 @@ 3.0 2.0.0 2.0.0-RC1 - 2.0.0-RC6 + 2.0.0 2.0.0-RC4 9.4.8.Final 4.3.4.Final diff --git a/tests/pom.xml b/tests/pom.xml index 4af9fc7eb0e..9856c9a3041 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -69,5 +69,6 @@ test-http-client-transport test-distribution test-cdi + test-jndi diff --git a/tests/test-jndi/pom.xml b/tests/test-jndi/pom.xml new file mode 100644 index 00000000000..224903ca036 --- /dev/null +++ b/tests/test-jndi/pom.xml @@ -0,0 +1,37 @@ + + + + org.eclipse.jetty.tests + tests-parent + 11.0.0-SNAPSHOT + + + 4.0.0 + test-jndi + jar + Test :: JNDI + + + ${project.groupId}.jndi.tests + + + + + org.eclipse.jetty + jetty-jndi + ${project.version} + test + + + org.eclipse.jetty.toolchain + jetty-test-helper + + + com.sun.mail + jakarta.mail + ${mail-api.version} + test + + + + diff --git a/jetty-jndi/src/test/java/org/eclipse/jetty/jndi/factories/TestMailSessionReference.java b/tests/test-jndi/src/test/java/org/eclipse/jetty/jndi/factories/TestMailSessionReference.java similarity index 100% rename from jetty-jndi/src/test/java/org/eclipse/jetty/jndi/factories/TestMailSessionReference.java rename to tests/test-jndi/src/test/java/org/eclipse/jetty/jndi/factories/TestMailSessionReference.java