diff --git a/aggregates/jetty-websocket-all/pom.xml b/aggregates/jetty-websocket-all/pom.xml index 1072ebcff9c..8ab1dc55680 100644 --- a/aggregates/jetty-websocket-all/pom.xml +++ b/aggregates/jetty-websocket-all/pom.xml @@ -24,7 +24,7 @@ **/MANIFEST.MF - javax.annotations,org.objectweb.asm,javax.servlet,org.slf4j,org.eclipse.jetty.orbit,org.mortbay.jetty.npn + jakarta.annotation,org.objectweb.asm,javax.servlet,org.slf4j,org.eclipse.jetty.orbit,org.mortbay.jetty.npn ${project.build.directory}/classes false true diff --git a/jetty-annotations/pom.xml b/jetty-annotations/pom.xml index 3f465130328..9dbc7522bc1 100644 --- a/jetty-annotations/pom.xml +++ b/jetty-annotations/pom.xml @@ -62,8 +62,8 @@ ${project.version} - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api org.ow2.asm diff --git a/jetty-home/pom.xml b/jetty-home/pom.xml index 6082425b5ad..c3dbd2104cd 100644 --- a/jetty-home/pom.xml +++ b/jetty-home/pom.xml @@ -315,8 +315,8 @@ copy-dependencies - javax.annotation,org.eclipse.jetty.orbit,org.ow2.asm - javax.annotation-api,asm,asm-commons,asm-tree,asm-analysis + jakarta.annotation,org.eclipse.jetty.orbit,org.ow2.asm + jakarta.annotation-api,asm,asm-commons,asm-tree,asm-analysis jar ${assembly-directory}/lib/annotations @@ -328,8 +328,8 @@ copy-dependencies - javax.annotation,org.eclipse.jetty.orbit,org.ow2.asm - javax.annotation-api,asm,asm-commons,asm-tree,asm-analysis + jakarta.annotation,org.eclipse.jetty.orbit,org.ow2.asm + jakarta.annotation-api,asm,asm-commons,asm-tree,asm-analysis jar sources ${source-assembly-directory}/lib/annotations @@ -523,8 +523,8 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api jakarta.transaction diff --git a/jetty-maven-plugin/src/it/javax-annotation-api/pom.xml b/jetty-maven-plugin/src/it/javax-annotation-api/pom.xml index fb18c6c6427..fac86464bd7 100644 --- a/jetty-maven-plugin/src/it/javax-annotation-api/pom.xml +++ b/jetty-maven-plugin/src/it/javax-annotation-api/pom.xml @@ -19,7 +19,6 @@ 8 ${project.build.directory}/jetty-run-mojo-annotation.txt - @javax.annotation-api@ @@ -30,8 +29,8 @@ provided - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api @annotation-api.version@ @@ -100,15 +99,10 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api @annotation-api.version@ - - javax.annotation - jsr250-api - @jsr250-api.version@ - diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java index bf6687b322b..dbb115681c4 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java @@ -18,13 +18,6 @@ package org.eclipse.jetty.osgi.test; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertTrue; -import static org.ops4j.pax.exam.CoreOptions.mavenBundle; -import static org.ops4j.pax.exam.CoreOptions.systemProperty; - import java.io.File; import java.io.IOException; import java.util.ArrayList; @@ -52,6 +45,13 @@ import org.osgi.framework.BundleContext; import org.osgi.framework.ServiceReference; import org.osgi.service.http.HttpService; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import static org.ops4j.pax.exam.CoreOptions.mavenBundle; +import static org.ops4j.pax.exam.CoreOptions.systemProperty; + /** * Helper methods for pax-exam tests */ @@ -119,7 +119,7 @@ public class TestOSGiUtil res.add(mavenBundle().groupId( "org.ow2.asm" ).artifactId( "asm-commons" ).versionAsInProject().start()); res.add(mavenBundle().groupId( "org.ow2.asm" ).artifactId( "asm-tree" ).versionAsInProject().start()); res.add(mavenBundle().groupId( "org.apache.aries.spifly" ).artifactId( "org.apache.aries.spifly.dynamic.bundle" ).versionAsInProject().start()); - res.add(mavenBundle().groupId( "javax.annotation" ).artifactId( "javax.annotation-api" ).versionAsInProject().start()); + res.add(mavenBundle().groupId( "jakarta.annotation" ).artifactId( "jakarta.annotation-api" ).versionAsInProject().start()); res.add(mavenBundle().groupId( "org.apache.geronimo.specs" ).artifactId( "geronimo-jta_1.1_spec" ).version("1.1.1").start()); res.add(mavenBundle().groupId( "org.eclipse.jetty" ).artifactId( "jetty-util" ).versionAsInProject().start()); res.add(mavenBundle().groupId( "org.eclipse.jetty" ).artifactId( "jetty-deploy" ).versionAsInProject().start()); diff --git a/pom.xml b/pom.xml index 41a54661099..c3e7f679eef 100644 --- a/pom.xml +++ b/pom.xml @@ -60,8 +60,7 @@ 2.1.1.RELEASE - 1.0 - 1.3.2 + 1.3.4 2.9.7 @@ -912,8 +911,8 @@ 1.1 - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api ${annotation-api.version} diff --git a/tests/test-webapps/test-jetty-webapp/pom.xml b/tests/test-webapps/test-jetty-webapp/pom.xml index 240d69faa66..27b738317df 100644 --- a/tests/test-webapps/test-jetty-webapp/pom.xml +++ b/tests/test-webapps/test-jetty-webapp/pom.xml @@ -190,8 +190,8 @@ provided - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api provided diff --git a/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml b/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml index 37bd48e3324..4dd9b8fef0d 100644 --- a/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml +++ b/tests/test-webapps/test-servlet-spec/test-spec-webapp/pom.xml @@ -190,8 +190,8 @@ provided - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api provided