Hi, I am very new with appfuse and maven. I followed the 'AppFuse QuickStart', and installed an appfuse basic, like this:
mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring-archetype -DarchetypeVersion=3.5.0 -DgroupId=es.upm.eui -DartifactId=pfg -DarchetypeRepository=https://oss.sonatype.org/content/repositories/appfuse
Everything was right until I needed to run the 'mvn test-compile hibernate3:hbm2ddl' instruction to generate a new table.
I haven't changed the original pom.xml (except to configure the data base), and with 'mvn test-compile hibernate3:hbm2ddl', y get this error:
"Failed to execute goal org.codehaus.mojo:hibernate3-maven-plugin:3.0:hbm2ddl (default-cli) on project pfg: There was an error creating the AntRun task. NullPointerException -> [Help 1]"
, and with 'mvn test-compile hibernate4:hbm2ddl', y get this other error:
"Could not find goal 'hbm2ddl' in plugin de.juplo:hibernate4-maven-plugin:1.0.5 among available goals export, help -> [Help 1]"
I attach the pom.xml
Any help? I don't know what is missing.
Thank you very much.