Skip to content

Missing runtime dependencies in Java 9+ #162

@swismer

Description

@swismer

The following additional JAXB dependencies are required to run e.g. Input.fromJaxb(...) in Java 9+:

  • jaxb-core
  • jaxb-impl
  • activation

In xmlunit-core/pom.xml, these are already listed, but are only available for the xmlunit internal tests.
External Maven projects adding a dependency on xmlunit therefore miss these libraries, because test scoped dependencies are not transitive. I would appreciate, if

  • they could be either declared as runtime scoped dependencies (for Java 9+)
  • or marked as optional, including some documentation that the JAXB features require adding these additional dependencies manually

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions