mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
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 <github@maindrain.net>
This commit is contained in:
parent
cfb09bdc48
commit
cd73b8d579
1
pom.xml
1
pom.xml
@ -302,6 +302,7 @@ Import-Package: \\
|
|||||||
<compilerArgs>
|
<compilerArgs>
|
||||||
<arg>-err:+nullAnnot(org.eclipse.jdt.annotation.Nullable|org.eclipse.jdt.annotation.NonNull|org.eclipse.jdt.annotation.NonNullByDefault),+inheritNullAnnot,+nullAnnotConflict,-nullUncheckedConversion</arg>
|
<arg>-err:+nullAnnot(org.eclipse.jdt.annotation.Nullable|org.eclipse.jdt.annotation.NonNull|org.eclipse.jdt.annotation.NonNullByDefault),+inheritNullAnnot,+nullAnnotConflict,-nullUncheckedConversion</arg>
|
||||||
<arg>-warn:+null,+inheritNullAnnot,-nullUncheckedConversion,+nullAnnotRedundant,+nullDereference</arg>
|
<arg>-warn:+null,+inheritNullAnnot,-nullUncheckedConversion,+nullAnnotRedundant,+nullDereference</arg>
|
||||||
|
<arg>-nowarn:[${project.build.directory}/generated-sources]</arg>
|
||||||
</compilerArgs>
|
</compilerArgs>
|
||||||
<showWarnings>true</showWarnings>
|
<showWarnings>true</showWarnings>
|
||||||
<showDeprecation>true</showDeprecation>
|
<showDeprecation>true</showDeprecation>
|
||||||
|
Loading…
Reference in New Issue
Block a user