blob: 4a30818e423160d65a3e1479513c3d974fee180b [file] [log] [blame]
#!/bin/bash
# stop execution if any command fails (i.e. exits with status code > 0)
set -e
# trace commands
set -x
# Temporary workaround with Surefire on Debian with Java 8 and limit memory usage
# https://issues.apache.org/jira/browse/SUREFIRE-1588
# https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class
export MAVEN_OPTS="-Xmx1024m"
export _JAVA_OPTIONS="-Djdk.net.URLClassPath.disableClassPathURLCheck=true -Xmx1024m"
mvn -V -f pom-first.xml clean install
mvn -V clean install -Denable-ui-tests