From 1e84a3c9eb8adcd167e514691388bfca93b19fef Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Wed, 29 Jan 2020 15:42:00 -0800 Subject: [PATCH 1/5] Update to use BOM --- pom.xml | 36 +++++++----------------------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/pom.xml b/pom.xml index 75ee51b84..a6b5c3fbd 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,6 @@ 2.2.0 8 2.150.3 - 2.6.3 2.2 true 1.35 @@ -42,7 +41,6 @@ org.jenkins-ci.plugins structs - 1.19 org.jenkins-ci.plugins @@ -52,12 +50,10 @@ org.jenkins-ci.plugins scm-api - ${scm-api.version} org.jenkins-ci.plugins git - 3.9.3 org.jenkins-ci.plugins @@ -67,7 +63,6 @@ org.jenkins-ci.plugins credentials - 2.1.18 com.coravy.hudson.plugins.github @@ -77,80 +72,67 @@ org.jenkins-ci.plugins display-url-api - 2.0 org.jenkins-ci.plugins junit - 1.26.1 test org.jenkins-ci.plugins script-security - 1.51 test org.jenkins-ci.plugins scm-api - ${scm-api.version} tests test org.jenkins-ci.plugins branch-api - 2.1.2 test org.jenkins-ci.plugins pipeline-build-step - 2.4 test org.jenkins-ci.plugins.workflow workflow-api - 2.33 test org.jenkins-ci.plugins.workflow workflow-basic-steps - 2.4 test org.jenkins-ci.plugins.workflow workflow-cps - 2.61 test org.jenkins-ci.plugins.workflow workflow-job - 2.31 test org.jenkins-ci.plugins.workflow workflow-scm-step - 2.7 test org.jenkins-ci.plugins.workflow workflow-step-api - 2.19 true org.jenkins-ci.plugins.workflow workflow-support - 3.2 test @@ -206,7 +188,6 @@ org.jenkins-ci.plugins.workflow workflow-cps-global-lib - 2.12 test @@ -218,26 +199,23 @@ + + io.jenkins.tools.bom + bom-2.150.x + 5 + import + pom + org.jenkins-ci annotation-indexer 1.12 - - org.jenkins-ci.plugins - cloudbees-folder - 6.5.1 - org.apache.commons commons-lang3 3.9 - - org.jenkins-ci.plugins - token-macro - 2.6 - From 2432fbb683a8e60246238f503878a15f441c3948 Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Thu, 30 Jan 2020 14:25:43 -0800 Subject: [PATCH 2/5] Remove extraneous dependencies --- pom.xml | 82 --------------------------------------------------------- 1 file changed, 82 deletions(-) diff --git a/pom.xml b/pom.xml index a6b5c3fbd..8806f52f7 100644 --- a/pom.xml +++ b/pom.xml @@ -38,103 +38,27 @@ ${scmTag} - - org.jenkins-ci.plugins - structs - org.jenkins-ci.plugins jackson2-api 2.10.2 - - org.jenkins-ci.plugins - scm-api - - - org.jenkins-ci.plugins - git - org.jenkins-ci.plugins github-api 1.106 - - org.jenkins-ci.plugins - credentials - com.coravy.hudson.plugins.github github 1.29.3 - - org.jenkins-ci.plugins - display-url-api - - - - org.jenkins-ci.plugins - junit - test - - - org.jenkins-ci.plugins - script-security - test - org.jenkins-ci.plugins scm-api tests test - - org.jenkins-ci.plugins - branch-api - test - - - org.jenkins-ci.plugins - pipeline-build-step - test - - - org.jenkins-ci.plugins.workflow - workflow-api - test - - - org.jenkins-ci.plugins.workflow - workflow-basic-steps - test - - - org.jenkins-ci.plugins.workflow - workflow-cps - test - - - org.jenkins-ci.plugins.workflow - workflow-job - test - - - org.jenkins-ci.plugins.workflow - workflow-scm-step - test - - - org.jenkins-ci.plugins.workflow - workflow-step-api - true - - - org.jenkins-ci.plugins.workflow - workflow-support - test - org.jenkins-ci.plugins.workflow workflow-multibranch @@ -189,12 +113,6 @@ org.jenkins-ci.plugins.workflow workflow-cps-global-lib test - - - org.apache.commons - commons-lang3 - - From a534b4a4d3ad4610db4df4ce6240f96e59e2a4a0 Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Thu, 30 Jan 2020 23:13:58 -0800 Subject: [PATCH 3/5] Removing hamcrest dependency Leave it to the bom to decide. --- pom.xml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/pom.xml b/pom.xml index 8806f52f7..da9cc57c2 100644 --- a/pom.xml +++ b/pom.xml @@ -26,7 +26,6 @@ 2.2.0 8 2.150.3 - 2.2 true 1.35 @@ -71,25 +70,6 @@ 2.25.1 test - - org.hamcrest - hamcrest - ${hamcrest.version} - test - - - - org.hamcrest - hamcrest-core - ${hamcrest.version} - test - - - org.hamcrest - hamcrest-library - ${hamcrest.version} - test - org.mockito mockito-core From 7a706b90ef64293878487c2ec2a52499eb9f7ecb Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Tue, 17 Mar 2020 15:31:44 -0700 Subject: [PATCH 4/5] Remove unneeded annotation-indexer dependency --- pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pom.xml b/pom.xml index da9cc57c2..83026470f 100644 --- a/pom.xml +++ b/pom.xml @@ -104,11 +104,6 @@ import pom - - org.jenkins-ci - annotation-indexer - 1.12 - org.apache.commons commons-lang3 From f7e66733dccf04c413ffb976224861e3a4aec5bf Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Tue, 17 Mar 2020 16:39:47 -0700 Subject: [PATCH 5/5] Repair JWT dependency --- pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pom.xml b/pom.xml index 205b9f75c..75951959b 100644 --- a/pom.xml +++ b/pom.xml @@ -53,6 +53,23 @@ github 1.29.3 + + io.jsonwebtoken + jjwt-api + ${jjwt.version} + + + io.jsonwebtoken + jjwt-impl + ${jjwt.version} + runtime + + + io.jsonwebtoken + jjwt-jackson + ${jjwt.version} + runtime + org.jenkins-ci.plugins scm-api