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
Add Hibernate 2 plugin in your pom:
org.codehaus.mojo
hibernate3-maven-plugin
2.2
generate-mapping-files
compile
hbm2hbmxml
hbm2cfgxml
hbm2java
...
Then in model Reveng put this.
Then just build your project in maven using clean install
and the model classes will be generated automatically from the database.