You are indeed right, my PDF was outdated. I have to admit though I have no clue how that happened, I downloaded it today. Anyway, I ran the following command:
mvn archetype:generate -U \ -DarchetypeGroupId:net.liftweb \ -DarchetypeArtifactId=lift-archetype-blank \ -DarchetypeVersion=1.0 \ -DremoteRepositories=http://scala-tools.org/repo-releases \ -DgroupId=demo.helloworld \ -DartifactId=helloworld \ -Dversion=1.0-SNAPSHOT Now I get this error: The desired archetype does not exist (org.apache.maven.archetypes:lift- archetype-blank:1.0) Before I run the error I again deleted the .m2. Thanks for the help, got us a little closer to the solution. Is there something else I can try to get this to work? Erik P.S. If I ever get to see the "BUILD SUCCESSFUL" I will pop me a cold one and celebrate... On Mar 13, 4:09 am, TylerWeir <[email protected]> wrote: > Grab the PDF again, looks like you have the slightly older one with a > version typo. Run this badboy: > > mvn archetype:generate -U \ > -DarchetypeGroupId=net.liftweb \ > -DarchetypeArtifactId=lift-archetype-blank \ > -DarchetypeVersion=1.0 \ > -DremoteRepositories=http://scala-tools.org/repo-releases\ > -DgroupId=demo.helloworld \ > -DartifactId=helloworld \ > -Dversion=1.0-SNAPSHOT > > Ty > > On Mar 12, 1:00 pm, "[email protected]" > > <[email protected]> wrote: > > Hi again, > > > I figured this one out. During some fixing I unwittingly overwrote > > my .bash_profile, reverting maven to the 2.0.6 version. I am running > > Leopard. I don't get this error anymore....you guessed it, I get > > another. Now I get this: > > > The desired archetype does not exist (org.apache.maven.archetypes:lift- > > archetype-blank:0.10) > > > I can post the stacktrace if it is of help, I exclude it for now so > > this post remains somewhat readable. I am so desperately trying to get > > this working to play around with the framework, but so far this has > > been very depressing. I would greatly appreciate any hints or tips > > what might be going wrong. > > > mvn --version prints out this: > > Maven version: 2.0.10 > > Java version: 1.5.0_16 > > OS name: "mac os x" version: "10.5.6" arch: "i386" Family: "unix" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
