Make dom4j and jaxb-api optional if hibernate.xml_mapping_enabled=false

Description

Currently dependency dom4j and jaxb-api is required even if xml mapping disabled.

Environment

None

Activity

Show:
Andrei Ivanov
January 28, 2021, 4:59 AM

Is it weird that jaxb-runtime is still marked as a dependency even though jaxb-api is gone?

周雁鸣
January 28, 2021, 11:48 AM

I think it’s designed by maven, not related to hibernate.

Andrei Ivanov
January 28, 2021, 5:54 PM

Not sure I understand, I see it as a direct compiledependency of hibernate-core, it’s not marked as optional

Fixed

Assignee

周雁鸣

Reporter

周雁鸣

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major