From 352d9c1b560d3a4f381c161b75aaf65a85cd07f7 Mon Sep 17 00:00:00 2001 From: comphead Date: Wed, 27 Aug 2025 18:35:26 -0700 Subject: [PATCH] chore: Introduce `strict-warning` profile for Scala --- pom.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pom.xml b/pom.xml index ae380821e2..08bbe5e397 100644 --- a/pom.xml +++ b/pom.xml @@ -718,6 +718,30 @@ under the License. + + strict-warnings + + + + net.alchim31.maven + scala-maven-plugin + + + -deprecation + -unchecked + -feature + -Xlint:_ + -Ywarn-dead-code + -Ywarn-numeric-widen + -Ywarn-value-discard + -Ywarn-unused:imports,patvars,privates,locals,params,-implicits + -Xfatal-warnings + + + + + +