From 7e7d33928141437fc0448e3f352d513dc2a0ea6d Mon Sep 17 00:00:00 2001 From: Maxim Nesen Date: Fri, 4 Nov 2022 10:23:10 +0100 Subject: [PATCH] add dependencyConvergence rule to the maven-enforcer-plugin Signed-off-by: Maxim Nesen --- containers/pom.xml | 6 ++ examples/entity-filtering-security/pom.xml | 6 ++ examples/entity-filtering-selectable/pom.xml | 6 ++ examples/entity-filtering/pom.xml | 6 ++ examples/open-tracing/pom.xml | 12 ++- ext/microprofile/mp-rest-client/pom.xml | 2 +- ext/spring4/pom.xml | 12 +++ incubator/html-json/pom.xml | 1 + media/json-jackson/pom.xml | 12 +++ pom.xml | 9 ++- security/oauth2-client/pom.xml | 6 ++ .../container-runner-maven-plugin/pom.xml | 78 ++++++++++++++++++- .../maven/custom-enforcer-rules/pom.xml | 22 +++++- test-framework/providers/bundle/pom.xml | 6 ++ tests/integration/j-376/pom.xml | 1 - tests/integration/jersey-2689/pom.xml | 6 ++ .../microprofile/config/webapp/pom.xml | 6 ++ tests/osgi/functional/pom.xml | 4 + tests/performance/benchmarks/pom.xml | 6 ++ 19 files changed, 196 insertions(+), 11 deletions(-) diff --git a/containers/pom.xml b/containers/pom.xml index 5e9e98fd72..00ee924f3e 100644 --- a/containers/pom.xml +++ b/containers/pom.xml @@ -61,6 +61,12 @@ jakarta.ws.rs jakarta.ws.rs-api + + + jakarta.activation + jakarta.activation-api + + diff --git a/examples/entity-filtering-security/pom.xml b/examples/entity-filtering-security/pom.xml index 79ba621b0c..36427c2532 100644 --- a/examples/entity-filtering-security/pom.xml +++ b/examples/entity-filtering-security/pom.xml @@ -30,6 +30,12 @@ org.glassfish.jersey.core jersey-server + + + jakarta.activation + jakarta.activation-api + + org.glassfish.jersey.containers diff --git a/examples/entity-filtering-selectable/pom.xml b/examples/entity-filtering-selectable/pom.xml index 463b10f9f6..564e077832 100644 --- a/examples/entity-filtering-selectable/pom.xml +++ b/examples/entity-filtering-selectable/pom.xml @@ -30,6 +30,12 @@ org.glassfish.jersey.core jersey-server + + + jakarta.activation + jakarta.activation-api + + org.glassfish.jersey.containers diff --git a/examples/entity-filtering/pom.xml b/examples/entity-filtering/pom.xml index 6c15e19bb5..e7a44843c9 100644 --- a/examples/entity-filtering/pom.xml +++ b/examples/entity-filtering/pom.xml @@ -30,6 +30,12 @@ org.glassfish.jersey.core jersey-server + + + jakarta.activation + jakarta.activation-api + + org.glassfish.jersey.containers diff --git a/examples/open-tracing/pom.xml b/examples/open-tracing/pom.xml index 1bf2dc13af..7c404ba8b9 100644 --- a/examples/open-tracing/pom.xml +++ b/examples/open-tracing/pom.xml @@ -52,7 +52,17 @@ com.uber.jaeger jaeger-core - 0.20.0 + 0.27.0 + + + org.slf4j + slf4j-api + + + org.apache.httpcomponents + httpcore + + diff --git a/ext/microprofile/mp-rest-client/pom.xml b/ext/microprofile/mp-rest-client/pom.xml index a07cb3012e..730b9465c8 100644 --- a/ext/microprofile/mp-rest-client/pom.xml +++ b/ext/microprofile/mp-rest-client/pom.xml @@ -37,7 +37,7 @@ org.eclipse.microprofile.config microprofile-config-api - 1.3 + 1.4 org.glassfish.jersey.core diff --git a/ext/spring4/pom.xml b/ext/spring4/pom.xml index 4ac0dc6513..70ff79839d 100644 --- a/ext/spring4/pom.xml +++ b/ext/spring4/pom.xml @@ -88,6 +88,18 @@ org.glassfish.hk2 hk2-api + + org.springframework + spring-aop + + + org.springframework + spring-context + + + org.springframework + spring-beans + diff --git a/incubator/html-json/pom.xml b/incubator/html-json/pom.xml index 16026364da..1714b3401f 100644 --- a/incubator/html-json/pom.xml +++ b/incubator/html-json/pom.xml @@ -40,6 +40,7 @@ 1.5.1 + true diff --git a/media/json-jackson/pom.xml b/media/json-jackson/pom.xml index ccfb15ac64..d99b90067e 100644 --- a/media/json-jackson/pom.xml +++ b/media/json-jackson/pom.xml @@ -95,6 +95,12 @@ org.glassfish.jersey.core jersey-common ${project.version} + + + jakarta.activation + jakarta.activation-api + + org.glassfish.jersey.ext @@ -121,6 +127,12 @@ com.fasterxml.jackson.module jackson-module-jaxb-annotations + + + jakarta.activation + jakarta.activation-api + + junit diff --git a/pom.xml b/pom.xml index 5d47d1b85e..2ed2d538e5 100644 --- a/pom.xml +++ b/pom.xml @@ -236,7 +236,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.0.0-M2 + 3.1.0 enforce-versions @@ -248,6 +248,7 @@ ${java.version} + @@ -2192,7 +2193,7 @@ 2.0.4 6.0.1 false - 1.7.21 + 2.0.3 4.3.20.RELEASE 5.3.18 3.0.0-M5 @@ -2216,7 +2217,7 @@ org.glassfish.hk2.*;version="[2.5,4)" org.jvnet.hk2.*;version="[2.5,4)" 5.1.0 - 3.0.8 + 3.0.12 1.2.2 3.0.3 3.0.4 @@ -2231,7 +2232,7 @@ 2.1.6 6.1.26 org.eclipse.jetty.*;version="[9.4,11)" - 9.4.46.v20220331 + 9.4.49.v20220914 6.1.14 1.0.2 1.1.6 diff --git a/security/oauth2-client/pom.xml b/security/oauth2-client/pom.xml index e9f8c7fe0c..84afcd6354 100644 --- a/security/oauth2-client/pom.xml +++ b/security/oauth2-client/pom.xml @@ -57,6 +57,12 @@ org.glassfish.jersey.core jersey-client ${project.version} + + + jakarta.activation + jakarta.activation-api + + diff --git a/test-framework/maven/container-runner-maven-plugin/pom.xml b/test-framework/maven/container-runner-maven-plugin/pom.xml index 4b98928027..c7571c35b7 100644 --- a/test-framework/maven/container-runner-maven-plugin/pom.xml +++ b/test-framework/maven/container-runner-maven-plugin/pom.xml @@ -39,8 +39,8 @@ 3.0.2 3.6.0-03 3.0.2-02 - 3.6.0 - 3.6.0 + 3.8.6 + 3.6.4 @@ -49,16 +49,37 @@ org.apache.maven maven-core ${maven.version} + provided + + + org.codehaus.plexus + plexus-component-annotations + + + org.codehaus.plexus + plexus-utils + + + org.codehaus.plexus + plexus-classworlds + + + org.slf4j + slf4j-api + + org.apache.maven maven-model ${maven.version} + provided org.apache.maven maven-plugin-api ${maven.version} + provided org.apache.maven @@ -71,6 +92,7 @@ org.apache.maven maven-artifact ${maven.version} + provided @@ -98,7 +120,41 @@ org.codehaus.gmavenplus gmavenplus-plugin - 1.7.0 + 1.13.1 + + + org.apache.maven.shared + maven-shared-utils + + + org.codehaus.plexus + plexus-utils + + + org.codehaus.plexus + plexus-interpolation + + + commons-io + commons-io + + + org.apache.maven + maven-model + + + org.apache.maven + maven-artifact + + + org.apache.maven + maven-core + + + org.apache.maven + maven-plugin-api + + @@ -106,11 +162,27 @@ junit + + org.slf4j + slf4j-api + ${slf4j.version} + + org.codehaus.groovy groovy-all pom ${groovy.version} + + + org.apache.ant + ant-launcher + + + org.apache.ant + ant + + diff --git a/test-framework/maven/custom-enforcer-rules/pom.xml b/test-framework/maven/custom-enforcer-rules/pom.xml index ad2c6fe192..46b9a43524 100644 --- a/test-framework/maven/custom-enforcer-rules/pom.xml +++ b/test-framework/maven/custom-enforcer-rules/pom.xml @@ -34,12 +34,32 @@ org.apache.maven.plugins maven-enforcer-plugin - 1.4.1 + 3.1.0 junit junit + + org.codehaus.plexus + plexus-classworlds + + + org.codehaus.plexus + plexus-utils + + + commons-io + commons-io + + + org.apache.maven + maven-core + + + org.eclipse.aether + aether-util + diff --git a/test-framework/providers/bundle/pom.xml b/test-framework/providers/bundle/pom.xml index 057f0b6470..467b4dbcc0 100644 --- a/test-framework/providers/bundle/pom.xml +++ b/test-framework/providers/bundle/pom.xml @@ -62,6 +62,12 @@ org.glassfish.jersey.test-framework.providers jersey-test-framework-provider-jetty ${project.version} + + + javax.servlet + javax.servlet-api + + org.glassfish.jersey.test-framework.providers diff --git a/tests/integration/j-376/pom.xml b/tests/integration/j-376/pom.xml index 0e49f70cc1..d6453e74bc 100644 --- a/tests/integration/j-376/pom.xml +++ b/tests/integration/j-376/pom.xml @@ -86,7 +86,6 @@ org.glassfish.grizzly grizzly-http-server - 2.3.16 compile diff --git a/tests/integration/jersey-2689/pom.xml b/tests/integration/jersey-2689/pom.xml index b6409a5f6e..07de126e74 100644 --- a/tests/integration/jersey-2689/pom.xml +++ b/tests/integration/jersey-2689/pom.xml @@ -61,6 +61,12 @@ com.fasterxml.jackson.jaxrs jackson-jaxrs-json-provider ${jackson.version} + + + jakarta.activation + jakarta.activation-api + + diff --git a/tests/integration/microprofile/config/webapp/pom.xml b/tests/integration/microprofile/config/webapp/pom.xml index b58f943575..3e21f2edd3 100644 --- a/tests/integration/microprofile/config/webapp/pom.xml +++ b/tests/integration/microprofile/config/webapp/pom.xml @@ -33,6 +33,12 @@ org.glassfish.jersey.core jersey-server + + + jakarta.activation + jakarta.activation-api + + org.glassfish.jersey.bundles diff --git a/tests/osgi/functional/pom.xml b/tests/osgi/functional/pom.xml index 681e8fdd89..5b0a8893d6 100644 --- a/tests/osgi/functional/pom.xml +++ b/tests/osgi/functional/pom.xml @@ -426,4 +426,8 @@ + + true + + diff --git a/tests/performance/benchmarks/pom.xml b/tests/performance/benchmarks/pom.xml index b8b6a67744..b977edc447 100644 --- a/tests/performance/benchmarks/pom.xml +++ b/tests/performance/benchmarks/pom.xml @@ -37,6 +37,12 @@ org.glassfish.jersey.core jersey-server ${project.version} + + + jakarta.activation + jakarta.activation-api + + org.glassfish.jersey.media