fixed deprecation warnings in pom