File project.diff of Package resteasy
--- resteasy.spec.orig
+++ resteasy.spec
@@ -1,7 +1,7 @@
#
# spec file for package resteasy
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2020 Stasiek Michalski <stasiek@michalski.cc>.
#
# All modifications and additions to the file contributed by third parties
@@ -185,7 +185,7 @@ find -name '*.jar' -print -delete
%build
%{mvn_build} -f -- \
-DlegacyMode=true \
- -Dmaven.compiler.useIncrementalCompilation=false
+ -Dmaven.compiler.incrementalCompilation=classes
%install
%mvn_install