From 55b5371c8c514ab0ce3a91c50f23f4ca890a384e Mon Sep 17 00:00:00 2001 From: Hongze Zhang Date: Thu, 22 Aug 2024 11:40:08 +0800 Subject: [PATCH] fixup --- pom.xml | 123 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 72 insertions(+), 51 deletions(-) diff --git a/pom.xml b/pom.xml index 882c7d5c7f31e..754f703da8fde 100644 --- a/pom.xml +++ b/pom.xml @@ -141,6 +141,59 @@ 2.12.15 2.12 + + + + + net.alchim31.maven + scala-maven-plugin + ${scala.compiler.version} + + + + org.wartremover + wartremover_${scala.binary.version} + 3.1.6 + + + + + io.github.zhztheplayer.scalawarts + scalawarts_${scala.binary.version} + 0.1.2 + + + ${scala.recompile.mode} + + -Wconf:msg=While parsing annotations in:silent,any:e + -Ywarn-unused:imports + -deprecation + -feature + -Wconf:cat=deprecation:wv,any:e + -P:wartremover:traverser:io.github.zhztheplayer.scalawarts.InheritFromCaseClass + + + + + scala-compile-first + process-resources + + add-source + compile + + + + scala-test-compile-first + process-test-resources + + testCompile + + + + + + + scala-2.13 @@ -171,6 +224,7 @@ 0.1.2 --> + ${scala.recompile.mode} -unchecked -deprecation @@ -212,14 +266,27 @@ -Wconf:cat=unchecked&msg=eliminated by erasure:s -Wconf:msg=^(?=.*?a value of type)(?=.*?cannot also be).+$:s - - + + + scala-compile-first + process-resources + + add-source + compile + + + + scala-test-compile-first + process-test-resources + + testCompile + + + @@ -805,52 +872,6 @@ - - net.alchim31.maven - scala-maven-plugin - ${scala.compiler.version} - - - - org.wartremover - wartremover_${scala.binary.version} - 3.1.6 - - - - - io.github.zhztheplayer.scalawarts - scalawarts_${scala.binary.version} - 0.1.2 - - - ${scala.recompile.mode} - - -Wconf:msg=While parsing annotations in:silent,any:e - -Ywarn-unused:imports - -deprecation - -feature - -P:wartremover:traverser:io.github.zhztheplayer.scalawarts.InheritFromCaseClass - - - - - scala-compile-first - process-resources - - add-source - compile - - - - scala-test-compile-first - process-test-resources - - testCompile - - - - org.apache.maven.plugins maven-checkstyle-plugin