Thank you. This is a change, at least from what I have been doing.
Before I would run the generate command. Then cd into my directory and do, 'mvn jetty:run' I didn't have to do 'mvn install', but now I know. Thank you very much. On Mon, Dec 7, 2009 at 10:34 AM, Indrajit Raychaudhuri <indraj...@gmail.com>wrote: > James, > > 1. For the kind of application you have in mind you can use either > mapper or jpa. So either lift-archetype-basic or > lift-archetype-jpa-basic would do. > > 2. You have indeed used the right command and have created the project > successfully. Next up: > > (a) You should see the ResumeApp directory containing your project. Move > to that directory and execute "mvn install". This should compile package > and install the application (including the two packages spa and web that > resides inside). > > (b) Once done, move to the sub-directory web and execute "mvn jetty:run". > > (c) Finally, visit the url http://localhost:9090/ and profit! > > Cheers, Indrajit > > On 07/12/09 8:45 PM, James Black wrote: > > For some reason I am having an error while trying to create my project. > > It appears I need a JPA project, as this project will have many tables > > involved, but I get the same error when I try: > > lift-archetype-jpa-basic > > -blank > > -basic > > -blank > > > > I have also tried -Dversion=1.1-SNAPSHOT, but that also didn't work. > > > > If it matters here is the result for > > mvn -v > > Apache Maven 2.2.0 (r788681; 2009-06-26 09:04:01-0400) > > Java version: 1.6.0_16 > > Java home: C:\Program Files\Java\jdk1.6.0_16\jre > > Default locale: en_US, platform encoding: Cp1252 > > OS name: "windows vista" version: "6.0" arch: "amd64" Family: "windows" > > > > mvn archetype:generate -U -B > > -DarchetypeRepository=http://scala-tools.org/repo-snapshots > > -DremoteRepositories=http://scala-tools.org/repo-snapshots > > -DarchetypeGroupId=net.liftweb > > -DarchetypeArtifactId=lift-archetype-jpa-basic > > -DarchetypeVersion=1.1-SNAPSHOT -DgroupId=jblack.resumeapp.lift > > -DartifactId=ResumeApp -Dversion=1.0-SNAPSHOT > > > > [INFO] Scanning for projects... > > [INFO] Searching repository for plugin with prefix: 'archetype'. > > [INFO] org.apache.maven.plugins: checking for updates from central > > [INFO] org.codehaus.mojo: checking for updates from central > > [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: > > checking for updates from central > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Building Maven Default Project > > [INFO] task-segment: [archetype:generate] (aggregator-style) > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Preparing archetype:generate > > [INFO] No goals needed for project - skipping > > [INFO] Setting property: classpath.resource.loader.class => > > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. > > [INFO] Setting property: velocimacro.messages.on => 'false'. > > [INFO] Setting property: resource.loader => 'classpath'. > > [INFO] Setting property: resource.manager.logwhenfound => 'false'. > > [INFO] [archetype:generate {execution: default-cli}] > > [INFO] Generating project in Batch mode > > [INFO] Archetype defined by properties > > [INFO] snapshot net.liftweb:lift-archetype-jpa-basic:1.1-SNAPSHOT: > > checking for updates from lift-archetype-jpa-basic-repo > > Downloading: > > > http://scala-tools.org/repo-snapshots/net/liftweb/lift-archetype-jpa-basic/1.1-SNAPSHOT/lift-archetype-jpa-basic-1.1-SNAPSHOT.jar > > [WARNING] PT Don't override file > C:\Users\owner\workspace\ResumeApp\pom.xml > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD SUCCESSFUL > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 9 seconds > > [INFO] Finished at: Mon Dec 07 10:07:13 EST 2009 > > [INFO] Final Memory: 15M/106M > > [INFO] > > ------------------------------------------------------------------------ > > > > -- > > > > You received this message because you are subscribed to the Google > > Groups "Lift" group. > > To post to this group, send email to lift...@googlegroups.com. > > To unsubscribe from this group, send email to > > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > > http://groups.google.com/group/liftweb?hl=en. > > -- > > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.