Skip to content

Commit

Permalink
Fix compilerArguments deprecation warnings
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]>
  • Loading branch information
wborn committed Aug 26, 2023
1 parent 1cf57e7 commit d023ae6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,9 @@ 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=CLASSPATH</arg>
<arg>-classpath=${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 d023ae6

Please sign in to comment.