modify pom files to manage dependencies