You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by rm...@apache.org on 2015/10/20 18:38:55 UTC

[2/4] incubator-trafodion git commit: Fixing maven version installed in TOOLSDIR.

Fixing maven version installed in TOOLSDIR.

Addressing comment by Roberta.
https://github.com/apache/incubator-trafodion/pull/134#discussion_r42432212


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/8dca6cda
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/8dca6cda
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/8dca6cda

Branch: refs/heads/master
Commit: 8dca6cdacfd1db92ae91ca3760fad88983492547
Parents: db970e1
Author: Hans Zeller <ha...@esgyn.com>
Authored: Mon Oct 19 23:19:39 2015 +0000
Committer: Hans Zeller <ha...@esgyn.com>
Committed: Mon Oct 19 23:19:39 2015 +0000

----------------------------------------------------------------------
 install/traf_tools_setup.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/8dca6cda/install/traf_tools_setup.sh
----------------------------------------------------------------------
diff --git a/install/traf_tools_setup.sh b/install/traf_tools_setup.sh
index a1a0e2e..a812865 100755
--- a/install/traf_tools_setup.sh
+++ b/install/traf_tools_setup.sh
@@ -263,11 +263,11 @@ fi
 
 # install maven, if not available already
 MAVEN_VERSION=`mvn --version 2>/dev/null | grep 'Apache Maven' | cut -f 3 -d ' '`
-if [[ "$MAVEN_VERSION" != "3.0.5" ]]; then
+if [[ ! "$MAVEN_VERSION" =~ "3." ]]; then
   # install maven
   cd $BASEDIR
-  wget http://archive.apache.org/dist/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz
+  wget http://archive.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
   cd $TOOLSDIR
   # there is no install, simply extract the files into $TOOLSDIR
-  tar -xzf $BASEDIR/apache-maven-3.0.5-bin.tar.gz
+  tar -xzf $BASEDIR/apache-maven-3.3.3-bin.tar.gz
 fi