- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="generate-xml",
defaultPhase=TEST_COMPILE,
threadSafe=true)
public class CleanXmlGeneratorMojo
extends org.apache.maven.plugin.AbstractMojo
this is going to generate awesome fixed xml at some point =)
I expect a set of files to be generated. In one file I expect common dependency management section with all fixes,
in the others - dependency sections for modules.
- sorted,
- cleaned of version differences,
- with all unused stuff removed and used stuff added
- versions in dependency management
- exclusions in dependency management
- scopes in dependencies
(- latest platform poms import if more than one dependency)?
- checkNoDependenciesDefinedInPomProjects
The fixes should be optional / managed by mojo configuration
(at least unused_declared and used_undeclared)
At the moment however it only sorts what's there already, so you'll need to clean up your pom.xml first and then
generate the sorted pieces