Fixed Xvfb setup in the Travis configuration file, it was appereantly correct after all all the time.
Specified the resource directory in the Maven configuration file.