I figured out the answer.
Here is the summary of my findings:
- the
mvn hibernate3:hbm2ddl
command should be run from thesimple-webapp
orsimple-command
folder. (The specification for the plugin should be present in the POM for that module.) - increasing the
hibernate3-maven-plugin
version to 3.0 will reintroduce the problem, I believe I read some posts that the configuration format had been changed, but I didn't look further into it. - the
mvn hibernate3:hbm2ddl
will report the error shown below if JAVA_HOME is set to JDK1.7 instead of 1.6 (Found solution to this here)
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:2.1:hbm2ddl (default-cli) on project simple-command: Could not get ConfigurationTask.