mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix phase2 deps download for maven 3.2.5 This version didn't like missing <version> tag on artifacts
Signed-off-by: Daan Hoogland <daan@onecht.net>
This commit is contained in:
parent
7838bfcc70
commit
9a50e0f03e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user