From bbadeaf5562e41b8c8d93d958a2c0f44938fd502 Mon Sep 17 00:00:00 2001 From: Markus Winter Date: Tue, 23 Jan 2024 08:03:49 +0100 Subject: [PATCH] dependency cleanup (#173) * dependency cleanup - remove all dependency declarations that are not needed anymore (basically those to make require upper bounds happy) - avoid inclusion of okhttp related jars by explicitly excluding them and instead add a dependency to okhttp-api jenkins plugin - remove version for used plugins that are provided though bom - update dependencies of plugins to latest version - move test dependencies to end * update parent pom version * stay on 2.387.3 --- pom.xml | 186 ++++++++++++++------------------------------------------ 1 file changed, 46 insertions(+), 140 deletions(-) diff --git a/pom.xml b/pom.xml index aa1468c8..032b3b49 100644 --- a/pom.xml +++ b/pom.xml @@ -28,7 +28,7 @@ THE SOFTWARE. org.jenkins-ci.plugins plugin - 4.66 + 4.75 influxdb @@ -47,29 +47,13 @@ THE SOFTWARE. - 1.16 - 1.8 - 3.12.0 - 1625.v27444588cc3d - 1189.vf61b_a_5e2f62e - 2.3.5 - 4.11.5 - 2.8.9 + 2.387.3 3.0 4.1.0 - 3.3.2.1 - 2.387.3 - 4.13.2 - 1166.va_436e268e972 - 1.6.0 - 1.20 - 4.0.2.8.1 - 3.3.3 - 3.0 - 8.05 - 143.v1b_df8b_d3b_e48 - 3.0.0 - 1244.ve463715a_f89c + 1.17 + 951.v5600a_c6422ed + 8.09 + 3.5.0 false @@ -103,7 +87,7 @@ THE SOFTWARE. io.jenkins.tools.bom bom-2.387.x - 2143.ve4c3c9ec790a + 2543.vfb_1a_5fb_9496d import pom @@ -111,68 +95,38 @@ THE SOFTWARE. - - org.ow2.asm - asm - - - org.ow2.asm - asm-commons - - - org.ow2.asm - asm-tree - - - org.jenkins-ci.plugins - structs - - - org.jenkins-ci - symbol-annotation - - - org.apache.commons - commons-lang3 - ${commons-lang3.version} - - - io.jenkins - configuration-as-code - ${configuration-as-code.version} - test - - - org.jenkins-ci.plugins - credentials - ${credentials.version} - com.influxdb influxdb-client-java ${influxdb-client-java.version} + + + com.squareup.okio + okio + + + com.squareup.okhttp3 + okhttp + + + com.squareup.okhttp3 + logging-interceptor + + + + - junit - junit - ${junit.version} - test - - - org.jenkins-ci.plugins - junit - ${junit_plugin.version} + io.jenkins.plugins + okhttp-api - org.mockito - mockito-core - ${mockito-core.version} - test + io.jenkins.plugins + commons-lang3-api org.jenkins-ci.plugins plain-credentials - ${plain-credentials.version} org.jenkins-ci.plugins.workflow @@ -182,6 +136,14 @@ THE SOFTWARE. org.jenkins-ci.plugins.workflow workflow-step-api + + org.jenkins-ci.plugins + credentials + + + org.jenkins-ci.plugins + junit + @@ -193,19 +155,16 @@ THE SOFTWARE. org.jenkins-ci.plugins git - ${git-plugin.version} true org.jenkins-ci.plugins jacoco - ${jacoco.version} true org.jenkins-ci.plugins metrics - ${metrics.version} true @@ -227,81 +186,28 @@ THE SOFTWARE. true - - - org.jenkins-ci.plugins - matrix-project - ${matrix-project.version} - + + org.jenkins-ci.plugins.workflow workflow-durable-task-step test - org.jenkins-ci.plugins - scm-api - - - - - org.apache.commons - commons-csv - ${commons-csv.version} - - - org.jenkins-ci.plugins - display-url-api - - - com.github.spotbugs - spotbugs-annotations - - - org.jetbrains.kotlin - kotlin-stdlib - ${kotlin-stdlib.version} - - - org.jenkins-ci - annotation-indexer - - - org.jenkins-ci.plugins - script-security - ${script-security.version} - - - org.kohsuke - access-modifier-annotation - provided - - - org.slf4j - jcl-over-slf4j - - - org.slf4j - log4j-over-slf4j - - - org.slf4j - slf4j-api - - - org.slf4j - slf4j-jdk14 + org.jenkins-ci.plugins.workflow + workflow-job + test - org.jenkins-ci.plugins - ssh-credentials + org.mockito + mockito-core + test - com.google.code.gson - gson - ${gson.version} + io.jenkins + configuration-as-code + test -