Skip to content

Commit 2808488

Browse files
authored
Require Jenkins 2.504.3 or newer (#1839)
* Require Jenkins 2.504.3 or newer https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/#currently-recommended-versions recommends either Jenkins 2.504.3 or Jenkins 2.516.3 as minimum Jenkins versions. We could also increase the minimum Jenkins version to 2.516.3 and have a longer time before the next increment of Jenkins version, if that is preferred. Using Jenkins 2.504.3 as minimum Jenkins version allows us to remove 3 version declarations from the pom file and supersedes pull request: * #1838 Testing done: * Confirmed that automated tests pass * Remove several exclusions that are not needed Previous updates to the libraries have made those exclusions unnecessary
1 parent 4d6b113 commit 2808488

File tree

1 file changed

+2
-35
lines changed

1 file changed

+2
-35
lines changed

pom.xml

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<revision>1.9.11</revision>
4646
<changelist>-SNAPSHOT</changelist>
4747
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
48-
<jenkins.baseline>2.492</jenkins.baseline>
48+
<jenkins.baseline>2.504</jenkins.baseline>
4949
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
5050
<spotbugs.effort>Max</spotbugs.effort>
5151
<spotbugs.threshold>Low</spotbugs.threshold>
@@ -64,7 +64,7 @@
6464
<!-- Pick up common dependencies for the selected LTS line: https://github.com/jenkinsci/bom#usage -->
6565
<groupId>io.jenkins.tools.bom</groupId>
6666
<artifactId>bom-${jenkins.baseline}.x</artifactId>
67-
<version>5473.vb_9533d9e5d88</version>
67+
<version>5701.va_b_018a_a_6b_0d3</version>
6868
<type>pom</type>
6969
<scope>import</scope>
7070
</dependency>
@@ -83,7 +83,6 @@
8383
<dependency>
8484
<groupId>io.jenkins.plugins</groupId>
8585
<artifactId>jakarta-xml-bind-api</artifactId>
86-
<version>4.0.5-3.v3d5b_a_73965b_9</version>
8786
</dependency>
8887
<dependency>
8988
<groupId>io.jenkins.plugins</groupId>
@@ -92,7 +91,6 @@
9291
<dependency>
9392
<groupId>io.jenkins.plugins</groupId>
9493
<artifactId>jersey3-api</artifactId>
95-
<version>3.1.11-2.v4a_b_db_cf4557b_</version>
9694
</dependency>
9795
<dependency>
9896
<groupId>io.jenkins.plugins</groupId>
@@ -108,16 +106,6 @@
108106
<artifactId>resteasy-client</artifactId>
109107
<version>6.0.3.Final</version>
110108
<exclusions>
111-
<!-- Provided by Jenkins core -->
112-
<exclusion>
113-
<groupId>com.github.stephenc.jcip</groupId>
114-
<artifactId>jcip-annotations</artifactId>
115-
</exclusion>
116-
<!-- Provided by javax-activation-api plugin -->
117-
<exclusion>
118-
<groupId>com.sun.activation</groupId>
119-
<artifactId>jakarta.activation</artifactId>
120-
</exclusion>
121109
<!-- Provided by Jenkins core -->
122110
<exclusion>
123111
<groupId>commons-codec</groupId>
@@ -127,16 +115,6 @@
127115
<groupId>commons-io</groupId>
128116
<artifactId>commons-io</artifactId>
129117
</exclusion>
130-
<!-- Provided by jakarta-activation-api plugin -->
131-
<exclusion>
132-
<groupId>jakarta.activation</groupId>
133-
<artifactId>jakarta.activation-api</artifactId>
134-
</exclusion>
135-
<!-- Provided by jaxb plugin -->
136-
<exclusion>
137-
<groupId>jakarta.xml.bind</groupId>
138-
<artifactId>jakarta.xml.bind-api</artifactId>
139-
</exclusion>
140118
<!-- Provided by apache-httpcomponents-client-4-api plugin -->
141119
<exclusion>
142120
<groupId>org.apache.httpcomponents</groupId>
@@ -167,7 +145,6 @@
167145
<dependency>
168146
<groupId>org.jenkins-ci.plugins</groupId>
169147
<artifactId>jackson2-api</artifactId>
170-
<version>2.20.1-423.v13951f6b_6532</version>
171148
</dependency>
172149
<dependency>
173150
<groupId>org.jenkins-ci.plugins</groupId>
@@ -270,16 +247,6 @@
270247
<version>${mockserver.version}</version>
271248
<scope>test</scope>
272249
<exclusions>
273-
<!-- Provided by jaxb plugin -->
274-
<exclusion>
275-
<groupId>com.sun.xml.bind</groupId>
276-
<artifactId>jaxb-impl</artifactId>
277-
</exclusion>
278-
<!-- Provided by Jenkins core -->
279-
<exclusion>
280-
<groupId>commons-codec</groupId>
281-
<artifactId>commons-codec</artifactId>
282-
</exclusion>
283250
<!-- Banned via the exclude/include list in parent pom 4.62 -->
284251
<exclusion>
285252
<groupId>javax.servlet</groupId>

0 commit comments

Comments
 (0)