Fix pom configuration to avoid warnings.