From ff5d9bc3d281dbb266dace5fed8d0ec2e14ff9f0 Mon Sep 17 00:00:00 2001 From: Maxim Nesen Date: Tue, 4 Jun 2024 13:58:56 +0200 Subject: [PATCH] mvn build improvements Signed-off-by: Maxim Nesen --- .../main/resources/archetype-resources/pom.xml | 4 ++-- bundles/apidocs/pom.xml | 2 +- bundles/jaxrs-ri/pom.xml | 2 +- connectors/helidon-connector/pom.xml | 2 +- core-common/pom.xml | 1 - core-server/pom.xml | 17 ++++++++++++++++- examples/extended-wadl-webapp/pom.xml | 2 +- examples/groovy/pom.xml | 6 +++--- examples/helloworld-spring-annotations/pom.xml | 4 ++-- examples/java8-webapp/pom.xml | 2 +- examples/jaxb/pom.xml | 2 +- .../osgi-http-service/functional-test/pom.xml | 2 +- examples/pom.xml | 2 +- ext/microprofile/mp-rest-client/pom.xml | 2 +- ext/spring4/pom.xml | 4 ++-- ext/spring5/pom.xml | 4 ++-- incubator/declarative-linking/pom.xml | 2 +- media/jaxb/pom.xml | 15 --------------- media/moxy/pom.xml | 15 --------------- pom.xml | 6 +++++- tests/e2e-tls/pom.xml | 2 +- tests/integration/JERSEY-2988/pom.xml | 2 +- .../cdi-resource-with-at-context/pom.xml | 2 +- tests/integration/jersey-2776/pom.xml | 2 +- .../runners/jersey-grizzly-runner/pom.xml | 2 +- tests/performance/test-cases/monitoring/pom.xml | 14 +++++++------- 26 files changed, 54 insertions(+), 66 deletions(-) diff --git a/archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml b/archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml index 779f0802aff..50b58a2f6a7 100644 --- a/archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml @@ -50,7 +50,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + ${compiler.mvn.plugin.version} true 1.8 @@ -60,7 +60,7 @@ org.codehaus.mojo exec-maven-plugin - 1.2.1 + ${exec.mvn.plugin.version} diff --git a/bundles/apidocs/pom.xml b/bundles/apidocs/pom.xml index 3f7f7c0f9a9..a0ea49a3155 100644 --- a/bundles/apidocs/pom.xml +++ b/bundles/apidocs/pom.xml @@ -127,7 +127,7 @@ org.glassfish javax.servlet - 3.1 + 3.1.1 org.glassfish.jersey.containers diff --git a/bundles/jaxrs-ri/pom.xml b/bundles/jaxrs-ri/pom.xml index aae987cf253..442cc53318b 100644 --- a/bundles/jaxrs-ri/pom.xml +++ b/bundles/jaxrs-ri/pom.xml @@ -424,7 +424,7 @@ org.codehaus.mojo wagon-maven-plugin - 1.0-beta-4 + 2.0.2 false diff --git a/connectors/helidon-connector/pom.xml b/connectors/helidon-connector/pom.xml index 63bd4bbadcb..a34b2583f49 100644 --- a/connectors/helidon-connector/pom.xml +++ b/connectors/helidon-connector/pom.xml @@ -34,7 +34,7 @@ io.helidon.jersey helidon-jersey-connector - 2.2.1 + ${helidon.connector.version} provided diff --git a/core-common/pom.xml b/core-common/pom.xml index 11d3977f5ae..e93ca182d9f 100644 --- a/core-common/pom.xml +++ b/core-common/pom.xml @@ -676,7 +676,6 @@ org.apache.maven.plugins maven-source-plugin - 3.0.1 attach-sources diff --git a/core-server/pom.xml b/core-server/pom.xml index 1fc66f1bdeb..5b32a1e99a6 100644 --- a/core-server/pom.xml +++ b/core-server/pom.xml @@ -227,7 +227,13 @@ org.jboss jboss-vfs - 3.2.6.Final + ${jboss.vfs.version} + test + + + org.jboss.logging + jboss-logging + ${jboss.logging.version} test @@ -240,6 +246,15 @@ + + jdk8 + + 1.8 + + + ${jboss.vfs.jdk8.version} + + jdk11+ diff --git a/examples/extended-wadl-webapp/pom.xml b/examples/extended-wadl-webapp/pom.xml index 051ade45460..0d1a933fd3d 100644 --- a/examples/extended-wadl-webapp/pom.xml +++ b/examples/extended-wadl-webapp/pom.xml @@ -109,7 +109,7 @@ org.slf4j slf4j-log4j12 - 1.6.4 + 2.0.13 test diff --git a/examples/groovy/pom.xml b/examples/groovy/pom.xml index 201f35ac27c..b527e8749cb 100644 --- a/examples/groovy/pom.xml +++ b/examples/groovy/pom.xml @@ -48,7 +48,7 @@ org.junit.jupiter junit-jupiter-engine - 5.8.2 + ${junit5.version} test @@ -83,7 +83,7 @@ org.codehaus.gmavenplus gmavenplus-plugin - 1.12.1 + 3.0.0 1 @@ -126,7 +126,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.0.0 + ${buildhelper.mvn.plugin.version} 3 diff --git a/examples/helloworld-spring-annotations/pom.xml b/examples/helloworld-spring-annotations/pom.xml index ea11e81741e..1723ca66654 100644 --- a/examples/helloworld-spring-annotations/pom.xml +++ b/examples/helloworld-spring-annotations/pom.xml @@ -44,7 +44,7 @@ commons-logging commons-logging - 1.2 + ${commons.logging.version} org.glassfish.jersey.test-framework.providers @@ -54,7 +54,7 @@ javax.servlet javax.servlet-api - 3.0.1 + ${servlet3.version} diff --git a/examples/java8-webapp/pom.xml b/examples/java8-webapp/pom.xml index da28b442842..87098e87556 100644 --- a/examples/java8-webapp/pom.xml +++ b/examples/java8-webapp/pom.xml @@ -56,7 +56,7 @@ org.eclipse.jetty jetty-maven-plugin - 9.2.6.v20141205 + ${jetty.version} 5 9999 diff --git a/examples/jaxb/pom.xml b/examples/jaxb/pom.xml index 275855d4bd9..5a2b873d4be 100644 --- a/examples/jaxb/pom.xml +++ b/examples/jaxb/pom.xml @@ -37,7 +37,7 @@ org.codehaus.woodstox woodstox-core-asl - 4.1.2 + 4.4.1 org.glassfish.jersey.media diff --git a/examples/osgi-http-service/functional-test/pom.xml b/examples/osgi-http-service/functional-test/pom.xml index a1425e5db6f..4bb826e3e28 100644 --- a/examples/osgi-http-service/functional-test/pom.xml +++ b/examples/osgi-http-service/functional-test/pom.xml @@ -145,7 +145,7 @@ org.slf4j slf4j-log4j12 - 1.6.4 + 2.0.13 test diff --git a/examples/pom.xml b/examples/pom.xml index b3d8cfcbd46..596fde53470 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -185,7 +185,7 @@ org.commonjava.maven.plugins directory-maven-plugin - 0.3.1 + 1.0 directories diff --git a/ext/microprofile/mp-rest-client/pom.xml b/ext/microprofile/mp-rest-client/pom.xml index 34a14052450..560e58f3b07 100644 --- a/ext/microprofile/mp-rest-client/pom.xml +++ b/ext/microprofile/mp-rest-client/pom.xml @@ -77,7 +77,7 @@ javax.enterprise cdi-api - 2.0 + ${cdi.api.version} provided diff --git a/ext/spring4/pom.xml b/ext/spring4/pom.xml index 611b90547dc..d003c719f20 100644 --- a/ext/spring4/pom.xml +++ b/ext/spring4/pom.xml @@ -65,7 +65,7 @@ commons-logging commons-logging - 1.2 + ${commons.logging.version} test @@ -150,7 +150,7 @@ org.aspectj aspectjrt - 1.6.11 + 1.9.22.1 test diff --git a/ext/spring5/pom.xml b/ext/spring5/pom.xml index 64946def347..709d11f4fba 100644 --- a/ext/spring5/pom.xml +++ b/ext/spring5/pom.xml @@ -65,7 +65,7 @@ commons-logging commons-logging - 1.2 + ${commons.logging.version} test @@ -154,7 +154,7 @@ org.aspectj aspectjrt - 1.6.11 + 1.9.22.1 test diff --git a/incubator/declarative-linking/pom.xml b/incubator/declarative-linking/pom.xml index 024e71d00f3..1b6d5b029f1 100644 --- a/incubator/declarative-linking/pom.xml +++ b/incubator/declarative-linking/pom.xml @@ -83,7 +83,7 @@ org.skyscreamer jsonassert - 1.4.0 + 1.5.1 test diff --git a/media/jaxb/pom.xml b/media/jaxb/pom.xml index cb41dbcf150..38d987301ac 100644 --- a/media/jaxb/pom.xml +++ b/media/jaxb/pom.xml @@ -82,21 +82,6 @@ build-helper-maven-plugin true - - de.jflex - maven-jflex-plugin - 1.4.3 - - - - generate - - - ${project.build.directory}/generated-sources/rsrc-gen - - - - org.apache.felix maven-bundle-plugin diff --git a/media/moxy/pom.xml b/media/moxy/pom.xml index 96042128d57..8744ebc0ebf 100644 --- a/media/moxy/pom.xml +++ b/media/moxy/pom.xml @@ -62,21 +62,6 @@ - - de.jflex - maven-jflex-plugin - 1.4.3 - - - - generate - - - ${project.build.directory}/generated-sources/rsrc-gen - - - - diff --git a/pom.xml b/pom.xml index c2a22c2a70d..0b83d1cf6d2 100644 --- a/pom.xml +++ b/pom.xml @@ -2214,6 +2214,7 @@ 33.1.0-jre 2.2 1.4.14 + 2.2.1 2.10.0 4.5.14 5.3.1 @@ -2223,6 +2224,9 @@ 1.19.3 ${jersey1.version} 1.3.7 + 3.3.2.Final + 3.2.17.Final + 3.6.0.Final 1.37 1.49 4.13.2 @@ -2258,7 +2262,7 @@ 20.3.14 - 1.2 + 2.0.SP1 2.0.2 javax.enterprise.*;version="[1,3)" 3.2.6 diff --git a/tests/e2e-tls/pom.xml b/tests/e2e-tls/pom.xml index dfecf09378a..b7657c5f59c 100644 --- a/tests/e2e-tls/pom.xml +++ b/tests/e2e-tls/pom.xml @@ -96,7 +96,7 @@ io.specto hoverfly-java-junit5 - 0.14.0 + 0.18.1 test diff --git a/tests/integration/JERSEY-2988/pom.xml b/tests/integration/JERSEY-2988/pom.xml index e47be8324ea..dc74f72b1d5 100644 --- a/tests/integration/JERSEY-2988/pom.xml +++ b/tests/integration/JERSEY-2988/pom.xml @@ -61,7 +61,7 @@ javax.enterprise cdi-api - 2.0 + ${cdi.api.version} org.jboss.weld.servlet diff --git a/tests/integration/cdi-integration/cdi-resource-with-at-context/pom.xml b/tests/integration/cdi-integration/cdi-resource-with-at-context/pom.xml index 6f0ef1bee09..21cce901ec1 100644 --- a/tests/integration/cdi-integration/cdi-resource-with-at-context/pom.xml +++ b/tests/integration/cdi-integration/cdi-resource-with-at-context/pom.xml @@ -46,7 +46,7 @@ javax.enterprise cdi-api - 2.0 + ${cdi.api.version} provided diff --git a/tests/integration/jersey-2776/pom.xml b/tests/integration/jersey-2776/pom.xml index 51234decb8c..be57cca8057 100644 --- a/tests/integration/jersey-2776/pom.xml +++ b/tests/integration/jersey-2776/pom.xml @@ -42,7 +42,7 @@ org.apache.cxf cxf-rt-rs-client - 3.0.3 + 3.5.8 test diff --git a/tests/performance/runners/jersey-grizzly-runner/pom.xml b/tests/performance/runners/jersey-grizzly-runner/pom.xml index 10ce4152263..c5c265a36a6 100644 --- a/tests/performance/runners/jersey-grizzly-runner/pom.xml +++ b/tests/performance/runners/jersey-grizzly-runner/pom.xml @@ -49,7 +49,7 @@ org.apache.maven.plugins maven-jar-plugin - 2.4 + ${jar.mvn.plugin.version} true diff --git a/tests/performance/test-cases/monitoring/pom.xml b/tests/performance/test-cases/monitoring/pom.xml index c4076c2a7d2..d5b84bd93ca 100644 --- a/tests/performance/test-cases/monitoring/pom.xml +++ b/tests/performance/test-cases/monitoring/pom.xml @@ -37,13 +37,13 @@ com.yammer.metrics metrics-core - 2.1.2 + 2.2.0 org.junit.jupiter junit-jupiter - 5.9.1 + 5.10.2 test @@ -56,13 +56,13 @@ commons-codec commons-codec - 1.5 + 1.17.0 org.slf4j slf4j-jdk14 - 1.6.1 + 2.0.13 @@ -97,11 +97,11 @@ org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.13.0 true - 1.7 - 1.7 + 1.8 + 1.8 false false