Skip to content

Commit 7d23667

Browse files
Ankit098francisf
authored andcommitted
chore: update dependencies with vulnerabilities
1 parent bf3ea99 commit 7d23667

File tree

1 file changed

+76
-10
lines changed

1 file changed

+76
-10
lines changed

pom.xml

Lines changed: 76 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<properties>
5656
<!-- Baseline Jenkins version you use to build the plugin. Users must
5757
have this version or newer to run. -->
58-
<jenkins.version>1.653</jenkins.version>
58+
<jenkins.version>2.334</jenkins.version>
5959
<java.level>8</java.level>
6060
<java.level.test>8</java.level.test>
6161
<maven-surefire-plugin.version>2.9</maven-surefire-plugin.version>
@@ -124,7 +124,7 @@
124124
<dependency>
125125
<groupId>junit</groupId>
126126
<artifactId>junit</artifactId>
127-
<version>4.12</version>
127+
<version>4.13.1</version>
128128
<scope>test</scope>
129129
</dependency>
130130

@@ -168,20 +168,20 @@
168168
<dependency>
169169
<groupId>org.jenkins-ci.plugins</groupId>
170170
<artifactId>credentials</artifactId>
171-
<version>2.1.17</version>
171+
<version>2.6.1.1</version>
172172
</dependency>
173173

174174
<dependency>
175175
<groupId>org.jenkins-ci.plugins</groupId>
176176
<artifactId>junit</artifactId>
177-
<version>1.10</version>
177+
<version>1.24</version>
178178
</dependency>
179179

180180
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
181181
<dependency>
182182
<groupId>com.google.code.gson</groupId>
183183
<artifactId>gson</artifactId>
184-
<version>2.8.2</version>
184+
<version>2.8.9</version>
185185
</dependency>
186186

187187
<dependency>
@@ -222,7 +222,7 @@
222222
<dependency>
223223
<groupId>org.jenkins-ci.plugins.workflow</groupId>
224224
<artifactId>workflow-api</artifactId>
225-
<version>2.20</version>
225+
<version>2.22</version>
226226
<scope>compile</scope>
227227
</dependency>
228228

@@ -236,18 +236,19 @@
236236
<dependency>
237237
<groupId>org.jenkins-ci.plugins</groupId>
238238
<artifactId>structs</artifactId>
239-
<version>1.7</version>
239+
<version>1.23</version>
240240
</dependency>
241241

242242
<dependency>
243243
<groupId>com.fasterxml.jackson.core</groupId>
244244
<artifactId>jackson-core</artifactId>
245-
<version>2.1.0</version>
245+
<version>2.12.6</version>
246246
</dependency>
247+
247248
<dependency>
248249
<groupId>com.fasterxml.jackson.core</groupId>
249250
<artifactId>jackson-databind</artifactId>
250-
<version>2.1.0</version>
251+
<version>2.12.6.1</version>
251252
</dependency>
252253

253254
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
@@ -262,7 +263,28 @@
262263
<dependency>
263264
<groupId>commons-io</groupId>
264265
<artifactId>commons-io</artifactId>
265-
<version>2.4</version>
266+
<version>2.7</version>
267+
</dependency>
268+
269+
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
270+
<dependency>
271+
<groupId>org.slf4j</groupId>
272+
<artifactId>slf4j-api</artifactId>
273+
<version>1.7.25</version>
274+
</dependency>
275+
276+
<!-- https://mvnrepository.com/artifact/org.jenkins-ci.plugins/script-security -->
277+
<dependency>
278+
<groupId>org.jenkins-ci.plugins</groupId>
279+
<artifactId>script-security</artifactId>
280+
<version>1.31</version>
281+
</dependency>
282+
283+
<!-- https://mvnrepository.com/artifact/org.springframework/spring-beans -->
284+
<dependency>
285+
<groupId>org.springframework</groupId>
286+
<artifactId>spring-beans</artifactId>
287+
<version>5.3.18</version>
266288
</dependency>
267289
</dependencies>
268290

@@ -332,6 +354,50 @@
332354
<argLine>${argLine} -Xmx512m -XX:MaxPermSize=256m</argLine>
333355
</configuration>
334356
</plugin>
357+
358+
<plugin>
359+
<groupId>org.apache.maven.plugins</groupId>
360+
<artifactId>maven-enforcer-plugin</artifactId>
361+
<version>3.1.0</version>
362+
<executions>
363+
<execution>
364+
<id>enforce-bytecode-version</id>
365+
<goals>
366+
<goal>enforce</goal>
367+
</goals>
368+
<configuration>
369+
<rules>
370+
<enforceBytecodeVersion>
371+
<maxJdkVersion>1.8</maxJdkVersion>
372+
<ignoreClasses>
373+
<ignoreClass>module-info</ignoreClass>
374+
</ignoreClasses>
375+
</enforceBytecodeVersion>
376+
</rules>
377+
</configuration>
378+
</execution>
379+
</executions>
380+
<dependencies>
381+
<dependency>
382+
<groupId>org.codehaus.mojo</groupId>
383+
<artifactId>extra-enforcer-rules</artifactId>
384+
<version>1.4</version>
385+
</dependency>
386+
</dependencies>
387+
</plugin>
388+
389+
<plugin>
390+
<groupId>org.codehaus.mojo</groupId>
391+
<artifactId>animal-sniffer-maven-plugin</artifactId>
392+
<version>1.16</version>
393+
<executions>
394+
<execution>
395+
<goals>
396+
<goal>check</goal>
397+
</goals>
398+
</execution>
399+
</executions>
400+
</plugin>
335401
</plugins>
336402
</build>
337403

0 commit comments

Comments
 (0)