forked from bndtools/bnd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
28 lines (22 loc) · 1.03 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
version: '{build}'
clone_depth: 50
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.7.0
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
- gradlew.bat --version
- choco install maven --version 3.2.5
- set PATH=%PATH%;C:\bin\apache-maven-3.2.5\bin
- mvn --version
build_script:
- gradlew.bat --continue
- mvn --batch-mode --quiet -Dmaven.repo.local=maven/target/m2 -Dfile=dist/bundles/org.osgi.impl.bundle.repoindex.cli/org.osgi.impl.bundle.repoindex.cli-latest.jar org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file
- mvn --batch-mode --quiet -Dmaven.repo.local=maven/target/m2 -Dfile=dist/bundles/biz.aQute.bndlib/biz.aQute.bndlib-latest.jar org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file
- mvn -f maven --batch-mode --quiet -Dmaven.repo.local=maven/target/m2 install
on_success:
- git status
cache:
- C:\Users\appveyor\.gradle -> .gradle-wrapper\gradle-wrapper.properties
- C:\ProgramData\chocolatey\lib -> appveyor.yml
- C:\bin\apache-maven-3.2.5\ -> appveyor.yml