From d023ae65826e1b0e8d39f8c85e8ac373b8014206 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sat, 26 Aug 2023 16:17:42 +0200 Subject: [PATCH] Fix compilerArguments deprecation warnings 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 --- pom.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index d8f6cb7f70648..cefa567224686 100644 --- a/pom.xml +++ b/pom.xml @@ -301,11 +301,9 @@ Import-Package: \\ 3.10.1 eclipse - - CLASSPATH - ${project.build.directory}/dependency - + -annotationpath=CLASSPATH + -classpath=${project.build.directory}/dependency -err:+nullAnnot(org.eclipse.jdt.annotation.Nullable|org.eclipse.jdt.annotation.NonNull|org.eclipse.jdt.annotation.NonNullByDefault),+inheritNullAnnot,+nullAnnotConflict,-nullUncheckedConversion -warn:+null,+inheritNullAnnot,-nullUncheckedConversion,+nullAnnotRedundant,+nullDereference -nowarn:[${project.build.directory}/generated-sources]