This is an automated email from the ASF dual-hosted git repository.

jongyoul pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new c1a138d84b [MINOR] Fix Appveyor error (#4520)
c1a138d84b is described below

commit c1a138d84be49e50e7df1531d357d265f8342571
Author: Jongyoul Lee <jongy...@gmail.com>
AuthorDate: Sun Dec 11 01:05:36 2022 +0900

    [MINOR] Fix Appveyor error (#4520)
---
 .appveyor.yml            | 25 ++++++++++++++++++-------
 pom.xml                  |  8 ++++++++
 zeppelin-display/pom.xml |  1 +
 3 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index c0e30d1d8a..8089cfbf16 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -17,18 +17,29 @@
 # under the License.
 #
 
-version: '1.0.0-dev.{build}'
+version: '0.11.0.{build}'
 
 shallow_clone: true
 
-build: off
+platform:
+  - x64
+
+build: Script
 
 os:
-  - Visual Studio 2015
+  - Visual Studio 2022
+
+environment:
+  APPVEYOR_SAVE_CACHE_ON_ERROR: True
 
-install:
-  - echo "Install"
+cache:
+  - '%USERPROFILE%/.m2'
 
 build_script:
-  - echo "Build"
-  - ps: ./mvnw clean package -DskipTests
+  - cmd: set JAVA_HOME=C:\Program Files\Java\jdk1.8.0
+  - cmd: >-
+      ./mvnw.cmd clean package -DskipTests ^
+      
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade.mojo.ShadeMojo=warn 
^
+      
-Dorg.slf4j.simpleLogger.log.com.googlecode.download.maven.plugin.internal.WGet=warn
 ^
+      
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency.fromDependencies.CopyDependenciesMojo=warn
 ^
+      --no-transfer-progress
diff --git a/pom.xml b/pom.xml
index 3777598e8a..536a3b9a3c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1584,6 +1584,14 @@
           <groupId>net.alchim31.maven</groupId>
           <artifactId>scala-maven-plugin</artifactId>
           <version>${plugin.scala.alchim31.version}</version>
+          <configuration>
+            <recompileMode>all</recompileMode>
+            <args>
+              <arg>-unchecked</arg>
+              <arg>-deprecation</arg>
+              <arg>-feature</arg>
+            </args>
+          </configuration>
         </plugin>
 
         <plugin>
diff --git a/zeppelin-display/pom.xml b/zeppelin-display/pom.xml
index 8566c2b0a0..40d6a05662 100644
--- a/zeppelin-display/pom.xml
+++ b/zeppelin-display/pom.xml
@@ -135,6 +135,7 @@
             <arg>-unchecked</arg>
             <arg>-deprecation</arg>
             <arg>-feature</arg>
+            <arg>-language:implicitConversions</arg>
           </args>
           <jvmArgs>
             <jvmArg>-Xms1024m</jvmArg>

Reply via email to