From 56f7cd085fbd043aa64d1626d4ba3e1377b59cbe Mon Sep 17 00:00:00 2001 From: Edgardo Date: Fri, 23 Sep 2016 11:45:10 -0400 Subject: [PATCH] [NIFI-2813] Fix for invalid M2_HOME directory This closes #1049 Signed-off-by: Andre F de Miranda --- appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: