From 748ac667babb37c3efafa208c09c1f05ce9fea44 Mon Sep 17 00:00:00 2001 From: Matthieu Baechler Date: Mon, 29 Apr 2024 17:55:59 +0200 Subject: [PATCH] Enable new Xsource:3-cross compilation flag for scala 2.13.14 --- webapp/sources/pom.xml | 9 +++------ .../rudder/repository/jdbc/ReportingServiceTest.scala | 2 -- .../com/normation/rudder/rest/RudderJsonResponse.scala | 7 ++----- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/webapp/sources/pom.xml b/webapp/sources/pom.xml index 487506ff9d6..a984b52fd71 100644 --- a/webapp/sources/pom.xml +++ b/webapp/sources/pom.xml @@ -171,7 +171,7 @@ limitations under the License. org.scalameta semanticdb-scalac_${scala-version} - 4.8.14 + 4.9.1 @@ -184,7 +184,7 @@ limitations under the License. -Xlint:_,-nullary-unit,-missing-interpolator -Yno-adapted-args -Ywarn-dead-code -Ywarn-extra-implicit -Ywarn-inaccessible -Ywarn-infer-any -Ywarn-nullary-override -Ywarn-numeric-widen -Ywarn-unused:imports -Ywarn-unused:locals -Ywarn-unused:privates --> - -Xsource:3 + -Xsource:3-cross -deprecation -explaintypes -feature @@ -213,9 +213,6 @@ limitations under the License. -Wconf:cat=unused-nowarn&src=com/normation/utils/Version.scala:s,cat=unused-nowarn&src=com/normation/rudder/services/policies/InterpolatedValueCompiler.scala:s - - - -Wconf:msg=constructor modifiers are assumed by synthetic:s -Xmx${jvmArg-Xmx} @@ -422,7 +419,7 @@ limitations under the License. 8.1 8.1.3-SNAPSHOT - 2.13.12 + 2.13.14 2.13