Fix compilerArguments deprecation warnings (#15504)

This fixes the following warnings:

```
[WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead.
```

Related to openhab/openhab-core#3512

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born 2023-08-27 13:45:36 +02:00 committed by GitHub
parent 7f389f8ce9
commit d1a691498a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,11 +301,11 @@ Import-Package: \\
<version>3.10.1</version>
<configuration>
<compilerId>eclipse</compilerId>
<compilerArguments>
<annotationpath>CLASSPATH</annotationpath>
<classpath>${project.build.directory}/dependency</classpath>
</compilerArguments>
<compilerArgs>
<arg>-annotationpath</arg>
<arg>CLASSPATH</arg>
<arg>-classpath</arg>
<arg>${project.build.directory}/dependency</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>-nowarn:[${project.build.directory}/generated-sources]</arg>