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

robbie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-jms.git


The following commit(s) were added to refs/heads/master by this push:
     new 6acf825  NO-JIRA: Simplify appveyor config, use pre-installed Maven. 
Use matrix to include a JDK11 build.
6acf825 is described below

commit 6acf825b9f73c0c3682586040d446ca779aa0175
Author: Robbie Gemmell <rob...@apache.org>
AuthorDate: Wed Apr 15 14:44:44 2020 +0100

    NO-JIRA: Simplify appveyor config, use pre-installed Maven. Use matrix to 
include a JDK11 build.
---
 appveyor.yml | 18 ++++--------------
 1 file changed, 4 insertions(+), 14 deletions(-)

diff --git a/appveyor.yml b/appveyor.yml
index baae25b..9634043 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -3,19 +3,12 @@ skip_tags: true
 clone_depth: 30
 
 environment:
-  JAVA_HOME: C:\Program Files\Java\jdk1.8.0
+  matrix:
+    - JAVA_HOME: C:\Program Files\Java\jdk1.8.0
+    - JAVA_HOME: C:\Program Files\Java\jdk11
 
 install:
-  - ps: |
-      Add-Type -AssemblyName System.IO.Compression.FileSystem
-      if (!(Test-Path -Path "C:\maven\apache-maven-3.3.9" )) {
-        (new-object System.Net.WebClient).DownloadFile(
-          
'http://repo2.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip',
-          'C:\maven-bin.zip'
-        )
-        
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", 
"C:\maven")
-      }
-  - cmd: SET PATH=C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH%
+  - cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
 
 build_script:
   - mvn clean install -B -DskipTests
@@ -41,6 +34,3 @@ on_finish:
           $wc.UploadFile($url, (Resolve-Path $file.FullName))
         }
       }
-
-cache:
-  - C:\maven\apache-maven-3.3.9


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to