From 996530360f7a6ef3d3fb98cf7b92cb119470af9f Mon Sep 17 00:00:00 2001 From: Damian Szczepanik Date: Wed, 4 Oct 2023 23:28:34 +0200 Subject: [PATCH] Upgrade parent dependency (#91) --- pom.xml | 69 +++++-------------- .../model/ConditionBuilder.java | 2 - .../model/RuleBuilder.java | 2 - .../model/actions/ActionBuilder.java | 2 - 4 files changed, 16 insertions(+), 59 deletions(-) diff --git a/pom.xml b/pom.xml index 362786f8..eb13deed 100644 --- a/pom.xml +++ b/pom.xml @@ -4,13 +4,25 @@ org.jenkins-ci.plugins plugin - 4.15 + 4.73 pl.damianszczepanik build-history-manager 1.7.1-SNAPSHOT hpi + + + + io.jenkins.tools.bom + bom-2.387.x + 2483.v3b_22f030990a_ + pom + import + + + + Build History Manager Jenkins plugin that allows to build complex rules to decide when and which builds should be removed from the @@ -19,8 +31,7 @@ https://github.com/jenkinsci/build-history-manager-plugin - 8 - 2.289.3 + 2.387.3 1.7.30 9.4 @@ -143,9 +154,9 @@ org.jenkins-ci.tools maven-hpi-plugin - 3.5 - + InjectionIT @@ -162,62 +173,14 @@ - - - - org.ow2.asm - asm - ${asm.version} - - - org.ow2.asm - asm-tree - ${asm.version} - - org.ow2.asm - asm-analysis - ${asm.version} - - - org.ow2.asm - asm-util - ${asm.version} - - - - org.objenesis - objenesis - 3.3 - - - - net.minidev - json-smart - 2.4.9 - - - io.jenkins.tools.bom - bom-2.289.x - 1500.ve4d05cd32975 - import - pom - - - - - - org.jenkins-ci.plugins token-macro - 321.vd7cc1f2a_52c8 org.jenkins-ci.plugins structs - 324.va_f5d6774f3a_d test diff --git a/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/ConditionBuilder.java b/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/ConditionBuilder.java index 04196ece..3d67837a 100644 --- a/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/ConditionBuilder.java +++ b/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/ConditionBuilder.java @@ -5,7 +5,6 @@ import hudson.model.Descriptor; import hudson.model.Run; -import javax.annotation.Nonnull; import pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.Condition; /** @@ -25,7 +24,6 @@ public static abstract class AbstractSampleCondition extends Condition { public Descriptor getDescriptor() { return new Descriptor() { - @Nonnull @Override public String getDisplayName() { return this.getClass().getName(); diff --git a/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/RuleBuilder.java b/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/RuleBuilder.java index c6590686..db00d7ff 100644 --- a/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/RuleBuilder.java +++ b/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/RuleBuilder.java @@ -2,7 +2,6 @@ import hudson.model.Descriptor; import hudson.model.Run; -import javax.annotation.Nonnull; /** * @author Damian Szczepanik (damianszczepanik@github) @@ -36,7 +35,6 @@ public void performActions(Run run) { public Descriptor getDescriptor() { return new Descriptor() { - @Nonnull @Override public String getDisplayName() { return "TestRule"; diff --git a/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/actions/ActionBuilder.java b/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/actions/ActionBuilder.java index 99fb22ff..e4e80cd6 100644 --- a/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/actions/ActionBuilder.java +++ b/src/test/java/pl/damianszczepanik/jenkins/buildhistorymanager/model/actions/ActionBuilder.java @@ -5,7 +5,6 @@ import hudson.model.Descriptor; import hudson.model.Run; -import javax.annotation.Nonnull; /** * @author Damian Szczepanik (damianszczepanik@github) @@ -31,7 +30,6 @@ public void perform(Run run) { public Descriptor getDescriptor() { return new Descriptor() { - @Nonnull @Override public String getDisplayName() { return "TestAction";