diff --git a/tools/travis/downloadDeps.sh b/tools/travis/downloadDeps.sh index acf13dca2a4..0edd27abc93 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 '//{: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="$ARTIFACTLATEST" + 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