[NIFI-2813] Fix for invalid M2_HOME directory

This closes #1049

Signed-off-by: Andre F de Miranda <trixpan@users.noreply.github.com>
This commit is contained in:
Edgardo 2016-09-23 11:45:10 -04:00 committed by Andre F de Miranda
parent 85a1f753a7
commit 56f7cd085f
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ install:
) )
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven") [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 MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
- cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
build_script: build_script: