I need to be able to call mvn clean install and have maven call hibernate3:hbm2hbmxml to generate the mapping files from a database and after than call hbm2java to get the J
Working Example for hibernate3-maven-plugin version 3.0 & hbm2java
hbm2java org.codehaus.mojo hibernate3-maven-plugin 3.0 hbm2java compile org.hibernate hibernate-core 3.3.2.GA cglib cglib-nodep 2.1_3 com.oracle.jdbc ojdbc6 ${ojdbc6.version}