diff --git a/.github/workflows/docs-validation.yml b/.github/workflows/docs-validation.yml
index dff02f0d26..2ec8c6652b 100644
--- a/.github/workflows/docs-validation.yml
+++ b/.github/workflows/docs-validation.yml
@@ -149,7 +149,7 @@ jobs:
- name: Install SDK to local repo
working-directory: java
- run: mvn install -DskipTests -q
+ run: mvn install -Dmaven.test.skip=true -q
- name: Install validation dependencies
working-directory: scripts/docs-validation
diff --git a/java/pom.xml b/java/pom.xml
index b17cdbde7d..658c7243a0 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -70,7 +70,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.15.0
+ 3.16.0
org.apache.maven.plugins
@@ -95,12 +95,12 @@
org.apache.maven.plugins
maven-surefire-plugin
- 3.5.6
+ 3.6.0
org.apache.maven.plugins
maven-failsafe-plugin
- 3.5.6
+ 3.6.0
org.apache.maven.plugins
@@ -130,7 +130,7 @@
com.github.spotbugs
spotbugs-maven-plugin
- 4.10.4.0
+ 4.10.4.1
com.diffplug.spotless
diff --git a/scripts/docs-validation/validate.ts b/scripts/docs-validation/validate.ts
index 6ce615eab2..cb7b2ae2f6 100644
--- a/scripts/docs-validation/validate.ts
+++ b/scripts/docs-validation/validate.ts
@@ -424,7 +424,7 @@ async function validateJava(): Promise {
// First, install the local SDK into the local Maven repo
const pomPath = path.join(ROOT_DIR, "java", "pom.xml");
try {
- execSync(`mvn install -f "${pomPath}" -DskipTests -q`, {
+ execSync(`mvn install -f "${pomPath}" -Dmaven.test.skip=true -q`, {
encoding: "utf-8",
cwd: path.join(ROOT_DIR, "java"),
});