Skip to content

Commit

Permalink
eclipse-rdf4jGH-5064: fix docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Bart Hanssens <bart.hanssens@bosa.fgov.be>
  • Loading branch information
barthanssens committed Jul 26, 2024
1 parent 11a463c commit 3fd0a14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ set -e
CURRENT=$(pwd)
cd ..
PROJECT_ROOT=$(pwd)
MVN_VERSION=$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)

cd "$CURRENT"

if [ -z ${SKIP_BUILD+x} ]; then
Expand All @@ -17,8 +19,6 @@ if [ -z ${SKIP_BUILD+x} ]; then
# remove assembly/target since this is not removed by mvn clean
rm -rf assembly/target/

MVN_VERSION=$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)

#Clean, format and package
echo "Building with Maven"
mvn clean
Expand Down

0 comments on commit 3fd0a14

Please sign in to comment.