diff --git a/pom.xml b/pom.xml
index ef51b6e1583..726047141fc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -172,7 +172,7 @@
maven-javadoc-plugin
3.3.1
- 8
+ 17
true
Error Prone ${project.version} API
diff --git a/type_annotations/pom.xml b/type_annotations/pom.xml
index 365123af188..33492170e44 100644
--- a/type_annotations/pom.xml
+++ b/type_annotations/pom.xml
@@ -50,8 +50,8 @@
org.apache.maven.plugins
maven-compiler-plugin
- 8
- 8
+ 17
+ 17