Hard-code $latest
Xpath no longer works.
#!/usr/bin/env bash
-# get latest version of codacy reporter from sonatype
-latest=$(curl "https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/maven-metadata.xml" | xpath -e "/metadata/versioning/release/text()")
-
+latest="4.0.1"
echo Downloading latest version $latest of codacy reporter from sonatype
# download laterst assembly jar
mvn dependency:get dependency:copy \
