From 15691a2c8a62b33b765b5c78ae3fb2a138a1dd6c Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sat, 4 Jul 2020 17:00:19 +0200 Subject: Moving to jakarta libraries --- archiva-jetty/pom.xml | 4 +- .../archiva-base/archiva-checksum/pom.xml | 8 +- .../archiva-base/archiva-configuration/pom.xml | 8 +- .../archiva-consumer-archetype/pom.xml | 8 +- .../META-INF/maven/archetype-metadata.xml | 6 + .../resourcesstatic/archetype-resources/pom.xml | 14 +- .../projects/compile/archetype.properties | 2 + .../archiva-core-consumers/pom.xml | 20 +-- .../archiva-indexer-consumers/pom.xml | 8 +- .../archiva-metadata-consumer/pom.xml | 8 +- .../archiva-base/archiva-filelock/pom.xml | 4 +- .../archiva-base/archiva-plexus-bridge/pom.xml | 4 +- .../archiva-base/archiva-policies/pom.xml | 12 +- archiva-modules/archiva-base/archiva-proxy/pom.xml | 12 +- .../archiva-repository-admin-default/pom.xml | 16 +- .../archiva-base/archiva-repository-api/pom.xml | 8 +- .../archiva-base/archiva-repository-layer/pom.xml | 8 +- .../archiva-repository-scanner/pom.xml | 4 +- .../archiva-base/archiva-transaction/pom.xml | 8 +- .../archiva-maven/archiva-maven-common/pom.xml | 4 +- .../archiva-maven/archiva-maven-indexer/pom.xml | 12 +- .../archiva-maven/archiva-maven-proxy/pom.xml | 24 +-- .../archiva-maven/archiva-maven-repository/pom.xml | 16 +- .../archiva-maven/archiva-maven-scheduler/pom.xml | 12 +- .../archiva-scheduler-indexing/pom.xml | 4 +- .../archiva-scheduler-repository/pom.xml | 8 +- .../archiva-rest/archiva-rest-api/pom.xml | 8 +- .../archiva-rest/archiva-rest-services/pom.xml | 75 ++++++--- archiva-modules/archiva-web/archiva-rss/pom.xml | 4 +- .../archiva-web/archiva-security/pom.xml | 16 +- .../archiva-web/archiva-web-common/pom.xml | 40 ++--- .../archiva-web/archiva-webapp-test/pom.xml | 24 +-- archiva-modules/archiva-web/archiva-webapp/pom.xml | 169 ++++++++++++++++---- .../src/main/webapp/WEB-INF/applicationContext.xml | 3 - archiva-modules/archiva-web/archiva-webdav/pom.xml | 24 +-- .../metadata/metadata-repository-api/pom.xml | 4 +- .../metadata-store-cassandra/pom.xml | 29 +++- .../metadata-store-file/pom.xml | 4 +- .../oak-jcr/metadata-store-jcr/pom.xml | 8 +- archiva-modules/plugins/audit/pom.xml | 4 +- archiva-modules/plugins/problem-reports/pom.xml | 16 +- .../plugins/repository-statistics/pom.xml | 4 +- jetty.sh | 2 +- pom.xml | 173 +++++++++++++++------ 44 files changed, 547 insertions(+), 302 deletions(-) diff --git a/archiva-jetty/pom.xml b/archiva-jetty/pom.xml index 86a8d2985..ffa292180 100644 --- a/archiva-jetty/pom.xml +++ b/archiva-jetty/pom.xml @@ -76,8 +76,8 @@ runtime - javax.mail - mail + jakarta.mail + jakarta.mail-api runtime diff --git a/archiva-modules/archiva-base/archiva-checksum/pom.xml b/archiva-modules/archiva-base/archiva-checksum/pom.xml index 705b95904..f376623a3 100644 --- a/archiva-modules/archiva-base/archiva-checksum/pom.xml +++ b/archiva-modules/archiva-base/archiva-checksum/pom.xml @@ -82,14 +82,14 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api test - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api test diff --git a/archiva-modules/archiva-base/archiva-configuration/pom.xml b/archiva-modules/archiva-base/archiva-configuration/pom.xml index 5fc0b780c..0305dbca0 100644 --- a/archiva-modules/archiva-base/archiva-configuration/pom.xml +++ b/archiva-modules/archiva-base/archiva-configuration/pom.xml @@ -77,12 +77,12 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api - javax.inject - javax.inject + jakarta.inject +jakarta.inject-api diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml index a0d7e8278..a86d0a1fe 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/pom.xml @@ -52,12 +52,12 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api org.springframework diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml index cab89706c..431c517b5 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -64,6 +64,12 @@ ${wagon.version} + + ${jakarta.inject.version} + + + ${jakarta.annotation.version} + diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml index dec0cfd53..e394f512e 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resourcesstatic/archetype-resources/pom.xml @@ -42,6 +42,8 @@ ${beanUtilsVersion} ${mavenWagonVersion} ${archivaCompVersion} + ${jakartaInjectVersion} + ${jakartaAnnotationVersion} @@ -147,14 +149,14 @@ ${slf4j.version} - javax.inject - javax.inject - 1 + jakarta.inject + jakarta.inject-api + ${jakarta.inject.version} - javax.annotation - javax.annotation-api - 1.3.2 + jakarta.annotation + jakarta.annotation-api + ${jakarta.annotation.version} org.springframework diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties index 8296e7473..65fb3699f 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/test/resources/projects/compile/archetype.properties @@ -34,3 +34,5 @@ httpcoreVersion=${httpclient.core.version} archivaCompVersion=${archiva.comp.version} beanUtilsVersion=${commons.beanutils.version} mavenWagonVersion=${wagon.version} +jakartaInjectVersion=${jakarta.inject.version} +jakartaAnnotationVersion=${jakarta.annotation.version} diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml index fdf9efd50..a10ae8149 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml @@ -87,12 +87,12 @@ - javax.inject - javax.inject + jakarta.annotation + jakarta.annotation-api - javax.annotation - javax.annotation-api + jakarta.inject + jakarta.inject-api @@ -137,13 +137,13 @@ - javax.persistence - javax.persistence-api + jakarta.persistence + jakarta.persistence-api test - javax.transaction - javax.transaction-api + jakarta.transaction + jakarta.transaction-api test @@ -347,8 +347,8 @@ Using provided scope to avoid adding it to packaging. - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/pom.xml index 5d707f07d..84c501651 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-indexer-consumers/pom.xml @@ -79,12 +79,12 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/pom.xml index c8c11fd9c..f23955a1c 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/pom.xml @@ -63,12 +63,12 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api diff --git a/archiva-modules/archiva-base/archiva-filelock/pom.xml b/archiva-modules/archiva-base/archiva-filelock/pom.xml index 448aa428e..cfdbcb562 100644 --- a/archiva-modules/archiva-base/archiva-filelock/pom.xml +++ b/archiva-modules/archiva-base/archiva-filelock/pom.xml @@ -51,8 +51,8 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api diff --git a/archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml b/archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml index 91d380072..380e936de 100644 --- a/archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml +++ b/archiva-modules/archiva-base/archiva-plexus-bridge/pom.xml @@ -54,8 +54,8 @@ no_aop - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api org.apache.maven diff --git a/archiva-modules/archiva-base/archiva-policies/pom.xml b/archiva-modules/archiva-base/archiva-policies/pom.xml index edeeb89eb..5252b4aa0 100644 --- a/archiva-modules/archiva-base/archiva-policies/pom.xml +++ b/archiva-modules/archiva-base/archiva-policies/pom.xml @@ -55,8 +55,8 @@ commons-io - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api org.slf4j @@ -157,14 +157,14 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api test - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api test diff --git a/archiva-modules/archiva-base/archiva-proxy/pom.xml b/archiva-modules/archiva-base/archiva-proxy/pom.xml index 6a6038df6..2a63d5041 100644 --- a/archiva-modules/archiva-base/archiva-proxy/pom.xml +++ b/archiva-modules/archiva-base/archiva-proxy/pom.xml @@ -88,12 +88,12 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api org.springframework @@ -180,8 +180,8 @@ - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api test diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml index 02ed04e1b..80e462062 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/pom.xml @@ -120,12 +120,12 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api @@ -187,8 +187,8 @@ test - javax.persistence - javax.persistence-api + jakarta.persistence + jakarta.persistence-api test @@ -223,8 +223,8 @@ test - javax.transaction - javax.transaction-api + jakarta.transaction + jakarta.transaction-api test diff --git a/archiva-modules/archiva-base/archiva-repository-api/pom.xml b/archiva-modules/archiva-base/archiva-repository-api/pom.xml index 584375efd..be94705fe 100644 --- a/archiva-modules/archiva-base/archiva-repository-api/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-api/pom.xml @@ -60,12 +60,12 @@ spring-context - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api org.apache.archiva.components.registry diff --git a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml index 2c18c4d86..496450386 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-layer/pom.xml @@ -83,13 +83,13 @@ cron-utils - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api provided - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api org.apache.commons diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml index b6df47cff..086bbcff1 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml +++ b/archiva-modules/archiva-base/archiva-repository-scanner/pom.xml @@ -83,8 +83,8 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api diff --git a/archiva-modules/archiva-base/archiva-transaction/pom.xml b/archiva-modules/archiva-base/archiva-transaction/pom.xml index 84665df30..d6bf57fda 100644 --- a/archiva-modules/archiva-base/archiva-transaction/pom.xml +++ b/archiva-modules/archiva-base/archiva-transaction/pom.xml @@ -68,14 +68,14 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api test - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api test diff --git a/archiva-modules/archiva-maven/archiva-maven-common/pom.xml b/archiva-modules/archiva-maven/archiva-maven-common/pom.xml index 90fdcfa5b..0fa3515c9 100644 --- a/archiva-modules/archiva-maven/archiva-maven-common/pom.xml +++ b/archiva-modules/archiva-maven/archiva-maven-common/pom.xml @@ -51,8 +51,8 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api - javax.persistence - javax.persistence-api + jakarta.persistence + jakarta.persistence-api test @@ -192,8 +192,8 @@ test - javax.transaction - javax.transaction-api + jakarta.transaction + jakarta.transaction-api test @@ -249,8 +249,8 @@ - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api 2.3.0 provided diff --git a/archiva-modules/archiva-maven/archiva-maven-repository/pom.xml b/archiva-modules/archiva-maven/archiva-maven-repository/pom.xml index 5c663dd4e..c3259e1f4 100644 --- a/archiva-modules/archiva-maven/archiva-maven-repository/pom.xml +++ b/archiva-modules/archiva-maven/archiva-maven-repository/pom.xml @@ -112,12 +112,12 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api @@ -377,14 +377,14 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api test - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api test diff --git a/archiva-modules/archiva-maven/archiva-maven-scheduler/pom.xml b/archiva-modules/archiva-maven/archiva-maven-scheduler/pom.xml index 30d6e8d73..e9f49ec72 100644 --- a/archiva-modules/archiva-maven/archiva-maven-scheduler/pom.xml +++ b/archiva-modules/archiva-maven/archiva-maven-scheduler/pom.xml @@ -82,12 +82,16 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api + + + jakarta.servlet + jakarta.servlet-api diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml index 0a918a755..1908333fd 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/pom.xml @@ -51,8 +51,8 @@ archiva-components-spring-taskqueue - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api org.springframework diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml index a1069710a..fdde84cd0 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/pom.xml @@ -98,12 +98,12 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml index cff05468d..9bf725ec2 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml @@ -74,8 +74,8 @@ - javax.ws.rs - javax.ws.rs-api + jakarta.ws.rs + jakarta.ws.rs-api @@ -109,8 +109,8 @@ - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api 2.3.0 provided diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml index 6e9f62600..dad1cd887 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/pom.xml @@ -247,8 +247,8 @@ - javax.inject - javax.inject + jakarta.inject +jakarta.inject-api jakarta.xml.bind @@ -296,29 +296,38 @@ - javax.ws.rs - javax.ws.rs-api + jakarta.ws.rs + jakarta.ws.rs-api + + com.fasterxml.jackson.core jackson-databind - - - org.modelmapper - modelmapper - - com.fasterxml.jackson.jaxrs jackson-jaxrs-json-provider - 2.10.4 com.fasterxml.jackson.jaxrs jackson-jaxrs-xml-provider - 2.10.4 + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-base + + + + + org.modelmapper + modelmapper + + org.apache.cxf cxf-core @@ -350,8 +359,8 @@ - javax.persistence - javax.persistence-api + jakarta.persistence + jakarta.persistence-api test @@ -360,8 +369,8 @@ test - javax.transaction - javax.transaction-api + jakarta.transaction + jakarta.transaction-api test @@ -376,6 +385,11 @@ tests test + + org.apache.archiva.redback + redback-keys-jpa + test + org.apache.archiva @@ -390,8 +404,8 @@ - javax.mail - mail + jakarta.mail + jakarta.mail-api test @@ -434,22 +448,33 @@ - javax.servlet - javax.servlet-api + jakarta.servlet + jakarta.servlet-api provided - - javax.validation - validation-api + jakarta.validation + jakarta.validation-api provided + + org.eclipse.jetty + jetty-server + test + + + org.eclipse.jetty + jetty-servlet + test + + + - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api test diff --git a/archiva-modules/archiva-web/archiva-rss/pom.xml b/archiva-modules/archiva-web/archiva-rss/pom.xml index 95a1bb532..f67f8a4ee 100644 --- a/archiva-modules/archiva-web/archiva-rss/pom.xml +++ b/archiva-modules/archiva-web/archiva-rss/pom.xml @@ -52,8 +52,8 @@ spring-context - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api com.rometools diff --git a/archiva-modules/archiva-web/archiva-security/pom.xml b/archiva-modules/archiva-web/archiva-security/pom.xml index 3f6e2b37c..08dfaa3a7 100644 --- a/archiva-modules/archiva-web/archiva-security/pom.xml +++ b/archiva-modules/archiva-web/archiva-security/pom.xml @@ -45,12 +45,12 @@ archiva-security-common - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api - javax.servlet - javax.servlet-api + jakarta.servlet + jakarta.servlet-api provided @@ -153,8 +153,8 @@ test - javax.persistence - javax.persistence-api + jakarta.persistence + jakarta.persistence-api test @@ -168,8 +168,8 @@ test - javax.transaction - javax.transaction-api + jakarta.transaction + jakarta.transaction-api test diff --git a/archiva-modules/archiva-web/archiva-web-common/pom.xml b/archiva-modules/archiva-web/archiva-web-common/pom.xml index 25206ac1c..82b0900fe 100644 --- a/archiva-modules/archiva-web/archiva-web-common/pom.xml +++ b/archiva-modules/archiva-web/archiva-web-common/pom.xml @@ -286,12 +286,12 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api - javax.activation - activation + jakarta.activation + jakarta.activation-api @@ -320,8 +320,8 @@ commons-codec - javax.ws.rs - javax.ws.rs-api + jakarta.ws.rs + jakarta.ws.rs-api org.quartz-scheduler @@ -344,8 +344,8 @@ jsoup - javax.servlet - javax.servlet-api + jakarta.servlet + jakarta.servlet-api org.springframework @@ -380,15 +380,15 @@ - javax.mail - mail + jakarta.mail + jakarta.mail-api provided - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api @@ -397,13 +397,13 @@ test - javax.persistence - javax.persistence-api + jakarta.persistence + jakarta.persistence-api test - javax.transaction - javax.transaction-api + jakarta.transaction + jakarta.transaction-api test @@ -510,8 +510,8 @@ - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api test @@ -610,8 +610,8 @@ - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api 2.3.0 provided diff --git a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml index 924ce0598..57ae9b58d 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp-test/pom.xml @@ -92,8 +92,8 @@ commons-logging - javax.servlet - javax.servlet-api + jakarta.servlet + jakarta.servlet-api org.eclipse.jetty @@ -150,8 +150,8 @@ commons-logging - javax.servlet - javax.servlet-api + jakarta.servlet + jakarta.servlet-api org.eclipse.jetty @@ -188,8 +188,8 @@ commons-logging - javax.servlet - javax.servlet-api + jakarta.servlet + jakarta.servlet-api org.eclipse.jetty @@ -262,12 +262,12 @@ derby - javax.mail - mail + jakarta.mail + jakarta.mail-api - javax.activation - activation + jakarta.activation + jakarta.activation-api org.apache.commons @@ -570,8 +570,8 @@ ${derbyVersion} - javax.mail - mail + jakarta.mail + jakarta.mail-api ${javax.mail.version} diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index e2f38ad7d..dd8141a63 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -17,7 +17,8 @@ ~ specific language governing permissions and limitations ~ under the License. --> - + 4.0.0 org.apache.archiva @@ -35,8 +36,8 @@ true ${project.build.directory}/appserver-base false - - + + 30 jcr localhost @@ -48,66 +49,80 @@ org.apache.archiva generic-metadata-support + runtime org.apache.archiva repository-statistics + runtime org.apache.archiva problem-reports + runtime org.apache.archiva audit + runtime org.apache.archiva archiva-scheduler-repository + runtime org.apache.archiva.maven archiva-maven-indexer + runtime org.apache.archiva archiva-filelock + runtime org.apache.archiva archiva-repository-admin-api + runtime org.apache.archiva archiva-repository-admin-default + runtime org.apache.archiva metadata-repository-api + runtime org.apache.archiva metadata-store-jcr + runtime org.apache.archiva metadata-store-file + runtime org.apache.archiva metadata-store-cassandra + runtime org.apache.commons commons-configuration2 + runtime commons-beanutils @@ -123,6 +138,7 @@ commons-digester commons-digester + runtime commons-logging @@ -133,6 +149,7 @@ commons-beanutils commons-beanutils + runtime commons-logging @@ -144,16 +161,19 @@ commons-io commons-io + runtime org.apache.archiva.maven archiva-maven-repository + runtime org.codehaus.plexus plexus-utils + runtime diff --git a/archiva-modules/archiva-web/archiva-webdav/pom.xml b/archiva-modules/archiva-web/archiva-webdav/pom.xml index 4aa03443a..dcfacf75c 100644 --- a/archiva-modules/archiva-web/archiva-webdav/pom.xml +++ b/archiva-modules/archiva-web/archiva-webdav/pom.xml @@ -185,8 +185,8 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api net.sf.ehcache @@ -241,8 +241,8 @@ slf4j-api - javax.servlet - javax.servlet-api + jakarta.servlet + jakarta.servlet-api provided @@ -273,8 +273,8 @@ test - javax.persistence - javax.persistence-api + jakarta.persistence + jakarta.persistence-api test @@ -283,8 +283,8 @@ test - javax.transaction - javax.transaction-api + jakarta.transaction + jakarta.transaction-api test @@ -398,13 +398,13 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api test - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api test diff --git a/archiva-modules/metadata/metadata-repository-api/pom.xml b/archiva-modules/metadata/metadata-repository-api/pom.xml index 192652919..0a360d532 100644 --- a/archiva-modules/metadata/metadata-repository-api/pom.xml +++ b/archiva-modules/metadata/metadata-repository-api/pom.xml @@ -71,8 +71,8 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api diff --git a/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml b/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml index 364ce76f5..fa58650f4 100644 --- a/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml +++ b/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/pom.xml @@ -80,12 +80,12 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api @@ -143,6 +143,15 @@ org.jboss.logging jboss-logging + + javax.inject + javax.inject + + + javax.validation + validation-api + + @@ -189,6 +198,12 @@ org.apache.thrift libthrift 0.13.0 + + + javax.annotation + javax.annotation-api + + diff --git a/archiva-modules/plugins/problem-reports/pom.xml b/archiva-modules/plugins/problem-reports/pom.xml index 5cadb8bb5..d86467c4d 100644 --- a/archiva-modules/plugins/problem-reports/pom.xml +++ b/archiva-modules/plugins/problem-reports/pom.xml @@ -68,12 +68,12 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api org.apache.commons @@ -167,14 +167,14 @@ - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api test - javax.xml.bind - jaxb-api + jakarta.xml.bind + jakarta.xml.bind-api test diff --git a/archiva-modules/plugins/repository-statistics/pom.xml b/archiva-modules/plugins/repository-statistics/pom.xml index 988573265..7fc78285c 100644 --- a/archiva-modules/plugins/repository-statistics/pom.xml +++ b/archiva-modules/plugins/repository-statistics/pom.xml @@ -62,8 +62,8 @@ - javax.inject - javax.inject + jakarta.inject + jakarta.inject-api diff --git a/jetty.sh b/jetty.sh index 9bad796b4..835b7f36d 100644 --- a/jetty.sh +++ b/jetty.sh @@ -1 +1 @@ -mvn jetty:run -pl :archiva-webapp -am +mvn jetty:run -pl :archiva-webapp -am "$@" diff --git a/pom.xml b/pom.xml index 7ae55e3c1..45c17627c 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ 4.5.2 4.4.4 - 2.4.1 + 3.1.1 2.3.5 @@ -126,52 +126,86 @@ + - javax.inject - javax.inject - ${javax.inject.version} + jakarta.inject + jakarta.inject-api + ${jakarta.inject.version} provided - javax.transaction - javax.transaction-api - ${javax.transaction.version} + jakarta.transaction + jakarta.transaction-api + ${jakarta.transaction.version} provided - javax.persistence - javax.persistence-api - ${javax.persistence.version} + jakarta.persistence + jakarta.persistence-api + ${jakarta.persistence.version} provided - javax.annotation - javax.annotation-api - ${javax.annotation.version} + jakarta.annotation + jakarta.annotation-api + ${jakarta.annotation.version} provided - javax.activation - activation - ${javax.activation.version} + jakarta.json.bind + jakarta.json.bind-api + ${jakarta.json.bind.version} provided - javax.xml.bind - jaxb-api - ${javax.jaxb.version} + jakarta.xml.bind + jakarta.xml.bind-api + ${jakarta.xml.bind.version} + provided + + + jakarta.ws.rs + jakarta.ws.rs-api + ${jakarta.ws.rs.version} + provided + + + jakarta.validation + jakarta.validation-api + ${jakarta.validation.version} + provided + + + jakarta.activation + jakarta.activation-api + ${jakarta.activation.version} + provided + + + jakarta.mail + jakarta.mail-api + ${jakarta.mail.version} + provided - javax.ws.rs - javax.ws.rs-api - ${javax.jaxrs.version} + com.sun.mail + jakarta.mail + ${jakarta.mail.version} + provided - javax.validation - validation-api - ${javax.validation.version} + jakarta.servlet + jakarta.servlet-api + ${jakarta.servlet.version} provided + + jakarta.enterprise + jakarta.enterprise.cdi-api + ${jakarta.enterprise.cdi.version} + provided + + @@ -183,10 +217,6 @@ junit junit - - org.apache.geronimo.specs - geronimo-jpa_2.0_spec - org.apache.geronimo.specs geronimo-jms_1.1_spec @@ -195,6 +225,18 @@ org.apache.geronimo.specs geronimo-jta_1.1_spec + + java.xml.stream + stax-api + + + javax.xml.bind + jaxb-api + + + com.sun.xml.bind + jaxb-impl + @@ -699,6 +741,14 @@ com.google.inject guice + + javax.annotation + javax.annotation-api + + + javax.inject + javax.inject + @@ -746,6 +796,10 @@ javax.annotation jsr250-api + + javax.enterprise + cdi-api + @@ -767,10 +821,28 @@ jackson-annotations ${jackson.version} + + com.fasterxml.jackson.dataformat + jackson-dataformat-xml + ${jackson.version} + + + com.fasterxml.jackson.jaxrs + jackson-jaxrs-base + ${jackson.version} + + + org.apache.cxf cxf-rt-frontend-jaxrs ${cxf.version} + + + javax.annotation + javax.annotation-api + + org.apache.cxf @@ -928,11 +1000,6 @@ lucene-highlighter ${lucene.version} - - javax.mail - mail - ${javax.mail.version} - @@ -972,6 +1039,10 @@ com.google.guava guava + + javax.inject + javax.inject + @@ -993,6 +1064,12 @@ maven-resolver-provider ${maven3x.version} pom + + + javax.inject + javax.inject + + @@ -1000,6 +1077,12 @@ org.apache.maven maven-resolver-provider ${maven3x.version} + + + javax.inject + javax.inject + + org.apache.maven.resolver @@ -1063,8 +1146,8 @@ ${archiva.comp.version} - javax.annotation - javax.annotation-api + jakarta.annotation + jakarta.annotation-api @@ -1272,11 +1355,6 @@ archiva-components-spring-registry-commons ${archiva.comp.version} - - javax.servlet - javax.servlet-api - ${javax.servlet.version} - org.slf4j slf4j-api @@ -1440,6 +1518,12 @@ org.eclipse.jetty jetty-server ${jetty.version} + + + javax.servlet + javax.servlet-api + + org.eclipse.jetty @@ -1681,13 +1765,6 @@ - - jakarta.xml.bind - jakarta.xml.bind-api - 2.3.3 - provided - - com.fasterxml.jackson.core jackson-databind -- cgit v1.2.3