From e098be869434c657890da834c54b466314f2c6b8 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Fri, 12 Aug 2016 22:04:28 +0200 Subject: [PATCH] Fixed appveyor.yml using Maven 3.2.5 to be able to build with JDK 6 --- appveyor.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2d176cb2..1a55fa6b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -3,18 +3,19 @@ skip_tags: true clone_depth: 10 environment: matrix: + - JAVA_HOME: C:\Program Files\Java\jdk1.6.0 - JAVA_HOME: C:\Program Files\Java\jdk1.7.0 - JAVA_HOME: C:\Program Files\Java\jdk1.8.0 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('https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip', 'C:\maven-bin.zip') + if (!(Test-Path -Path "C:\maven\apache-maven-3.2.5" )) { + (new-object System.Net.WebClient).DownloadFile('https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.2.5/apache-maven-3.2.5-bin.zip', 'C:\maven-bin.zip') [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven") } # Prepend Java entry, remove Ruby entry (C:\Ruby193\bin;) from PATH - - cmd: SET PATH=C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=% + - cmd: SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH:C:\Ruby193\bin;=% - cmd: SET MAVEN_OPTS=-Xmx768m - cmd: mvn --version - cmd: java -version