diff --git a/pom.xml b/pom.xml
index d8f6cb7f70648..6ba04b81255a8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -301,11 +301,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]