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:
parent
7f389f8ce9
commit
d1a691498a
8
pom.xml
8
pom.xml
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user