[Lift] Re: problem in getting started
I am using maven 2.2.1. This was at home where I do not have any proxy. I will try suggestions tonight. Thanks Prabhat On Oct 8, 2:29 am, ben wrote: > Prabhat, the command works fine for me, using Maven 2.0.9. Could it be > a problem with a corporate proxy perhaps ? > > I executed : > 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 --~--~-~--~~~---~--~~ 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: problem in getting started
Prabhat, I always do it very simple: after typing: mvn archetype:generate -U I push the enter button and see what happens: maven ask me some questions, which I can fill in. first I choose a number, depending on what I want to have installed, an empty lift-installation, or a basic one. then I get asked some extra questions, which I anwser. At the end I get the chance to revise it, and if I enter, I have a working installation. Good luck! Ko On 8 okt, 02:57, Prabhat wrote: > I followed the document at liftweb and here is what I get: > > PS C:\Users\Prabhat Gupta\work> mvn archetype:generate -U - > DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-a > rchetype-blank -DarchetypeVersion=1.0 -DremoteRepositories=http:// > scala-tools.org/repo-releases -DgroupId=demo.hellow > orld -DartifactId=helloworld -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] > > [ERROR] BUILD FAILURE > [INFO] > > [INFO] Invalid task '.liftweb': you must specify a valid lifecycle > phase, or a goal in the format plugin:goal or pluginG > roupId:pluginArtifactId:pluginVersion:goal > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > > [INFO] Total time: 1 second > [INFO] Finished at: Wed Oct 07 20:57:08 EDT 2009 > [INFO] Final Memory: 4M/61M > [INFO] > > PS C:\Users\Prabhat Gupta\work> --~--~-~--~~~---~--~~ 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: problem in getting started
Prabhat, the command works fine for me, using Maven 2.0.9. Could it be a problem with a corporate proxy perhaps ? I executed : 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 --~--~-~--~~~---~--~~ 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: problem in getting started
It looks like you probably have a typo on the command line, although the command line you pasted is wrapped and so on, so I can't see it there. Look for erroneous spaces before ".liftweb" in your command line. -Ross On Oct 7, 2009, at 8:57 PM, Prabhat wrote: > > I followed the document at liftweb and here is what I get: > > PS C:\Users\Prabhat Gupta\work> mvn archetype:generate -U - > DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-a > rchetype-blank -DarchetypeVersion=1.0 -DremoteRepositories=http:// > scala-tools.org/repo-releases -DgroupId=demo.hellow > orld -DartifactId=helloworld -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] > > [ERROR] BUILD FAILURE > [INFO] > > [INFO] Invalid task '.liftweb': you must specify a valid lifecycle > phase, or a goal in the format plugin:goal or pluginG > roupId:pluginArtifactId:pluginVersion:goal > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > > [INFO] Total time: 1 second > [INFO] Finished at: Wed Oct 07 20:57:08 EDT 2009 > [INFO] Final Memory: 4M/61M > [INFO] > > PS C:\Users\Prabhat Gupta\work> > > > --~--~-~--~~~---~--~~ 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: problem in getting started
Do try with -Dversion=1.1-SNAPSHOT and see. Which version of maven are you using? On Thu, Oct 8, 2009 at 8:57 AM, Prabhat wrote: > > I followed the document at liftweb and here is what I get: > > PS C:\Users\Prabhat Gupta\work> mvn archetype:generate -U - > DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-a > rchetype-blank -DarchetypeVersion=1.0 -DremoteRepositories=http:// > scala-tools.org/repo-releases -DgroupId=demo.hellow > orld -DartifactId=helloworld -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] > > [ERROR] BUILD FAILURE > [INFO] > > [INFO] Invalid task '.liftweb': you must specify a valid lifecycle > phase, or a goal in the format plugin:goal or pluginG > roupId:pluginArtifactId:pluginVersion:goal > [INFO] > > [INFO] For more information, run Maven with the -e switch > [INFO] > > [INFO] Total time: 1 second > [INFO] Finished at: Wed Oct 07 20:57:08 EDT 2009 > [INFO] Final Memory: 4M/61M > [INFO] > > PS C:\Users\Prabhat Gupta\work> > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---