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