Skip to content

Migrate off jdom2 and use the DOM parser/builder built into the JDK instead #277

@HannesWell

Description

@HannesWell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions