New feature, improvement proposal
Currently archetype-common uses jdom2 in the MavenJDOMWriter and associated utility classes, AFAICT mainly write a pom in DefaultPomManager.writePom().
In order to reduce the dependency footprint, would it be possible to migrate off jdom2 and use the DOM-parser/builder built into the JDK instead? Or are there particular reasons to use jdom(2) instead?
If you consider MavenJDOMWriter or the associated utility classes as part of the API, for now, it could just be deprecated and a colocated MavenDOMWriter could be added, which is used by archetype and the dependency to jdom2 could be made optional.
New feature, improvement proposal
Currently archetype-common uses
jdom2in theMavenJDOMWriterand associated utility classes, AFAICT mainly write a pom inDefaultPomManager.writePom().In order to reduce the dependency footprint, would it be possible to migrate off jdom2 and use the DOM-parser/builder built into the JDK instead? Or are there particular reasons to use jdom(2) instead?
If you consider
MavenJDOMWriteror the associated utility classes as part of the API, for now, it could just be deprecated and a colocatedMavenDOMWritercould be added, which is used by archetype and the dependency to jdom2 could be made optional.