WL-2864 Make build work with maven 3.