Skip to content

Commit 5b01f5d

Browse files
committed
Update dependencies
1 parent 2f9b45b commit 5b01f5d

7 files changed

Lines changed: 35 additions & 39 deletions

File tree

.github/actions/download-artifact/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runs:
2323

2424
- name: Download artifacts
2525
if: github.event_name == 'workflow_run'
26-
uses: dawidd6/action-download-artifact@v2
26+
uses: dawidd6/action-download-artifact@v6
2727
with:
2828
workflow: ${{ github.event.workflow_run.name }}
2929
run_id: ${{ github.event.workflow_run.id }}

.github/actions/prepare-analysis/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ runs:
4848
detailed_summary: true
4949

5050
- name: Set up JDK
51-
uses: actions/setup-java@v3
51+
uses: actions/setup-java@v4
5252
with:
5353
java-version: ${{ env.BUILD_JAVA_VERSION }}
5454
distribution: temurin
5555
cache: ${{ inputs.cache }}
5656

5757
- name: Cache SonarCloud packages
5858
if: inputs.cache
59-
uses: actions/cache@v3
59+
uses: actions/cache@v4
6060
with:
6161
path: ~/.sonar/cache
6262
key: ${{ runner.os }}-sonar

.github/actions/upload-artifact/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
shell: bash
3939

4040
- name: Upload artifacts
41-
uses: actions/upload-artifact@v3
41+
uses: actions/upload-artifact@v4
4242
with:
4343
if-no-files-found: ${{ inputs.if-no-files-found }}
4444
name: ${{ inputs.name }}

.github/workflows/analyze.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- name: Download PR number artifact
2626
id: get_pr_number
27-
uses: dawidd6/action-download-artifact@v2
27+
uses: dawidd6/action-download-artifact@v6
2828
with:
2929
workflow: ${{ github.event.workflow_run.name }}
3030
run_id: ${{ github.event.workflow_run.id }}

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/checkout@v4
3636

3737
- name: Set up JDK ${{ matrix.java }}
38-
uses: actions/setup-java@v3
38+
uses: actions/setup-java@v4
3939
with:
4040
java-version: ${{ matrix.java }}
4141
architecture: ${{ matrix.arch }}
@@ -100,7 +100,7 @@ jobs:
100100
uses: actions/checkout@v4
101101

102102
- name: Set up JDK
103-
uses: actions/setup-java@v3
103+
uses: actions/setup-java@v4
104104
with:
105105
java-version: ${{ env.BUILD_JAVA_VERSION }}
106106
distribution: temurin
@@ -133,7 +133,7 @@ jobs:
133133

134134
- name: Archive PR number
135135
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login != 'dnsjava'
136-
uses: actions/upload-artifact@v3
136+
uses: actions/upload-artifact@v4
137137
with:
138138
name: pr_number
139139
path: pr_number.txt
@@ -156,7 +156,9 @@ jobs:
156156
cache: maven
157157

158158
- name: Run codecov
159-
uses: codecov/codecov-action@v3
159+
uses: codecov/codecov-action@v4
160+
env:
161+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
160162

161163
# doesn't work with PRs from forks, see
162164
# https://portal.productboard.com/sonarsource/1-sonarcloud/c/50-sonarcloud-analyzes-external-pull-request
@@ -175,7 +177,7 @@ jobs:
175177
- uses: actions/checkout@v4
176178

177179
- name: Set up JDK ${{ env.BUILD_JAVA_VERSION }}
178-
uses: actions/setup-java@v3
180+
uses: actions/setup-java@v4
179181
with:
180182
java-version: ${{ env.BUILD_JAVA_VERSION }}
181183
architecture: 'x64'

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v2
32+
uses: github/codeql-action/init@v3
3333
with:
3434
languages: java
3535

3636
- name: Set up JDK 21
37-
uses: actions/setup-java@v3
37+
uses: actions/setup-java@v4
3838
with:
3939
java-version: 21
4040
distribution: temurin
@@ -57,4 +57,4 @@ jobs:
5757
test-compile
5858
5959
- name: Perform CodeQL Analysis
60-
uses: github/codeql-action/analyze@v2
60+
uses: github/codeql-action/analyze@v3

pom.xml

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@
4949
<maven.compiler.showCompilationChanges>true</maven.compiler.showCompilationChanges>
5050
<maven.compiler.createMissingPackageInfoClass>false</maven.compiler.createMissingPackageInfoClass>
5151

52-
<org.junit.version>5.10.2</org.junit.version>
52+
<org.junit.version>5.10.3</org.junit.version>
5353
<!-- Stay on 4.x for Java 8 compatibility. Newer versions are used for Java 11+ builds -->
5454
<mockito.version>4.11.0</mockito.version>
5555
<slf4j.version>1.7.36</slf4j.version>
56-
<lombok.version>1.18.32</lombok.version>
56+
<lombok.version>1.18.34</lombok.version>
5757
<jna.version>5.14.0</jna.version>
58-
<bouncycastle.version>1.78</bouncycastle.version>
59-
<vertx.version>4.5.7</vertx.version>
58+
<bouncycastle.version>1.78.1</bouncycastle.version>
59+
<vertx.version>4.5.9</vertx.version>
6060
<!-- Stay on 1.7 for Java 8 compatibility. Newer versions are used for Java 11+ builds -->
6161
<google-java-format.version>1.7</google-java-format.version>
6262
<spotless.version>2.30.0</spotless.version>
@@ -90,6 +90,7 @@
9090
<arg>--pinentry-mode</arg>
9191
<arg>loopback</arg>
9292
</gpgArguments>
93+
<useAgent>false</useAgent>
9394
</configuration>
9495
</plugin>
9596

@@ -206,7 +207,7 @@
206207
<plugin>
207208
<groupId>org.apache.maven.plugins</groupId>
208209
<artifactId>maven-javadoc-plugin</artifactId>
209-
<version>3.6.3</version>
210+
<version>3.8.0</version>
210211
<configuration>
211212
<source>${target.jdk}</source>
212213
<sourcepath>${delombok.output}</sourcepath>
@@ -221,7 +222,7 @@
221222
<plugin>
222223
<groupId>org.apache.maven.plugins</groupId>
223224
<artifactId>maven-surefire-plugin</artifactId>
224-
<version>3.2.5</version>
225+
<version>3.3.1</version>
225226
<configuration>
226227
<rerunFailingTestsCount>3</rerunFailingTestsCount>
227228
<includes>
@@ -276,7 +277,7 @@
276277
<plugin>
277278
<groupId>com.github.siom79.japicmp</groupId>
278279
<artifactId>japicmp-maven-plugin</artifactId>
279-
<version>0.20.0</version>
280+
<version>0.21.2</version>
280281
<configuration>
281282
<newVersion>
282283
<file>
@@ -298,12 +299,7 @@
298299
<exclude>org.xbill.DNS.spi.DnsjavaInetAddressResolver</exclude>
299300
<exclude>org.xbill.DNS.spi.DNSJavaNameService</exclude>
300301
<exclude>org.xbill.DNS.spi.DNSJavaNameServiceDescriptor</exclude>
301-
<!-- package-private class converted to public interface, the tool is confused -->
302-
<!-- TODO: remove when 3.6.0 is released -->
303-
<exclude>org.xbill.DNS.dnssec.TrustAnchorStore</exclude>
304302
</excludes>
305-
<!-- TODO: remove when 3.6.0 is released -->
306-
<ignoreMissingClasses>true</ignoreMissingClasses>
307303
<overrideCompatibilityChangeParameters>
308304
<overrideCompatibilityChangeParameter>
309305
<compatibilityChange>ANNOTATION_DEPRECATED_ADDED</compatibilityChange>
@@ -371,7 +367,7 @@
371367
<plugin>
372368
<groupId>org.apache.maven.plugins</groupId>
373369
<artifactId>maven-checkstyle-plugin</artifactId>
374-
<version>3.3.1</version>
370+
<version>3.4.0</version>
375371
<executions>
376372
<execution>
377373
<id>check</id>
@@ -405,13 +401,13 @@
405401
<plugin>
406402
<groupId>org.apache.maven.plugins</groupId>
407403
<artifactId>maven-deploy-plugin</artifactId>
408-
<version>3.1.1</version>
404+
<version>3.1.2</version>
409405
</plugin>
410406

411407
<plugin>
412408
<groupId>org.apache.maven.plugins</groupId>
413409
<artifactId>maven-clean-plugin</artifactId>
414-
<version>3.3.2</version>
410+
<version>3.4.0</version>
415411
<configuration>
416412
<filesets>
417413
<fileset>
@@ -434,7 +430,7 @@
434430
<plugin>
435431
<groupId>org.sonatype.plugins</groupId>
436432
<artifactId>nexus-staging-maven-plugin</artifactId>
437-
<version>1.6.13</version>
433+
<version>1.7.0</version>
438434
<extensions>true</extensions>
439435
<configuration>
440436
<serverId>ossrh</serverId>
@@ -446,7 +442,7 @@
446442
<plugin>
447443
<groupId>org.codehaus.mojo</groupId>
448444
<artifactId>animal-sniffer-maven-plugin</artifactId>
449-
<version>1.23</version>
445+
<version>1.24</version>
450446
<configuration>
451447
<signature>
452448
<groupId>net.sf.androidscents.signature</groupId>
@@ -487,13 +483,13 @@
487483
<plugin>
488484
<groupId>org.apache.maven.plugins</groupId>
489485
<artifactId>maven-install-plugin</artifactId>
490-
<version>3.1.1</version>
486+
<version>3.1.2</version>
491487
</plugin>
492488

493489
<plugin>
494490
<groupId>org.codehaus.mojo</groupId>
495491
<artifactId>build-helper-maven-plugin</artifactId>
496-
<version>3.5.0</version>
492+
<version>3.6.0</version>
497493
</plugin>
498494
</plugins>
499495
</build>
@@ -555,7 +551,7 @@
555551
<dependency>
556552
<groupId>org.assertj</groupId>
557553
<artifactId>assertj-core</artifactId>
558-
<version>3.25.3</version>
554+
<version>3.26.3</version>
559555
<scope>test</scope>
560556
</dependency>
561557
<dependency>
@@ -573,7 +569,7 @@
573569
<dependency>
574570
<groupId>net.bytebuddy</groupId>
575571
<artifactId>byte-buddy-agent</artifactId>
576-
<version>1.14.14</version>
572+
<version>1.14.18</version>
577573
<scope>test</scope>
578574
</dependency>
579575
<dependency>
@@ -604,7 +600,7 @@
604600
<dependency>
605601
<groupId>commons-io</groupId>
606602
<artifactId>commons-io</artifactId>
607-
<version>2.16.0</version>
603+
<version>2.16.1</version>
608604
<scope>test</scope>
609605
</dependency>
610606
<dependency>
@@ -642,7 +638,7 @@
642638
</activation>
643639

644640
<properties>
645-
<mockito.version>5.7.0</mockito.version>
641+
<mockito.version>5.12.0</mockito.version>
646642
<google-java-format.version>1.17.0</google-java-format.version>
647643
<spotless.version>2.43.0</spotless.version>
648644
</properties>
@@ -720,7 +716,6 @@
720716
<argLine>
721717
@{argLine}
722718
--add-opens java.base/sun.net.dns=ALL-UNNAMED
723-
--add-opens java.base/sun.net.dns=org.dnsjava
724719
</argLine>
725720
<additionalClasspathElements>
726721
<additionalClasspathElement>${project.build.outputDirectory}/META-INF/versions/11</additionalClasspathElement>
@@ -831,7 +826,7 @@
831826
<plugin>
832827
<groupId>org.apache.maven.plugins</groupId>
833828
<artifactId>maven-dependency-plugin</artifactId>
834-
<version>3.6.1</version>
829+
<version>3.7.1</version>
835830
<executions>
836831
<execution>
837832
<phase>initialize</phase>
@@ -849,7 +844,6 @@
849844
<argLine>
850845
@{argLine}
851846
--add-opens java.base/sun.net.dns=ALL-UNNAMED
852-
--add-opens java.base/sun.net.dns=org.dnsjava
853847
-javaagent:${net.bytebuddy:byte-buddy-agent:jar}
854848
</argLine>
855849
<additionalClasspathElements>

0 commit comments

Comments
 (0)