Fix for error detection that should cause Maven to fail