Fix poms generating warnings.