Modernize pom.xml configuration.