diff --git a/.github/workflows/create_github_release.yml b/.github/workflows/create_github_release.yml
index 229b1974c7..7ed045b705 100644
--- a/.github/workflows/create_github_release.yml
+++ b/.github/workflows/create_github_release.yml
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v5.0.0
+ uses: actions/checkout@v6.0.2
- name: Create Release
id: create_release
diff --git a/.github/workflows/formatting_check.yml b/.github/workflows/formatting_check.yml
index 46943469b9..9d516a0f47 100644
--- a/.github/workflows/formatting_check.yml
+++ b/.github/workflows/formatting_check.yml
@@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
- uses: actions/checkout@v6
+ uses: actions/checkout@v6.0.2
with:
fetch-depth: "0"
- name: Set up JDK 21
@@ -47,7 +47,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
- uses: actions/checkout@v6
+ uses: actions/checkout@v6.0.2
with:
fetch-depth: "0"
- name: Set up JDK 21
diff --git a/.github/workflows/maven_tests.yml b/.github/workflows/maven_tests.yml
index 528201924a..df91f51784 100644
--- a/.github/workflows/maven_tests.yml
+++ b/.github/workflows/maven_tests.yml
@@ -49,7 +49,7 @@ jobs:
steps:
## Checkout the current version of the code from the repo.
- name: Checkout latest code
- uses: actions/checkout@v6
+ uses: actions/checkout@v6.0.2
with:
fetch-depth: "0"
@@ -106,7 +106,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout latest code
- uses: actions/checkout@v6
+ uses: actions/checkout@v6.0.2
with:
fetch-depth: "0"
- name: Set up JDK 17
diff --git a/.github/workflows/prepare_release_changelog.yml b/.github/workflows/prepare_release_changelog.yml
index 20a0e2dcec..b0705abf3d 100644
--- a/.github/workflows/prepare_release_changelog.yml
+++ b/.github/workflows/prepare_release_changelog.yml
@@ -17,7 +17,7 @@ jobs:
# Check out current repository
- name: Fetch Sources
- uses: actions/checkout@v5.0.0
+ uses: actions/checkout@v6.0.2
# Setup Java 11 environment for the next steps
- name: Setup Java
diff --git a/.github/workflows/publish_pkg_github.yml b/.github/workflows/publish_pkg_github.yml
index e960c70737..673e92dbf4 100644
--- a/.github/workflows/publish_pkg_github.yml
+++ b/.github/workflows/publish_pkg_github.yml
@@ -8,8 +8,8 @@ jobs:
contents: read
packages: write
steps:
- - uses: actions/checkout@v3.5.0
- - uses: actions/setup-java@v3
+ - uses: actions/checkout@v6.0.2
+ - uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'adopt'
diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml
index 7f7eb78b30..80666d3392 100644
--- a/.github/workflows/qodana.yml
+++ b/.github/workflows/qodana.yml
@@ -11,8 +11,8 @@ jobs:
qodana:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3.5.0
+ - uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: 'Qodana Scan'
- uses: JetBrains/qodana-action@v2022.3.4
+ uses: JetBrains/qodana-action@v2025.3.1
diff --git a/javaparser-core-testing/pom.xml b/javaparser-core-testing/pom.xml
index 8cb6e97cf3..ea583f5b56 100644
--- a/javaparser-core-testing/pom.xml
+++ b/javaparser-core-testing/pom.xml
@@ -72,7 +72,7 @@
com.squareup.okhttp3
okhttp
- 4.12.0
+ 5.3.2
test
diff --git a/javaparser-core/pom.xml b/javaparser-core/pom.xml
index 38b58d38bc..f3ac804617 100644
--- a/javaparser-core/pom.xml
+++ b/javaparser-core/pom.xml
@@ -31,7 +31,7 @@
org.jetbrains
annotations
- 24.1.0
+ 26.0.2-1
org.jspecify
diff --git a/jmlparser-jml-tests/pom.xml b/jmlparser-jml-tests/pom.xml
index 3664d763f5..8697fcc3d0 100644
--- a/jmlparser-jml-tests/pom.xml
+++ b/jmlparser-jml-tests/pom.xml
@@ -121,19 +121,19 @@
org.hamcrest
hamcrest-library
- 2.2
+ 3.0
test
org.assertj
assertj-core
- 3.25.3
+ 3.27.7
test
com.squareup.okhttp3
okhttp
- 4.12.0
+ 5.3.2
test
diff --git a/pom.xml b/pom.xml
index dfd013a3db..f64956eb15 100644
--- a/pom.xml
+++ b/pom.xml
@@ -144,7 +144,7 @@
UTF-8
21
${java.version}
- 1.17.7
+ 1.18.4
-javaagent:'${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar'
@@ -212,7 +212,7 @@
com.helger.maven
ph-javacc-maven-plugin
- 4.1.5
+ 5.0.1
org.apache.maven.plugins
@@ -222,7 +222,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.14.1
+ 3.15.0
org.apache.maven.plugins
@@ -237,7 +237,7 @@
org.apache.maven.plugins
maven-jar-plugin
- 3.4.1
+ 3.5.0
org.sonatype.plugins
@@ -254,7 +254,7 @@
org.apache.maven.plugins
maven-release-plugin
- 3.1.1
+ 3.3.1
true
@@ -293,7 +293,7 @@
org.sonatype.central
central-publishing-maven-plugin
- 0.9.0
+ 0.10.0
true
central
@@ -308,7 +308,7 @@
org.apache.maven.plugins
maven-resources-plugin
- 3.3.1
+ 3.4.0
org.apache.maven.plugins
@@ -318,12 +318,12 @@
org.apache.maven.plugins
maven-source-plugin
- 3.3.1
+ 3.4.0
org.jacoco
jacoco-maven-plugin
- 0.8.13
+ 0.8.14
@@ -374,7 +374,7 @@
biz.aQute.bnd
bnd-maven-plugin
- 7.0.0
+ 7.2.1
org.apache.maven.plugins
@@ -384,7 +384,7 @@
org.codehaus.mojo
exec-maven-plugin
- 3.6.0
+ 3.6.3
org.codehaus.mojo
@@ -394,7 +394,7 @@
org.codehaus.mojo
templating-maven-plugin
- 3.0.0
+ 3.1.0
org.apache.maven.plugins
@@ -404,7 +404,7 @@
org.codehaus.mojo
versions-maven-plugin
- 2.19.1
+ 2.21.0
false
@@ -423,7 +423,7 @@
com.puppycrawl.tools
checkstyle
- 10.26.1
+ 13.1.0
@@ -431,7 +431,7 @@
com.diffplug.spotless
spotless-maven-plugin
- 2.46.1
+ 3.2.1
@@ -463,13 +463,13 @@
com.google.truth
truth
- 1.4.2
+ 1.4.5
test
org.checkerframework
checker-qual
- 3.51.1
+ 3.53.1
org.hamcrest
@@ -480,7 +480,7 @@
org.junit
junit-bom
- 5.14.0
+ 6.0.2
pom
import