You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2015/06/21 15:14:07 UTC

[11/24] git commit: updated refs/heads/master to 6fd49e4

Fix phase2 deps download for maven 3.2.5 This version didn't like missing <version> tag on artifacts

Signed-off-by: Daan Hoogland <da...@onecht.net>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9a50e0f0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9a50e0f0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9a50e0f0

Branch: refs/heads/master
Commit: 9a50e0f03e14fdd2f3497eeb4a81c44263ed522c
Parents: 7838bfc
Author: Rafael da Fonseca <rs...@gmail.com>
Authored: Fri Jun 19 00:20:54 2015 +0200
Committer: Daan Hoogland <da...@onecht.net>
Committed: Sun Jun 21 15:13:25 2015 +0200

----------------------------------------------------------------------
 tools/travis/downloadDeps.sh | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9a50e0f0/tools/travis/downloadDeps.sh
----------------------------------------------------------------------
diff --git a/tools/travis/downloadDeps.sh b/tools/travis/downloadDeps.sh
index acf13dc..0edd27a 100755
--- a/tools/travis/downloadDeps.sh
+++ b/tools/travis/downloadDeps.sh
@@ -13,6 +13,10 @@ for line in $(find ../../ -name pom.xml -exec sed -n '/<dependencies>/{:a;n;/<\/
     #Create new artifact dep
     ARTIFACT=$line
   elif [ $1 == "/dependency" ]; then
+    #Check if version is empty to fix maven 3.2.5 run
+    if [[ $ARTIFACT != *version* ]]; then
+      ARTIFACT="$ARTIFACT<version>LATEST</version>"
+    fi
     #Filter out project modules interdependencies and noredist artifacts
     if [[ $ARTIFACT != *org.apache.cloudstack* ]] && [[ $ARTIFACT != *com.cloud* ]] && [[ $ARTIFACT != *org.midonet* ]] && [[ $ARTIFACT != *net.juniper* ]] ; then
 	echo $ARTIFACT$line >> pom.xml