diff --git a/conf/uno.conf b/conf/uno.conf index ed67a87..f12e029 100644 --- a/conf/uno.conf +++ b/conf/uno.conf @@ -50,7 +50,7 @@ fi # in your workspace and don't want the detected version to change. if [[ -n "$ACCUMULO_REPO" ]]; then # Detect the version from the accumulo pom.xml in the workspace - ACCUMULO_VERSION=$(xmllint --shell "$ACCUMULO_REPO"/pom.xml <<<'xpath /*[local-name()="project"]/*[local-name()="version"]/text()' | grep content= | cut -f2 -d=) + ACCUMULO_VERSION=$(mvn -f "$ACCUMULO_REPO/pom.xml" help:evaluate -Dexpression=project.version -q -DforceStdout) export ACCUMULO_VERSION export ACCUMULO_TARBALL=accumulo-$ACCUMULO_VERSION-bin.tar.gz fi