Skip to content

Commit a4bd9e9

Browse files
committed
feat(pom.xml): Update dependencies versions & maven plugins
- Replace com.cronutils.Function by java.util.function.Function
1 parent cb599f4 commit a4bd9e9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+134
-541
lines changed

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525
- name: Set up JDK 1.8
26-
uses: actions/setup-java@v1
26+
uses: actions/setup-java@v4
2727
with:
2828
java-version: 1.8
2929
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
3030
settings-path: ${{ github.workspace }} # location for the settings.xml file
3131

3232
- name: compile and test
33-
run: mvn compile test --file pom.xml
33+
run: mvn -B compile test --file pom.xml
3434

3535
- name: build source code
36-
run: mvn -B package --file pom.xml
36+
run: mvn -B -DskipTests=true package --file pom.xml
3737

3838
- name: Publish to GitHub Packages Apache Maven
3939
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml

.github/workflows/maven-test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,19 @@ on:
1515

1616
jobs:
1717
build:
18-
1918
strategy:
2019
matrix:
21-
java: [ '16' ]
20+
java: [ '8', '16' ]
2221

2322
runs-on: ubuntu-latest
2423

2524
steps:
26-
- uses: actions/checkout@v2
27-
- name: Set up JDK
28-
uses: actions/setup-java@v2
25+
- uses: actions/checkout@v4
26+
- name: Set up JDK ${{ matrix.java }}
27+
uses: actions/setup-java@v4
2928
with:
3029
distribution: 'zulu'
3130
java-version: ${{ matrix.java }}
3231

3332
- name: compile and test
34-
run: mvn compile test --file pom.xml
33+
run: mvn -B compile test --file pom.xml

pom.xml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</distributionManagement>
6060

6161
<properties>
62-
<slf4j.version>2.0.7</slf4j.version>
63-
<junit.version>5.8.1</junit.version>
62+
<slf4j.version>2.0.12</slf4j.version>
63+
<junit.version>5.10.2</junit.version>
6464
<mockito.version>4.11.0</mockito.version>
6565

6666
<github.global.server>github</github.global.server>
@@ -103,7 +103,7 @@
103103
</dependency>
104104
<dependency>
105105
<groupId>org.mockito</groupId>
106-
<artifactId>mockito-inline</artifactId>
106+
<artifactId>mockito-junit-jupiter</artifactId>
107107
<version>${mockito.version}</version>
108108
<scope>test</scope>
109109
</dependency>
@@ -125,7 +125,7 @@
125125
<dependency>
126126
<groupId>org.springframework</groupId>
127127
<artifactId>spring-context</artifactId>
128-
<version>5.3.26</version>
128+
<version>5.3.31</version>
129129
<scope>test</scope>
130130
</dependency>
131131

@@ -136,7 +136,6 @@
136136
<scope>test</scope>
137137
</dependency>
138138

139-
140139
<dependency>
141140
<groupId>javax.el</groupId>
142141
<artifactId>javax.el-api</artifactId>
@@ -162,15 +161,15 @@
162161
<plugin>
163162
<groupId>org.apache.maven.plugins</groupId>
164163
<artifactId>maven-checkstyle-plugin</artifactId>
165-
<version>3.2.1</version>
164+
<version>3.3.1</version>
166165
<configuration>
167166
<configLocation>config/checkstyle.xml</configLocation>
168167
</configuration>
169168
</plugin>
170169
<plugin>
171170
<groupId>org.apache.maven.plugins</groupId>
172171
<artifactId>maven-compiler-plugin</artifactId>
173-
<version>3.11.0</version>
172+
<version>3.12.1</version>
174173
<configuration>
175174
<source>1.8</source>
176175
<target>1.8</target>
@@ -179,7 +178,7 @@
179178
<plugin>
180179
<groupId>org.apache.maven.plugins</groupId>
181180
<artifactId>maven-assembly-plugin</artifactId>
182-
<version>3.5.0</version>
181+
<version>3.6.0</version>
183182
<configuration>
184183
<archive>
185184
<manifest>
@@ -194,7 +193,7 @@
194193
<plugin>
195194
<groupId>org.apache.maven.plugins</groupId>
196195
<artifactId>maven-source-plugin</artifactId>
197-
<version>3.2.1</version>
196+
<version>3.3.0</version>
198197
<executions>
199198
<execution>
200199
<id>attach-sources</id>
@@ -204,15 +203,16 @@
204203
</execution>
205204
</executions>
206205
</plugin>
206+
207207
<plugin>
208208
<groupId>org.apache.maven.plugins</groupId>
209209
<artifactId>maven-clean-plugin</artifactId>
210-
<version>3.2.0</version>
210+
<version>3.3.2</version>
211211
</plugin>
212212
<plugin>
213213
<groupId>org.apache.maven.plugins</groupId>
214214
<artifactId>maven-install-plugin</artifactId>
215-
<version>3.1.0</version>
215+
<version>3.1.1</version>
216216
</plugin>
217217
<plugin>
218218
<groupId>org.apache.maven.plugins</groupId>
@@ -234,12 +234,12 @@
234234
<plugin>
235235
<groupId>org.apache.maven.plugins</groupId>
236236
<artifactId>maven-resources-plugin</artifactId>
237-
<version>3.3.0</version>
237+
<version>3.3.1</version>
238238
</plugin>
239239
<plugin>
240240
<groupId>org.apache.maven.plugins</groupId>
241241
<artifactId>maven-javadoc-plugin</artifactId>
242-
<version>3.5.0</version>
242+
<version>3.6.3</version>
243243
<executions>
244244
<execution>
245245
<id>attach-javadocs</id>
@@ -257,12 +257,12 @@
257257
<plugin>
258258
<groupId>org.apache.maven.plugins</groupId>
259259
<artifactId>maven-surefire-plugin</artifactId>
260-
<version>3.0.0</version>
260+
<version>3.2.5</version>
261261
</plugin>
262262
<plugin>
263263
<groupId>org.apache.maven.plugins</groupId>
264264
<artifactId>maven-deploy-plugin</artifactId>
265-
<version>3.1.0</version>
265+
<version>3.1.1</version>
266266
</plugin>
267267
<plugin>
268268
<groupId>org.sonatype.plugins</groupId>
@@ -278,24 +278,24 @@
278278
<plugin>
279279
<groupId>org.codehaus.mojo</groupId>
280280
<artifactId>findbugs-maven-plugin</artifactId>
281-
<version>2.5.3</version>
281+
<version>3.0.5</version>
282282
</plugin>
283283
<plugin>
284-
<groupId>org.codehaus.mojo</groupId>
285-
<artifactId>clirr-maven-plugin</artifactId>
286-
<version>2.8</version>
284+
<groupId>org.apache.maven</groupId>
285+
<artifactId>maven-plugin-api</artifactId>
286+
<version>3.9.6</version>
287287
</plugin>
288288
<plugin>
289289
<groupId>org.codehaus.mojo</groupId>
290290
<artifactId>versions-maven-plugin</artifactId>
291-
<version>2.1</version>
291+
<version>2.16.2</version>
292292
</plugin>
293293

294294
<!-- Get code coverage reports! -->
295295
<plugin>
296296
<groupId>org.jacoco</groupId>
297297
<artifactId>jacoco-maven-plugin</artifactId>
298-
<version>0.8.6</version>
298+
<version>0.8.11</version>
299299

300300
<executions>
301301
<execution>
@@ -314,11 +314,10 @@
314314
</executions>
315315
</plugin>
316316

317-
318317
<plugin>
319318
<groupId>org.apache.felix</groupId>
320319
<artifactId>maven-bundle-plugin</artifactId>
321-
<version>5.1.8</version>
320+
<version>5.1.9</version>
322321
<executions>
323322
<execution>
324323
<id>bundle-manifest</id>
@@ -355,7 +354,7 @@
355354
<plugin>
356355
<groupId>org.apache.maven.plugins</groupId>
357356
<artifactId>maven-gpg-plugin</artifactId>
358-
<version>3.0.1</version>
357+
<version>3.1.0</version>
359358
<executions>
360359
<execution>
361360
<id>sign-artifacts</id>
@@ -384,7 +383,7 @@
384383
<plugin>
385384
<groupId>org.eluder.coveralls</groupId>
386385
<artifactId>coveralls-maven-plugin</artifactId>
387-
<version>2.2.0</version>
386+
<version>4.3.0</version>
388387
</plugin>
389388
</plugins>
390389
</build>

0 commit comments

Comments
 (0)