You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by co...@apache.org on 2025/08/28 14:53:34 UTC
(datafusion-comet) branch main updated: chore: Introduce `strict-warning` profile for Scala (#2254)
This is an automated email from the ASF dual-hosted git repository.
comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-comet.git
The following commit(s) were added to refs/heads/main by this push:
new fd7d07aa7 chore: Introduce `strict-warning` profile for Scala (#2254)
fd7d07aa7 is described below
commit fd7d07aa74d0f63ac8a9f18348745daa291ae9aa
Author: Oleks V <co...@users.noreply.github.com>
AuthorDate: Thu Aug 28 07:53:30 2025 -0700
chore: Introduce `strict-warning` profile for Scala (#2254)
---
pom.xml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/pom.xml b/pom.xml
index ae380821e..08bbe5e39 100644
--- a/pom.xml
+++ b/pom.xml
@@ -718,6 +718,30 @@ under the License.
</pluginManagement>
</build>
</profile>
+ <profile>
+ <id>strict-warnings</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>net.alchim31.maven</groupId>
+ <artifactId>scala-maven-plugin</artifactId>
+ <configuration>
+ <args>
+ <arg>-deprecation</arg>
+ <arg>-unchecked</arg>
+ <arg>-feature</arg>
+ <arg>-Xlint:_</arg>
+ <arg>-Ywarn-dead-code</arg>
+ <arg>-Ywarn-numeric-widen</arg>
+ <arg>-Ywarn-value-discard</arg>
+ <arg>-Ywarn-unused:imports,patvars,privates,locals,params,-implicits</arg>
+ <arg>-Xfatal-warnings</arg>
+ </args>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<build>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org