Skip to content

Commit 4a5326f

Browse files
authored
Upgrade dependencies (#75)
* Upgrade dependencies * Add changelog entry * Upgrade GitHub actions * Add build with Java 24 * Fix link checker --------- Co-authored-by: kaklakariada <[email protected]>
1 parent 6ec0271 commit 4a5326f

File tree

6 files changed

+39
-32
lines changed

6 files changed

+39
-32
lines changed

.github/workflows/broken_links_checker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
run: |
1818
mkdir -p ./target
1919
echo '{ "aliveStatusCodes": [429, 200] }' > ./target/broken_links_checker.json
20-
- uses: gaurav-nelson/github-action-markdown-link-check@v1
20+
- uses: tcort/github-action-markdown-link-check@v1
2121
with:
2222
use-quiet-mode: 'yes'
2323
use-verbose-mode: 'yes'
24-
config-file: ./target/broken_links_checker.json
24+
config-file: ./target/broken_links_checker.json

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: true
2020
matrix:
21-
java: [17, 21]
21+
java: [17, 21, 24]
2222
name: "Build with Java ${{ matrix.java }}"
2323
env:
2424
DEFAULT_JAVA: 17
@@ -28,12 +28,13 @@ jobs:
2828
with:
2929
fetch-depth: 0
3030

31-
- uses: actions/setup-java@v4
31+
- uses: actions/setup-java@v5
3232
with:
3333
distribution: 'temurin'
3434
java-version: |
3535
17
3636
21
37+
24
3738
cache: 'maven'
3839

3940
- name: Cache SonarQube packages

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v6
2323

24-
- uses: actions/setup-java@v4
24+
- uses: actions/setup-java@v5
2525
with:
2626
distribution: 'temurin'
2727
java-version: 17

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
core.setFailed('Not running on main branch, github.ref is ${{ github.ref }}. Please start this workflow only on main')
3333
3434
- name: Set up Maven Central Repository
35-
uses: actions/setup-java@v4
35+
uses: actions/setup-java@v5
3636
with:
3737
distribution: "temurin"
3838
java-version: 17

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.3.1] - Unreleased
8+
9+
- [#75](https://github.com/itsallcode/openfasttrace-maven-plugin/pull/75) Upgrade dependencies
10+
711
## [2.3.0] - 2024-11-13
812

913
- [#70](https://github.com/itsallcode/openfasttrace-maven-plugin/issues/70) Add support for OFT's command line option `--wanted-tags`

pom.xml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
<properties>
1616
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1717
<java.version>17</java.version>
18-
<oft.version>4.1.0</oft.version>
18+
<oft.version>4.2.0</oft.version>
19+
<!-- Maven version available in Ubuntu -->
1920
<maven.core.version>3.8.7</maven.core.version>
2021
<skipSigningArtifacts>true</skipSigningArtifacts>
21-
<junit.version>5.11.3</junit.version>
22-
<jacoco.version>0.8.12</jacoco.version>
22+
<jacoco.version>0.8.13</jacoco.version>
2323
<sonar.organization>itsallcode</sonar.organization>
2424
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
2525
<project.build.outputTimestamp>${git.commit.time}</project.build.outputTimestamp>
@@ -87,7 +87,8 @@
8787
<dependency>
8888
<groupId>org.codehaus.plexus</groupId>
8989
<artifactId>plexus-utils</artifactId>
90-
<version>3.5.1</version>
90+
<!-- Build fails with version > 4.0.0 -->
91+
<version>3.6.0</version>
9192
</dependency>
9293
<dependency>
9394
<groupId>org.apache.maven</groupId>
@@ -107,6 +108,13 @@
107108
<version>${maven.core.version}</version>
108109
<scope>provided</scope>
109110
</dependency>
111+
<dependency>
112+
<!-- Upgrade transitive dependency of maven-core to fix CVE-2025-48924 -->
113+
<groupId>org.apache.commons</groupId>
114+
<artifactId>commons-lang3</artifactId>
115+
<version>3.18.0</version>
116+
<scope>provided</scope>
117+
</dependency>
110118
<!-- Test dependencies -->
111119
<dependency>
112120
<groupId>org.apache.maven.plugin-testing</groupId>
@@ -118,14 +126,14 @@
118126
<!-- Fix CVE-2021-29425 in transitive dependency of maven-plugin-testing-harness -->
119127
<groupId>commons-io</groupId>
120128
<artifactId>commons-io</artifactId>
121-
<version>2.17.0</version>
129+
<version>2.20.0</version>
122130
<scope>test</scope>
123131
</dependency>
124132
<dependency>
125133
<!-- Fix CVE-2012-2098 and CVE-2023-37460 in dependency of maven-plugin-testing-harness -->
126134
<groupId>org.codehaus.plexus</groupId>
127135
<artifactId>plexus-archiver</artifactId>
128-
<version>4.10.0</version>
136+
<version>4.10.1</version>
129137
<scope>test</scope>
130138
</dependency>
131139
<dependency>
@@ -150,7 +158,7 @@
150158
<dependency>
151159
<groupId>com.exasol</groupId>
152160
<artifactId>maven-project-version-getter</artifactId>
153-
<version>1.2.0</version>
161+
<version>1.2.1</version>
154162
<scope>test</scope>
155163
</dependency>
156164
<dependency>
@@ -159,22 +167,16 @@
159167
<version>1.1.3</version>
160168
<scope>test</scope>
161169
</dependency>
162-
<dependency>
163-
<groupId>org.junit.jupiter</groupId>
164-
<artifactId>junit-jupiter-engine</artifactId>
165-
<version>${junit.version}</version>
166-
<scope>test</scope>
167-
</dependency>
168170
<dependency>
169171
<groupId>org.junit.jupiter</groupId>
170172
<artifactId>junit-jupiter-params</artifactId>
171-
<version>${junit.version}</version>
173+
<version>5.13.4</version>
172174
<scope>test</scope>
173175
</dependency>
174176
<dependency>
175177
<groupId>org.mockito</groupId>
176178
<artifactId>mockito-junit-jupiter</artifactId>
177-
<version>5.14.2</version>
179+
<version>5.19.0</version>
178180
<scope>test</scope>
179181
</dependency>
180182
<dependency>
@@ -211,7 +213,7 @@
211213
<plugin>
212214
<groupId>org.apache.maven.plugins</groupId>
213215
<artifactId>maven-gpg-plugin</artifactId>
214-
<version>3.2.7</version>
216+
<version>3.2.8</version>
215217
<executions>
216218
<execution>
217219
<id>sign-artifacts</id>
@@ -225,7 +227,7 @@
225227
<plugin>
226228
<groupId>org.apache.maven.plugins</groupId>
227229
<artifactId>maven-deploy-plugin</artifactId>
228-
<version>3.1.3</version>
230+
<version>3.1.4</version>
229231
</plugin>
230232
</plugins>
231233
</build>
@@ -237,7 +239,7 @@
237239
<plugin>
238240
<groupId>io.github.git-commit-id</groupId>
239241
<artifactId>git-commit-id-maven-plugin</artifactId>
240-
<version>9.0.1</version>
242+
<version>9.0.2</version>
241243
<executions>
242244
<execution>
243245
<id>get-the-git-infos</id>
@@ -278,7 +280,7 @@
278280
<plugin>
279281
<groupId>org.apache.maven.plugins</groupId>
280282
<artifactId>maven-enforcer-plugin</artifactId>
281-
<version>3.5.0</version>
283+
<version>3.6.1</version>
282284
<executions>
283285
<execution>
284286
<id>enforce-maven</id>
@@ -298,7 +300,7 @@
298300
<plugin>
299301
<groupId>org.apache.maven.plugins</groupId>
300302
<artifactId>maven-clean-plugin</artifactId>
301-
<version>3.4.0</version>
303+
<version>3.5.0</version>
302304
<configuration>
303305
<filesets>
304306
<fileset>
@@ -313,7 +315,7 @@
313315
<plugin>
314316
<groupId>org.apache.maven.plugins</groupId>
315317
<artifactId>maven-compiler-plugin</artifactId>
316-
<version>3.13.0</version>
318+
<version>3.14.0</version>
317319
<configuration>
318320
<source>${java.version}</source>
319321
<target>${java.version}</target>
@@ -377,7 +379,7 @@
377379
<plugin>
378380
<groupId>org.apache.maven.plugins</groupId>
379381
<artifactId>maven-javadoc-plugin</artifactId>
380-
<version>3.11.1</version>
382+
<version>3.11.3</version>
381383
<executions>
382384
<execution>
383385
<id>attach-javadocs</id>
@@ -465,7 +467,7 @@
465467
<plugin>
466468
<groupId>org.apache.maven.plugins</groupId>
467469
<artifactId>maven-surefire-plugin</artifactId>
468-
<version>3.5.2</version>
470+
<version>3.5.4</version>
469471
<configuration>
470472
<systemPropertyVariables>
471473
<java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file>
@@ -475,7 +477,7 @@
475477
<plugin>
476478
<groupId>org.apache.maven.plugins</groupId>
477479
<artifactId>maven-failsafe-plugin</artifactId>
478-
<version>3.5.2</version>
480+
<version>3.5.4</version>
479481
<configuration>
480482
<systemPropertyVariables>
481483
<test.coverage>true</test.coverage>
@@ -494,7 +496,7 @@
494496
<plugin>
495497
<groupId>org.codehaus.mojo</groupId>
496498
<artifactId>versions-maven-plugin</artifactId>
497-
<version>2.17.1</version>
499+
<version>2.19.0</version>
498500
<configuration>
499501
<excludes>
500502
<!-- Pin Maven version to 3.x -->
@@ -559,7 +561,7 @@
559561
<plugin>
560562
<groupId>org.apache.maven.plugins</groupId>
561563
<artifactId>maven-artifact-plugin</artifactId>
562-
<version>3.5.3</version>
564+
<version>3.6.0</version>
563565
<executions>
564566
<execution>
565567
<id>verify-reproducible-build</id>

0 commit comments

Comments
 (0)