Improved dependency management in pom.xml.