diff --git a/tools/travis/before_install.sh b/tools/travis/before_install.sh index 770be61a641..b4a4bc410a4 100755 --- a/tools/travis/before_install.sh +++ b/tools/travis/before_install.sh @@ -102,6 +102,7 @@ done cd tools/travis ./downloadDeps.sh 2> /dev/null echo -e "\nDownloading Project dependencies" +echo -e "$(cat pom.xml |wc -l) lines in dummy pom.xml" for ((i=0;i<$RETRY_COUNT;i++)) do diff --git a/tools/travis/downloadDeps.sh b/tools/travis/downloadDeps.sh index 29248e0c8b9..acf13dca2a4 100755 --- a/tools/travis/downloadDeps.sh +++ b/tools/travis/downloadDeps.sh @@ -2,7 +2,7 @@ echo '4.0.0org.apache.cloudstacktravis-build-depsDownload Deps for Travis CI1' > pom.xml #Get all dependency blocks -for line in $(find . -name pom.xml -exec sed -n '//{:a;n;/<\/dependencies>/b;p;ba}' {} \; | grep -e "artifactId" -e "groupId" -e "version" -e "dependency\>" -e "exclusion\>" -e "exclusions\>"); do +for line in $(find ../../ -name pom.xml -exec sed -n '//{:a;n;/<\/dependencies>/b;p;ba}' {} \; | grep -e "artifactId" -e "groupId" -e "version" -e "dependency\>" -e "exclusion\>" -e "exclusions\>"); do #Tokenize values set -- $(echo $line | awk -v FS="(>|<)" '{print $2, $3}')