Change maven version from 3.3.3 to 3.3.9

This commit is contained in:
Jesang Yoon 2016-08-06 18:00:34 +09:00
parent e8860cffab
commit 5ac7de7a4f
2 changed files with 6 additions and 6 deletions

View file

@ -96,7 +96,7 @@ The virtual machine consists of:
- Node.js 0.12.7
- npm 2.11.3
- ruby 1.9.3 + rake, make and bundler (only required if building jekyll documentation)
- Maven 3.3.3
- Maven 3.3.9
- Git
- Unzip
- libfontconfig to avoid phatomJs missing dependency issues

View file

@ -23,24 +23,24 @@
- name: Call apache web service to find preferred maven download mirror
uri: url=http://www.apache.org/dyn/closer.cgi?path=maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz&asjson=1 return_content=yes
uri: url=http://www.apache.org/dyn/closer.cgi?path=maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz&asjson=1 return_content=yes
register: webResponse
#- debug: var=webResponse
- name: download maven
get_url: url="{{webResponse.json.preferred}}{{webResponse.json.path_info}}"
dest=/tmp/apache-maven-3.3.3-bin.tar.gz
dest=/tmp/apache-maven-3.3.9-bin.tar.gz
mode=0440
validate_certs=False
- name: extract maven tgz
unarchive: src=/tmp/apache-maven-3.3.3-bin.tar.gz
unarchive: src=/tmp/apache-maven-3.3.9-bin.tar.gz
dest=/usr/local/
copy=no
creates=/usr/local/apache-maven-3.3.3
creates=/usr/local/apache-maven-3.3.9
- name: create symlink to this maven version
file: src=/usr/local/apache-maven-3.3.3/bin/mvn
file: src=/usr/local/apache-maven-3.3.9/bin/mvn
path=/usr/bin/mvn
state=link