Skip to content

Commit 04bf434

Browse files
committed
Remove mvn install from .appveyor.yml
1 parent 5d72252 commit 04bf434

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

appveyor.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,8 @@ environment:
2525

2626
# install required tools (maven, secure-file, encrypted files)
2727
install:
28-
- ps: |
29-
Add-Type -AssemblyName System.IO.Compression.FileSystem
30-
if (!(Test-Path -Path "C:\maven" )) {
31-
(new-object System.Net.WebClient).DownloadFile(
32-
'http://www.us.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip',
33-
'C:\maven-bin.zip'
34-
)
35-
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
36-
}
37-
- cmd: SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH%
38-
- cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
39-
- cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
4028
- cmd: echo %JAVA_HOME%
29+
- cmd: echo %M2_HOME%
4130
- ps: $origin = git config --get remote.origin.url; git clone --quiet -b appveyor $origin appveyor
4231
- cmd: nuget install secure-file -ExcludeVersion
4332
- cmd: IF DEFINED SECRET (secure-file\tools\secure-file -decrypt appveyor\key.json.enc -secret %SECRET% -out appveyor\key.json)

0 commit comments

Comments
 (0)