diff --git a/grouper-midpoint/download-midpoint b/grouper-midpoint/download-midpoint index a9e3afa..2ac36c8 100755 --- a/grouper-midpoint/download-midpoint +++ b/grouper-midpoint/download-midpoint @@ -1,14 +1,8 @@ #!/bin/bash -# There's something wrong with Evolveum nexus, so we have to manually resolve 3.9-SNAPSHOT - -echo "Determining midPoint 3.9-SNAPSHOT version" -echo "-----------------------------------------" -v=`curl "http://nexus.evolveum.com/nexus/content/repositories/snapshots/com/evolveum/midpoint/dist/3.9-SNAPSHOT/maven-metadata.xml" | sed -n 's:.*\(.*\).*:\1:p' | sed -n '1 p'` -echo "-----------------------------------------" -echo "Current midPoint 3.9-SNAPSHOT version is $v; starting the download" +echo "Downloading midPoint 3.9-SNAPSHOT" echo "-----------------------------------------" -curl --output mp-gr/midpoint-server/midpoint-3.9-SNAPSHOT-dist.tar.gz http://nexus.evolveum.com/nexus/service/local/repositories/snapshots/content/com/evolveum/midpoint/dist/3.9-SNAPSHOT/dist-$v-dist.tar.gz +curl --output mp-gr/midpoint-server/midpoint-3.9-SNAPSHOT-dist.tar.gz "https://nexus.evolveum.com/nexus/service/local/artifact/maven/content?r=snapshots&g=com.evolveum.midpoint&a=dist&v=LATEST&c=dist&p=tar.gz" echo "-----------------------------------------" echo "Checking the download..." if tar -tf mp-gr/midpoint-server/midpoint-3.9-SNAPSHOT-dist.tar.gz >/dev/null; then