From cd73b8d5797ee36ecd6cde41b0f09c8c0ac6047b Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sun, 10 Jul 2022 15:13:31 +0200 Subject: [PATCH] Hide compiler warnings for generated code (#13100) Generated Swagger/OpenAPI code can be messy resulting in a lot of compiler warnings obscuring more important compiler warnings. Fixes #12498 Signed-off-by: Wouter Born --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 2bf4f3c067d..3e7cb0f6e1d 100644 --- a/pom.xml +++ b/pom.xml @@ -302,6 +302,7 @@ Import-Package: \\ -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] true true