diff --git a/ortools/java/pom-test.xml.in b/ortools/java/pom-test.xml.in
index fe81bd6b6d..40112c399c 100644
--- a/ortools/java/pom-test.xml.in
+++ b/ortools/java/pom-test.xml.in
@@ -92,7 +92,7 @@
com.google.auto.value
- auto-value
+ auto-value-annotations
1.11.0
provided
@@ -121,6 +121,20 @@
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.13.0
+
+
+
+ com.google.auto.value
+ auto-value
+ 1.11.0
+
+
+
+
org.apache.maven.plugins
maven-javadoc-plugin