Export -Djava.awt.headless=true in MAVEN_OPTS