Use xvfb-run for fatjar build (needed to run eclipse-bit's tests)

This commit is contained in:
Kris De Volder
2019-05-01 11:49:33 -07:00
parent 9b6c076561
commit c4b59da440

View File

@@ -15,7 +15,7 @@ else
fi
cd ${sources}
./mvnw clean install -DargLine="-Dlsp.completions.indentation.enable=true -Dlsp.yaml.completions.errors.disable=true"
xvfb-run ./mvnw clean install -DargLine="-Dlsp.completions.indentation.enable=true -Dlsp.yaml.completions.errors.disable=true"
# Copy fatjars to `out` directory
timestamp=`date -u +%Y%m%d%H%M`
@@ -28,4 +28,5 @@ ls -la $output
# Copy installed artefacts from local maven cache to `maven-out`
mkdir -p ${maven_out}/org/springframework
cp -R ~/.m2/repository/org/springframework/ide ${maven_out}/org/springframework
cp -R ~/.m2/repository/org/springframework/ide ${maven_out}/org/springframework
tar cvf -C ${HOME}