Fix Maven warnings.