stop on error, kill Xcfb only if exists
better setting of java/maven