Skip to content
Snippets Groups Projects
Commit 647ef2d7 authored by Pr0methean's avatar Pr0methean
Browse files

Hard-code $latest

Xpath no longer works.
parent 84430939
No related branches found
No related tags found
No related merge requests found
#!/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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment