[Lift] Re: Required goal not found: archetype:generate
Hi David, thanks for the kind words. I am really glad I received so much help and got it to work eventually. I will work through the "Getting Started" now and see where it leads me ;) Again, thanks for the very good support. Erik On Mar 13, 10:04 pm, David Pollak wrote: > On Fri, Mar 13, 2009 at 10:52 AM, erik.fris...@googlemail.com < > > erik.fris...@googlemail.com> wrote: > > > No, its not a typo in the PDF. I just got it mixed up when typing the > > query. > > Just as a point of order, I'm glad that you stuck with the thread and didn't > get too frustrated. I'm glad we could help get you to success. Thanks for > sticking with Lift and I hope to see a Lift app that you build and I hope > that you can lend a hand to the next person that's flumoxed by the Maven > command line, whether it's a Maven challenge, a Lift documentation > challenge, or a typing challenge. > > Thanks, > > David > > > > > > > Erik > > > On Mar 13, 1:50 pm, Derek Chen-Becker wrote: > > > Is that a typo in the PDF? If so, I'll fix it. > > > > Derek > > > > On Thu, Mar 12, 2009 at 2:36 PM, Alexander Kellett > >wrote: > > > > > Few hours of playing with maven (multiple versions) and getting > > > > increasingly annoyed by it... and I suddenly revisited this part of > > > > the command: > > > > -DarchetypeGroupId:net.liftweb > > > > ":" should be "="! > > > > > Works just fine after that change :) > > > > Alex > > > > > On Thu, Mar 12, 2009 at 6:34 PM, TylerWeir > > wrote: > > > > > > o, k. Since I'm getting the same error and I'm unsure why, try > > > > > this on: > > > > > > mvn -e archetype:generate > > > > > > then you'll get a list mvn can make for you. lift-blank is # 32. > > > > > > You then fill bits and pieces yourself like this: > > > > > > Choose a number: > > > (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42) > > > > > 16: : 32 > > > > > [INFO] artifact net.liftweb:lift-archetype-blank: checking for > > updates > > > > > from lift-archetype-blank-repo > > > > > Define value for groupId: : ca.tylerweir > > > > > Define value for artifactId: : HelloWorld > > > > > Define value for version: 1.0-SNAPSHOT: : > > > > > Define value for package: ca.tylerweir: : > > > > > > Give that a shot. > > > > > > On Mar 12, 1:20 pm, "erik.fris...@googlemail.com" > > > > > wrote: > > > > >> 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 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, "erik.fris...@googlemail.com" > > > > > >> > 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 anymoreyou 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: > > > > >> >
[Lift] Re: Required goal not found: archetype:generate
On Fri, Mar 13, 2009 at 10:52 AM, erik.fris...@googlemail.com < erik.fris...@googlemail.com> wrote: > > No, its not a typo in the PDF. I just got it mixed up when typing the > query. > Just as a point of order, I'm glad that you stuck with the thread and didn't get too frustrated. I'm glad we could help get you to success. Thanks for sticking with Lift and I hope to see a Lift app that you build and I hope that you can lend a hand to the next person that's flumoxed by the Maven command line, whether it's a Maven challenge, a Lift documentation challenge, or a typing challenge. Thanks, David > > Erik > > On Mar 13, 1:50 pm, Derek Chen-Becker wrote: > > Is that a typo in the PDF? If so, I'll fix it. > > > > Derek > > > > On Thu, Mar 12, 2009 at 2:36 PM, Alexander Kellett >wrote: > > > > > > > > > Few hours of playing with maven (multiple versions) and getting > > > increasingly annoyed by it... and I suddenly revisited this part of > > > the command: > > > -DarchetypeGroupId:net.liftweb > > > ":" should be "="! > > > > > Works just fine after that change :) > > > Alex > > > > > On Thu, Mar 12, 2009 at 6:34 PM, TylerWeir > wrote: > > > > > > o, k. Since I'm getting the same error and I'm unsure why, try > > > > this on: > > > > > > mvn -e archetype:generate > > > > > > then you'll get a list mvn can make for you. lift-blank is # 32. > > > > > > You then fill bits and pieces yourself like this: > > > > > > Choose a number: > > > > > > (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42) > > > > 16: : 32 > > > > [INFO] artifact net.liftweb:lift-archetype-blank: checking for > updates > > > > from lift-archetype-blank-repo > > > > Define value for groupId: : ca.tylerweir > > > > Define value for artifactId: : HelloWorld > > > > Define value for version: 1.0-SNAPSHOT: : > > > > Define value for package: ca.tylerweir: : > > > > > > Give that a shot. > > > > > > On Mar 12, 1:20 pm, "erik.fris...@googlemail.com" > > > > wrote: > > > >> 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 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, "erik.fris...@googlemail.com" > > > > > >> > 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 anymoreyou 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" > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~-~--~~~---~--~~ You received this message
[Lift] Re: Required goal not found: archetype:generate
No, its not a typo in the PDF. I just got it mixed up when typing the query. Erik On Mar 13, 1:50 pm, Derek Chen-Becker wrote: > Is that a typo in the PDF? If so, I'll fix it. > > Derek > > On Thu, Mar 12, 2009 at 2:36 PM, Alexander Kellett wrote: > > > > > Few hours of playing with maven (multiple versions) and getting > > increasingly annoyed by it... and I suddenly revisited this part of > > the command: > > -DarchetypeGroupId:net.liftweb > > ":" should be "="! > > > Works just fine after that change :) > > Alex > > > On Thu, Mar 12, 2009 at 6:34 PM, TylerWeir wrote: > > > > o, k. Since I'm getting the same error and I'm unsure why, try > > > this on: > > > > mvn -e archetype:generate > > > > then you'll get a list mvn can make for you. lift-blank is # 32. > > > > You then fill bits and pieces yourself like this: > > > > Choose a number: > > > (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42) > > > 16: : 32 > > > [INFO] artifact net.liftweb:lift-archetype-blank: checking for updates > > > from lift-archetype-blank-repo > > > Define value for groupId: : ca.tylerweir > > > Define value for artifactId: : HelloWorld > > > Define value for version: 1.0-SNAPSHOT: : > > > Define value for package: ca.tylerweir: : > > > > Give that a shot. > > > > On Mar 12, 1:20 pm, "erik.fris...@googlemail.com" > > > wrote: > > >> 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 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, "erik.fris...@googlemail.com" > > > >> > 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
Is that a typo in the PDF? If so, I'll fix it. Derek On Thu, Mar 12, 2009 at 2:36 PM, Alexander Kellett wrote: > > Few hours of playing with maven (multiple versions) and getting > increasingly annoyed by it... and I suddenly revisited this part of > the command: > -DarchetypeGroupId:net.liftweb > ":" should be "="! > > Works just fine after that change :) > Alex > > On Thu, Mar 12, 2009 at 6:34 PM, TylerWeir wrote: > > > > o, k. Since I'm getting the same error and I'm unsure why, try > > this on: > > > > mvn -e archetype:generate > > > > then you'll get a list mvn can make for you. lift-blank is # 32. > > > > You then fill bits and pieces yourself like this: > > > > Choose a number: > > > (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42) > > 16: : 32 > > [INFO] artifact net.liftweb:lift-archetype-blank: checking for updates > > from lift-archetype-blank-repo > > Define value for groupId: : ca.tylerweir > > Define value for artifactId: : HelloWorld > > Define value for version: 1.0-SNAPSHOT: : > > Define value for package: ca.tylerweir: : > > > > Give that a shot. > > > > On Mar 12, 1:20 pm, "erik.fris...@googlemail.com" > > wrote: > >> 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 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, "erik.fris...@googlemail.com" > >> > >> > 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
Few hours of playing with maven (multiple versions) and getting increasingly annoyed by it... and I suddenly revisited this part of the command: -DarchetypeGroupId:net.liftweb ":" should be "="! Works just fine after that change :) Alex On Thu, Mar 12, 2009 at 6:34 PM, TylerWeir wrote: > > o, k. Since I'm getting the same error and I'm unsure why, try > this on: > > mvn -e archetype:generate > > then you'll get a list mvn can make for you. lift-blank is # 32. > > You then fill bits and pieces yourself like this: > > Choose a number: > (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42) > 16: : 32 > [INFO] artifact net.liftweb:lift-archetype-blank: checking for updates > from lift-archetype-blank-repo > Define value for groupId: : ca.tylerweir > Define value for artifactId: : HelloWorld > Define value for version: 1.0-SNAPSHOT: : > Define value for package: ca.tylerweir: : > > Give that a shot. > > On Mar 12, 1:20 pm, "erik.fris...@googlemail.com" > wrote: >> 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 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, "erik.fris...@googlemail.com" >> >> > 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
Tyler, first beer is on you. It worked. This is what I entered: INFO] artifact net.liftweb:lift-archetype-blank: checking for updates from lift-archetype-blank-repo Define value for groupId: : net.liftweb Define value for artifactId: : HelloWorld Define value for version: 1.0-SNAPSHOT: : Define value for package: net.liftweb: : Admittetly I have heard of maven for the first time today, so I have actually no idea if what I just did is sufficient. For now it seems to work, and I will set forth to work my way through the "Getting Started" and see it I get any errors. But just for my own information, what if I wanted to start a project of my own, would this also be that way to go? Thanks, and cheers! Erik On Mar 13, 4:34 am, TylerWeir wrote: > o, k. Since I'm getting the same error and I'm unsure why, try > this on: > > mvn -e archetype:generate > > then you'll get a list mvn can make for you. lift-blank is # 32. > > You then fill bits and pieces yourself like this: > > Choose a number: > (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42) > 16: : 32 > [INFO] artifact net.liftweb:lift-archetype-blank: checking for updates > from lift-archetype-blank-repo > Define value for groupId: : ca.tylerweir > Define value for artifactId: : HelloWorld > Define value for version: 1.0-SNAPSHOT: : > Define value for package: ca.tylerweir: : > > Give that a shot. > > On Mar 12, 1:20 pm, "erik.fris...@googlemail.com" > > wrote: > > 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 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, "erik.fris...@googlemail.com" > > > > 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
Erik, I have sent you some mail. And I used the internet. Tyler On Mar 12, 1:34 pm, TylerWeir wrote: > o, k. Since I'm getting the same error and I'm unsure why, try > this on: > > mvn -e archetype:generate > > then you'll get a list mvn can make for you. lift-blank is # 32. > > You then fill bits and pieces yourself like this: > > Choose a number: > (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28 > /29/30/31/32/33/34/35/36/37/38/39/40/41/42) > 16: : 32 > [INFO] artifact net.liftweb:lift-archetype-blank: checking for updates > from lift-archetype-blank-repo > Define value for groupId: : ca.tylerweir > Define value for artifactId: : HelloWorld > Define value for version: 1.0-SNAPSHOT: : > Define value for package: ca.tylerweir: : > > Give that a shot. > > On Mar 12, 1:20 pm, "erik.fris...@googlemail.com" > > > > wrote: > > 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 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, "erik.fris...@googlemail.com" > > > > 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
o, k. Since I'm getting the same error and I'm unsure why, try this on: mvn -e archetype:generate then you'll get a list mvn can make for you. lift-blank is # 32. You then fill bits and pieces yourself like this: Choose a number: (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28/29/30/31/32/33/34/35/36/37/38/39/40/41/42) 16: : 32 [INFO] artifact net.liftweb:lift-archetype-blank: checking for updates from lift-archetype-blank-repo Define value for groupId: : ca.tylerweir Define value for artifactId: : HelloWorld Define value for version: 1.0-SNAPSHOT: : Define value for package: ca.tylerweir: : Give that a shot. On Mar 12, 1:20 pm, "erik.fris...@googlemail.com" wrote: > 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 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, "erik.fris...@googlemail.com" > > > 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
Ah. Feel much better.. Thought it was just me and never took the time to look into this. I get the same thing... Looking at mvn -X I see: [DEBUG] (f) remoteArtifactRepositories = [[central] -> http://repo1.maven.org/maven2] Googling for a while helps not... any ideas? On Thu, Mar 12, 2009 at 6:20 PM, erik.fris...@googlemail.com wrote: > > 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 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, "erik.fris...@googlemail.com" >> >> 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
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 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, "erik.fris...@googlemail.com" > > 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
Oh, by the way, pro-tip: You can poke around in the mvn repo online here: http://scala-tools.org/repo-releases/net/liftweb/ You can see that the older command was looking for version "0.1" of lift-archetype-blank and that's just crazy talk! Ty On Mar 12, 1:09 pm, TylerWeir 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, "erik.fris...@googlemail.com" > > 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
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, "erik.fris...@googlemail.com" 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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
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 anymoreyou 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 liftweb@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 -~--~~~~--~~--~--~---
[Lift] Re: Required goal not found: archetype:generate
What do you get from "mvn -version" ? On Mar 12, 12:30 pm, "erik.fris...@googlemail.com" wrote: > Hi guys, > > I am just starting out with lift. I wanted to work my way through the > "Getting Started" Example. But I just can't get maven to work > correctly. When I run > > mvn archetype:generate -U -DarchetypeGroupId=net.liftweb - > DarchetypeArtifactId=lift-archetype-blank -DarchetypeVersion=0.10 - > DremoteRepositories=http://scala-tools.org/repo-releases- > DgroupId=demo.helloworld -DartifactId=helloword -Dversion=1.0-SNAPSHOT > > I get the error "Required goal not found: archetype:generate" - > running the command with -e gives the following stack trace: > > org.apache.maven.BuildFailureException: Required goal not found: > archetype:generate > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor > (DefaultLifecycleExecutor.java:1538) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds > (DefaultLifecycleExecutor.java:386) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > (DefaultLifecycleExecutor.java:138) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java: > 315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: > 430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > I tried to get this to work for 3 hours now, I already deleted the .m2 > directory, I changed it in the settings.xml, but nothing seems to > work. I would really appreciate if someone had an idea with this... > > Erik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@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 -~--~~~~--~~--~--~---