Alright, here is what i did, and the results. 1) deleted everything from my ~/.m2/repository 2) ran the command exactly like you 3) Receive many "warnings" regarding archetype-resources/core/pom.xml 4) cd modular-struts 5) mvn install -N 6) "BUILD SUCCESSFUL" 7) edit pom.xml > change MySQL Root password to XXXXXXX 8) cd core 7) mvn install 9) "Error executing database operation: CLEAN_INSTALL" 9) "error creating user_role" 10) mvn hibernate3:hbm2ddl 11) "BUILD SUCCESSFUL" 12) mvn install 13) "BUILD SUCCESSFUL" 14) cd ../web/ 15) mvn jetty:run-war 16) "BUILD ERROR" 16) "Error building POM" 16) "Project ID: org.codehaus.cargo:cargo-maven2-plugin" 16) "Reason: Error getting POM for 'org.codehaus.cargo:cargo-maven2-plugin'"
Config: (Windows XP) c:\tools\maven (version 2.0.4) c:\tools\junit4.1 c:\SDKs\jdk1.6.0\ c:\program files\mysql\ (version) On 1/20/07, jarmstrong <[EMAIL PROTECTED]> wrote: > > Matt, > > Yes, I am using the modular archetype. I i did 'cd core' then 'mvn > hibernate3:hbm2ddl' and it errored with the following: 'The dialect was > not > set. Set the property hibernate.dialect' In the /project/core/pom.xml > there > is not a hibernate.dialect but it is defined in /project/pom.xml file. Is > it > not inheriting this declaration/do I have to move it? You may have to run "mvn install -N" from the top-level directory first? You should be able to 1) create the archetype and 2) run "mvn" from the top-level directory. It'll run all the unit tests (and integration tests in Tomcat). I just tried it with the following command from the QuickStart Guide and it seems to work. mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-modular-struts -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=1.0-m2 -DgroupId=com.mycompany -DartifactId=modular-struts [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] AppFuse Modular Application ........................... SUCCESS [11.962s][INFO] AppFuse Modular Application - Core .................... SUCCESS [13.936s][INFO] AppFuse Modular Application - Web (Struts 2) .......... SUCCESS [1:21.857s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 48 seconds [INFO] Finished at: Sat Jan 20 13:27:36 MST 2007 [INFO] Final Memory: 47M/508M [INFO] ------------------------------------------------------------------------ alotta:~/modular-struts mraible$ Matt > -- View this message in context: http://www.nabble.com/Problem-creating-Basic-struts2-tf3038417s2369.html#a8469175 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
