brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [11/16] brooklyn-dist git commit: Release Vagrantfile: download Maven instead of apt-get
Date Thu, 17 Mar 2016 12:55:09 GMT
Release Vagrantfile: download Maven instead of apt-get

This gets us a newer version than the outdated one in Ubuntu, which is
required for Brooklyn.

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/commit/4c69c487
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/tree/4c69c487
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-dist/diff/4c69c487

Branch: refs/heads/master
Commit: 4c69c487594408addb082a9029363dcfa7ee6eb0
Parents: 0586975
Author: Richard Downer <richard@apache.org>
Authored: Wed Mar 16 16:48:14 2016 +0000
Committer: Richard Downer <richard@apache.org>
Committed: Wed Mar 16 16:48:14 2016 +0000

----------------------------------------------------------------------
 release/Vagrantfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-dist/blob/4c69c487/release/Vagrantfile
----------------------------------------------------------------------
diff --git a/release/Vagrantfile b/release/Vagrantfile
index 80aade0..2d823c1 100644
--- a/release/Vagrantfile
+++ b/release/Vagrantfile
@@ -53,13 +53,16 @@ Vagrant.configure(2) do |config|
     apt-get update
     apt-get upgrade -y
     wget -q -O /tmp/artifactory.zip http://bit.ly/Hqv9aj
-    apt-get install -y default-jdk maven git subversion xmlstarlet zip unzip language-pack-en
vim-nox gnupg2 gnupg-agent pinentry-curses
+    apt-get install -y default-jdk git subversion xmlstarlet zip unzip language-pack-en vim-nox
gnupg2 gnupg-agent pinentry-curses
     mkdir -p /opt
     unzip /tmp/artifactory.zip -d /opt
     sudo sed -i -e '/Connector port=/ s/=\".*\"/=\"'"8008"'\"/' /opt/artifactory*/tomcat/conf/server.xml
     /opt/artifactory*/bin/installService.sh
     service artifactory start
     chmod -R go= ~vagrant/.gnupg
+    curl http://archive.apache.org/dist/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz
| tar xz -C /opt
+    ln -s /opt/apache-maven-3.1.1/bin/mvn /usr/local/bin
+    echo "MAVEN_OPTS=\"-Xmx512m -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M\"" >>
/etc/environment
     mkdir -p /work
     mount -ttmpfs -osize=3g none /work
     cat /etc/ssh/ssh_host_*_key.pub | awk '{print "localhost,127.0.0.1 "$0}' >> /etc/ssh/ssh_known_hosts


Mime
View raw message