Repository and other pom magic kindly updated by Carsten Lichy-Bittendorf