I am working on enhancing the versions-maven-plugin. I want to tentatively modify the pom.xml files for a project, then look at the version conflicts of the modified pom.xml to decide what modifications should be kept. I have found MavenXpp3Reader.read(String) that returns a Model but it is very raw. I not only need the version properties to be resolved, but I also need transitive dependencies, or even better, the version conflicts. Can anyone provide some help? I remember hearing about aether and found out that it was renamed to maven-resolver-provider, but I'm not sure that I should be using that in a plugin, or even if I should, I don't know how to use it. Can anyone help?
FWIW, the exact issue I'm working on is https://github.com/mojohaus/versions-maven-plugin/issues/270