In the Ant task of the Hibernate Tool hbmtemplate, it is possible to use *.hbm.xml files as input instead of reading table descriptions over JDBC.
Is there a way to do the same in the hbmtemplate goal of the Hibernate3 Maven plugin from codehaus?
In Ant, I can do this by adding a fileset to the configuration:
<configuration configurationfile="hibernate.cfg.xml">
<fileset dir="generated/xml">
<include name="*.hbm.xml"/>
</fileset>
</configuration>
<hbmtemplate templateprefix="pojo/" template="Pojo.ftl" />