diff --git a/pom.xml b/pom.xml
index c76949de4e68f..49c3aabefbcf5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -299,11 +299,11 @@ Import-Package: \\
3.10.1
eclipse
-
- CLASSPATH
- ${project.build.directory}/dependency
-
+ -annotationpath
+ CLASSPATH
+ -classpath
+ ${project.build.directory}/dependency
-err:+nullAnnot(org.eclipse.jdt.annotation.Nullable|org.eclipse.jdt.annotation.NonNull|org.eclipse.jdt.annotation.NonNullByDefault),+inheritNullAnnot,+nullAnnotConflict,-nullUncheckedConversion
-warn:+null,+inheritNullAnnot,-nullUncheckedConversion,+nullAnnotRedundant,+nullDereference
-nowarn:[${project.build.directory}/generated-sources]