You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/02/22 14:31:12 UTC

syncope git commit: Using Maven 3.5.2 with AppVeyor

Repository: syncope
Updated Branches:
  refs/heads/master a40f74b10 -> 691693cb5


Using Maven 3.5.2 with AppVeyor


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/691693cb
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/691693cb
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/691693cb

Branch: refs/heads/master
Commit: 691693cb553e68eabdac7369d24a914b8b8cf181
Parents: a40f74b
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Thu Feb 22 15:31:03 2018 +0100
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Thu Feb 22 15:31:03 2018 +0100

----------------------------------------------------------------------
 appveyor.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/691693cb/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
index af27b73..b1d5513 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -19,9 +19,19 @@ os: Windows Server 2012
 init:		
  - git config --global core.autocrlf true
 install:
+  - ps: |
+      Add-Type -AssemblyName System.IO.Compression.FileSystem
+      if (!(Test-Path -Path "C:\maven" )) {
+        (new-object System.Net.WebClient).DownloadFile('http://www.us.apache.org/dist/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.zip', 'C:\maven-bin.zip')
+        [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
+      }
+  - cmd: SET PATH=C:\maven\apache-maven-3.5.2\bin;%JAVA_HOME%\bin;=%;
   - cmd: SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0
+  - cmd: SET M2_HOME=C:\maven\apache-maven-3.5.2
   - cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
   - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
+  - cmd: mvn --version
+  - cmd: java -version
 build_script:
   - mvn --show-version --quiet -T 1C -PskipTests,all --batch-mode
 test_script: