This is an automated email from the ASF dual-hosted git repository.
viirya 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 2108180d build: Set Java version arg for scala-maven-plugin (#934)
2108180d is described below
commit 2108180d72ac1b421aea5b7933cdb456bfc33a0f
Author: Liang-Chi Hsieh <[email protected]>
AuthorDate: Wed Sep 11 10:50:39 2024 -0700
build: Set Java version arg for scala-maven-plugin (#934)
---
pom.xml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/pom.xml b/pom.xml
index 21f32f8c..25055bf0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -664,6 +664,13 @@ under the License.
<args>
<arg>-Ywarn-unused</arg> <!-- if you need exactly
RemoveUnused -->
</args>
+ <javacArgs>
+ <javacArg>-source</javacArg>
+ <javacArg>${java.version}</javacArg>
+ <javacArg>-target</javacArg>
+ <javacArg>${java.version}</javacArg>
+ <javacArg>-Xlint:all,-serial,-path,-try</javacArg>
+ </javacArgs>
<compilerPlugins>
<compilerPlugin>
<groupId>org.scalameta</groupId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]