Converting hbm.xml to orm.xml

I have a relatively large hbm.xml file that I want to convert to orm.xml since hbm.xml will be deprecated in the near future. Any advise?

Use the output of the hbm.xml transformer as basis and fill in the gaps. There is also a gradle task (org.hibernate.orm.tooling.gradle.misc.TransformHbmXmlTask) that you can use to invoke the transformer: Gradle - Plugin: org.hibernate.orm

I should specify that I am using Maven and not Gradle.

Then use the hibernate-core built-in auto transformation to obtain the orm.xml.

Hello, where can I get the output from the HBM XML transformer?

See the README on the GitHub repository.

Hello,
As per me to convert your large hbm.xml file to orm.xml, start by mapping your Hibernate-specific tags to their JPA equivalents and ensure all entity mappings are correctly annotated. Validate the conversion by thoroughly testing your application.