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 #3512

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn committed Aug 26, 2023
1 parent 096d11b commit 59307e3
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 @@ -280,11 +280,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,+nullAnnotConflict,-nullUncheckedConversion,+nullAnnotRedundant,+nullDereference</arg>
</compilerArgs>
Expand Down

0 comments on commit 59307e3

Please sign in to comment.