Skip to content

Commit d2ef051

Browse files
committed
Require plugin versions from BOM
Switches from internally maintaining a compilable version number for each component to specifically use the version provided by Jenkins plugin BOM 2.138.2. As more and more plugins adopt the plugin BOM, users will naturally be running the same plugin versions that are used to test the git plugin interactively and with automation. Strategy change is inspired by a desire to move users onto the most heavily tested plugin versions. Users that don't want to update dependencies are welcome to choose to remain with older versions of this plugin.
1 parent 02046a2 commit d2ef051

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

pom.xml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
<no-test-jar>false</no-test-jar>
3232
<useBeta>true</useBeta>
3333
<concurrency>1C</concurrency>
34-
<scm-api-plugin.version>2.6.3</scm-api-plugin.version>
3534
<jcasc.version>1.30</jcasc.version>
3635
<linkXRef>false</linkXRef>
3736
</properties>
@@ -84,53 +83,38 @@
8483
<dependency>
8584
<groupId>org.jenkins-ci.plugins</groupId>
8685
<artifactId>structs</artifactId>
87-
<version>1.19</version>
8886
</dependency>
8987
<dependency>
9088
<groupId>org.jenkins-ci.plugins</groupId>
9189
<artifactId>git-client</artifactId>
92-
<version>2.7.7</version>
9390
</dependency>
9491
<dependency>
9592
<groupId>org.jenkins-ci.plugins</groupId>
9693
<artifactId>credentials</artifactId>
97-
<version>2.1.18</version>
9894
</dependency>
9995
<dependency>
10096
<groupId>org.jenkins-ci.plugins</groupId>
10197
<artifactId>ssh-credentials</artifactId>
102-
<version>1.13</version>
10398
</dependency>
10499
<dependency>
105100
<groupId>org.jenkins-ci.plugins</groupId>
106101
<artifactId>scm-api</artifactId>
107-
<version>${scm-api-plugin.version}</version>
108-
<exclusions>
109-
<exclusion>
110-
<groupId>org.jenkins-ci.plugins.workflow</groupId>
111-
<artifactId>workflow-step-api</artifactId>
112-
</exclusion>
113-
</exclusions>
114102
</dependency>
115103
<dependency>
116104
<groupId>org.jenkins-ci.plugins.workflow</groupId>
117105
<artifactId>workflow-step-api</artifactId>
118-
<version>2.20</version>
119106
</dependency>
120107
<dependency>
121108
<groupId>org.jenkins-ci.plugins.workflow</groupId>
122109
<artifactId>workflow-scm-step</artifactId>
123-
<version>2.7</version>
124110
</dependency>
125111
<dependency>
126112
<groupId>org.jenkins-ci.plugins</groupId>
127113
<artifactId>matrix-project</artifactId>
128-
<version>1.7.1</version>
129114
</dependency>
130115
<dependency>
131116
<groupId>org.jenkins-ci.plugins</groupId>
132117
<artifactId>mailer</artifactId>
133-
<version>1.18</version>
134118
</dependency>
135119

136120
<dependency>
@@ -170,7 +154,6 @@
170154
<dependency>
171155
<groupId>org.jenkins-ci.plugins</groupId>
172156
<artifactId>token-macro</artifactId>
173-
<version>1.12.1</version> <!-- Depends on Jenkins 1.609 -->
174157
<optional>true</optional>
175158
</dependency>
176159
<dependency>
@@ -194,7 +177,6 @@
194177
<dependency>
195178
<groupId>org.jenkins-ci.plugins</groupId>
196179
<artifactId>scm-api</artifactId>
197-
<version>${scm-api-plugin.version}</version>
198180
<classifier>tests</classifier>
199181
<scope>test</scope>
200182
</dependency>
@@ -227,14 +209,7 @@
227209
<dependency>
228210
<groupId>org.jenkins-ci.plugins.workflow</groupId>
229211
<artifactId>workflow-cps-global-lib</artifactId>
230-
<version>2.14</version>
231212
<scope>test</scope>
232-
<exclusions>
233-
<exclusion>
234-
<groupId>org.apache.commons</groupId>
235-
<artifactId>commons-lang3</artifactId>
236-
</exclusion>
237-
</exclusions>
238213
</dependency>
239214
<dependency>
240215
<groupId>org.xmlunit</groupId>
@@ -273,7 +248,7 @@
273248
<dependency>
274249
<groupId>io.jenkins.tools.bom</groupId>
275250
<artifactId>bom</artifactId>
276-
<version>2.138.1</version>
251+
<version>2.138.2</version>
277252
<scope>import</scope>
278253
<type>pom</type>
279254
</dependency>

0 commit comments

Comments
 (0)