Fix for compilation error with Maven 3.1