Просмотр исходного кода

Fix #429: JRuby installation failing

At the time of writing, this will install Maven 3.0.4 on an Ubuntu 12.04 system. Tests indicate that build does not require version 3.0.5, and the official repositories should update as new versions are released.
Fernando Correia 12 лет назад
Родитель
Сommit
cdd04882db
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      installer.py

+ 6 - 6
installer.py

@@ -35,6 +35,12 @@ class Installer:
     self.__run_command("cp ../config/benchmark_profile ../../.bash_profile")
     self.__run_command("sudo sh -c \"echo '*               -    nofile          16384' >> /etc/security/limits.conf\"")
 
+    #
+    # Maven
+    #
+    self.__run_command("sudo apt-get install maven -qq")
+    self.__run_command("mvn -version")
+
     #######################################
     # Languages
     #######################################
@@ -275,12 +281,6 @@ class Installer:
     #
     ##############################################################
 
-    ##############################
-    # Maven
-    ##############################
-    # self.__run_command("sudo apt-get install maven2", send_yes=True)
-    self.__run_command("curl www.us.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz | tar xvz")
-
     ##############################
     # Leiningen
     ##############################