Skip to content

Commit 1166421

Browse files
authored
Merge pull request #132 from jglick/pom
Update POM, use BOM
2 parents 36fa342 + dcbd21a commit 1166421

File tree

2 files changed

+15
-29
lines changed

2 files changed

+15
-29
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
buildPlugin(configurations: buildPlugin.recommendedConfigurations())
1+
buildPlugin(useAci: true)

pom.xml

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.jenkins-ci.plugins</groupId>
55
<artifactId>plugin</artifactId>
6-
<version>3.43</version>
6+
<version>4.1</version>
77
<relativePath />
88
</parent>
99
<artifactId>junit</artifactId>
@@ -15,11 +15,9 @@
1515
<properties>
1616
<revision>1.29</revision>
1717
<changelist>-SNAPSHOT</changelist>
18-
<jenkins.version>2.138.4</jenkins.version>
18+
<jenkins.version>2.164.3</jenkins.version>
1919
<java.level>8</java.level>
2020
<no-test-jar>false</no-test-jar>
21-
<workflow-cps.version>2.66</workflow-cps.version>
22-
<workflow-support.version>3.2</workflow-support.version>
2321
</properties>
2422
<licenses>
2523
<license>
@@ -49,89 +47,77 @@
4947
<dependency>
5048
<groupId>org.jenkins-ci.plugins</groupId>
5149
<artifactId>structs</artifactId>
52-
<version>1.17</version>
5350
</dependency>
5451
<dependency>
5552
<groupId>org.jenkins-ci.plugins.workflow</groupId>
5653
<artifactId>workflow-step-api</artifactId>
57-
<version>2.19</version>
5854
</dependency>
5955
<dependency>
6056
<groupId>org.jenkins-ci.plugins.workflow</groupId>
6157
<artifactId>workflow-api</artifactId>
62-
<version>2.34</version>
6358
</dependency>
6459
<dependency>
6560
<groupId>org.jenkins-ci.plugins</groupId>
6661
<artifactId>script-security</artifactId>
67-
<version>1.56</version>
6862
</dependency>
6963
<dependency>
7064
<groupId>org.mockito</groupId>
7165
<artifactId>mockito-core</artifactId>
7266
<scope>test</scope>
73-
<exclusions>
74-
<exclusion>
75-
<groupId>org.hamcrest</groupId>
76-
<artifactId>hamcrest-core</artifactId>
77-
</exclusion>
78-
</exclusions>
7967
</dependency>
8068
<dependency>
8169
<groupId>org.jenkins-ci.plugins</groupId>
8270
<artifactId>matrix-project</artifactId>
83-
<version>1.3</version>
8471
<scope>test</scope>
8572
</dependency>
8673
<dependency>
8774
<groupId>org.jenkins-ci.plugins.workflow</groupId>
8875
<artifactId>workflow-cps</artifactId>
89-
<version>${workflow-cps.version}</version>
9076
<scope>test</scope>
9177
</dependency>
9278
<dependency>
9379
<groupId>org.jenkins-ci.plugins.workflow</groupId>
9480
<artifactId>workflow-job</artifactId>
95-
<version>2.32</version>
9681
<scope>test</scope>
9782
</dependency>
9883
<dependency>
9984
<groupId>org.jenkins-ci.plugins.workflow</groupId>
10085
<artifactId>workflow-cps</artifactId>
101-
<version>${workflow-cps.version}</version>
10286
<classifier>tests</classifier>
10387
<scope>test</scope>
10488
</dependency>
10589
<dependency>
10690
<groupId>org.jenkins-ci.plugins.workflow</groupId>
10791
<artifactId>workflow-basic-steps</artifactId>
108-
<version>2.15</version>
10992
<scope>test</scope>
11093
</dependency>
11194
<dependency>
11295
<groupId>org.jenkins-ci.plugins.workflow</groupId>
11396
<artifactId>workflow-support</artifactId>
114-
<version>${workflow-support.version}</version>
115-
<scope>test</scope>
116-
</dependency>
117-
<dependency>
118-
<groupId>org.jenkins-ci.plugins.workflow</groupId>
119-
<artifactId>workflow-support</artifactId>
120-
<version>${workflow-support.version}</version>
12197
<classifier>tests</classifier>
12298
<scope>test</scope>
12399
</dependency>
124100
<dependency>
125101
<groupId>org.jenkins-ci.plugins</groupId>
126102
<artifactId>pipeline-stage-step</artifactId>
127-
<version>2.2</version>
103+
<version>2.3</version>
128104
<scope>test</scope>
129105
</dependency>
130106
<dependency>
131107
<groupId>org.jenkins-ci.plugins.workflow</groupId>
132108
<artifactId>workflow-durable-task-step</artifactId>
133-
<version>2.28</version>
134109
<scope>test</scope>
135110
</dependency>
136111
</dependencies>
112+
<dependencyManagement>
113+
<dependencies>
114+
<dependency>
115+
<groupId>io.jenkins.tools.bom</groupId>
116+
<artifactId>bom-2.164.x</artifactId>
117+
<version>9</version>
118+
<scope>import</scope>
119+
<type>pom</type>
120+
</dependency>
121+
</dependencies>
122+
</dependencyManagement>
137123
</project>

0 commit comments

Comments
 (0)