diff --git a/appveyor.yml b/appveyor.yml index 7b4fe1b26d..ed3a05359d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,7 +12,8 @@ install: ) [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven") } - - cmd: SET PATH=C:\maven\apache-maven-3.1.1\bin;%JAVA_HOME%\bin;%PATH% + - cmd: SET M2_HOME=C:\maven\apache-maven-3.1.1 + - cmd: SET PATH=%M2_HOME%\bin;%JAVA_HOME%\bin;%PATH%% - cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g build_script: