Are you perhaps behind a firewall and maven can't reach any repositories having the jetty plugin? If so see http://maven.apache.org/guides/mini/guide-proxies.html
On Jan 29, 4:48 am, tomLee <[email protected]> wrote: > I tried,but nothing change. > > mvn jetty:run -U > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'jetty'. > [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-jetty-plugin: checking for > updates from central > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not > exist or no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 3 seconds > [INFO] Finished at: Fri Jan 29 17:47:33 CST 2010 > [INFO] Final Memory: 1M/4M > [INFO] > ------------------------------------------------------------------------ > > > > > > David Bernard-3 wrote: > > > I suppose it's your first run of mvn jetty:run. > > try : "mvn jetty:run -U" to force download of jetty. > > > seehttp://wiki.github.com/dpp/liftweb/about-maven-mini-guide > > > /davidB > > > On Fri, Jan 29, 2010 at 04:04, tomLee <[email protected]> wrote: > > >> Got error when I run it: > > >> D:\MySource\oterh\mylift>mvn jetty:run > >> [INFO] Scanning for projects... > >> [INFO] Searching repository for plugin with prefix: 'jetty'. > >> [INFO] artifact org.apache.maven.plugins:maven-jetty-plugin: checking for > >> updates from central > >> [INFO] > >> ------------------------------------------------------------------------ > >> [ERROR] BUILD ERROR > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not > >> exist or no valid version could be found > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] For more information, run Maven with the -e switch > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Total time: 1 second > >> [INFO] Finished at: Fri Jan 29 10:53:33 CST 2010 > >> [INFO] Final Memory: 1M/4M > >> [INFO] > >> ------------------------------------------------------------------------ > > >> thanks > >> -- > >> View this message in context: > >>http://old.nabble.com/Issue-with-my-first-Lift-project-tp27366670p273... > >> Sent from the liftweb mailing list archive at Nabble.com. > > >> -- > >> 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. > > > -- > > 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. > > -- > View this message in > context:http://old.nabble.com/Issue-with-my-first-Lift-project-tp27366670p273... > Sent from the liftweb mailing list archive at Nabble.com. -- 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.
