Skip to content

Commit

Permalink
Fix compilerArguments deprecation warnings (openhab#15504)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jørgen Austvik <[email protected]>
  • Loading branch information
wborn authored and austvik committed Mar 27, 2024
1 parent 72a82e6 commit dbbd8c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit dbbd8c6

Please sign in to comment.