[Lift] Re: Question about the Getting Started Guide
I think I know what is happening. The maven-jetty-plugin has been moved. It is now the jetty-maven-plugin. I reran the archetype:generate with a new artifactId and before running the mvn jetty:run I edited the pom to contain the following: plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId configuration scanIntervalSeconds5/scanIntervalSeconds /configuration /plugin NOTE that I also had to remove the configuration for the contextPath because jetty was saying that it could not override readonly configuration parameter. I tried to post this earlier so I hope this works and that it is not a duplicate. On Oct 9, 5:37 pm, oatkinson oatkin...@gmail.com wrote: I was getting the same problem last week. Now this week i am getting something similar that i am wondering if it is because of a proxy: 17:26:40 atkinso...@atkinsonos-laptop:~/personal/hg/lift-experiment2$ mvn jetty:run [INFO] Scanning for projects... Downloading:http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jet... [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository scala-tools.org (http:// scala-tools.org/repo-releases) Downloading:http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jet... [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository central (http:// repo1.maven.org/maven2) [INFO] Cannot find mojo descriptor for: 'jetty:run' - Treating as non- aggregator. [INFO] [INFO] Building lift-experiment2 [INFO] task-segment: [jetty:run] [INFO] Downloading:http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jet... [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository scala-tools.org (http:// scala-tools.org/repo-releases) Downloading:http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jet... [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository central (http:// repo1.maven.org/maven2) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.mortbay.jetty - DartifactId=maven-jetty-plugin -Dversion=7.0.0.pre5 -Dpackaging=maven- plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.mortbay.jetty - DartifactId=maven-jetty-plugin -Dversion=7.0.0.pre5 -Dpackaging=maven- plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5 from the specified remote repositories: fch (http://mvn.onemodel.org:8082/nexus/content/groups/dev) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5 from the specified remote repositories: fch (http://mvn.onemodel.org:8082/nexus/content/groups/dev) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri Oct 09 17:33:49 MDT 2009 [INFO] Final Memory: 3M/17M [INFO] 17:33:49 atkinso...@atkinsonos-laptop:~/personal/hg/lift-experiment2$ On Sep 29, 11:49 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn jetty:run
[Lift] Re: Question about the Getting Started Guide
I went to the location specified and only found a pom with the following contents: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http:// www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http:// maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion parent groupIdorg.mortbay.jetty/groupId artifactIdmodules-extra/artifactId version7.0.0.pre5/version /parent groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId packagingpom/packaging nameJetty Extra :: Maven Jetty Plugin :: Stub/name distributionManagement relocation groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId version${project.version}/version messageThis project has been renamed and moved to jetty-maven- plugin./message /relocation /distributionManagement /project I am going to try changing the name to see if it makes any difference. On Oct 9, 5:37 pm, oatkinson oatkin...@gmail.com wrote: I was getting the same problem last week. Now this week i am getting something similar that i am wondering if it is because of a proxy: 17:26:40 atkinso...@atkinsonos-laptop:~/personal/hg/lift-experiment2$ mvn jetty:run [INFO] Scanning for projects... Downloading:http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jet... [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository scala-tools.org (http:// scala-tools.org/repo-releases) Downloading:http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jet... [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository central (http:// repo1.maven.org/maven2) [INFO] Cannot find mojo descriptor for: 'jetty:run' - Treating as non- aggregator. [INFO] [INFO] Building lift-experiment2 [INFO] task-segment: [jetty:run] [INFO] Downloading:http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jet... [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository scala-tools.org (http:// scala-tools.org/repo-releases) Downloading:http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jet... [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository central (http:// repo1.maven.org/maven2) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.mortbay.jetty - DartifactId=maven-jetty-plugin -Dversion=7.0.0.pre5 -Dpackaging=maven- plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.mortbay.jetty - DartifactId=maven-jetty-plugin -Dversion=7.0.0.pre5 -Dpackaging=maven- plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5 from the specified remote repositories: fch (http://mvn.onemodel.org:8082/nexus/content/groups/dev) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5 from the specified remote repositories: fch (http://mvn.onemodel.org:8082/nexus/content/groups/dev) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri Oct 09 17:33:49 MDT 2009 [INFO] Final Memory: 3M/17M [INFO] 17:33:49 atkinso...@atkinsonos-laptop:~/personal/hg/lift-experiment2$ On Sep 29, 11:49 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just
[Lift] Re: Question about the Getting Started Guide
run mvn jetty:run -U (-U is required the first time you use this plugin if no version of the plugin is define in the pom.xml) See http://wiki.github.com/dpp/liftweb/about-maven-mini-guide /davidB On Wed, Sep 30, 2009 at 03:11, jlist9 jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
I was getting the same problem last week. Now this week i am getting something similar that i am wondering if it is because of a proxy: 17:26:40 atkinso...@atkinsonos-laptop:~/personal/hg/lift-experiment2$ mvn jetty:run [INFO] Scanning for projects... Downloading: http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jetty/maven-jetty-plugin/7.0.0.pre5/maven-jetty-plugin-7.0.0.pre5.jar [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository scala-tools.org (http:// scala-tools.org/repo-releases) Downloading: http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jetty/maven-jetty-plugin/7.0.0.pre5/maven-jetty-plugin-7.0.0.pre5.jar [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository central (http:// repo1.maven.org/maven2) [INFO] Cannot find mojo descriptor for: 'jetty:run' - Treating as non- aggregator. [INFO] [INFO] Building lift-experiment2 [INFO]task-segment: [jetty:run] [INFO] Downloading: http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jetty/maven-jetty-plugin/7.0.0.pre5/maven-jetty-plugin-7.0.0.pre5.jar [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository scala-tools.org (http:// scala-tools.org/repo-releases) Downloading: http://mvn.onemodel.org:8082/nexus/content/groups/dev/org/mortbay/jetty/maven-jetty-plugin/7.0.0.pre5/maven-jetty-plugin-7.0.0.pre5.jar [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty- plugin:maven-plugin:7.0.0.pre5' in repository central (http:// repo1.maven.org/maven2) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.mortbay.jetty - DartifactId=maven-jetty-plugin -Dversion=7.0.0.pre5 -Dpackaging=maven- plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.mortbay.jetty - DartifactId=maven-jetty-plugin -Dversion=7.0.0.pre5 -Dpackaging=maven- plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5 from the specified remote repositories: fch (http://mvn.onemodel.org:8082/nexus/content/groups/dev) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5 from the specified remote repositories: fch (http://mvn.onemodel.org:8082/nexus/content/groups/dev) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Fri Oct 09 17:33:49 MDT 2009 [INFO] Final Memory: 3M/17M [INFO] 17:33:49 atkinso...@atkinsonos-laptop:~/personal/hg/lift-experiment2$ On Sep 29, 11:49 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn 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 c ould be found [INFO]
[Lift] Re: Question about the Getting Started Guide
Great! The downloaded files are stored in ${user.home}/.m2/repository. ${user.home} is the standard Java environment variable that defaults to $HOME in *nix and $USERPROFILE in Windows. [1] Setting proxies and other environment stuff can be done via settings: http://maven.apache.org/settings.html [2] More about repositories: http://maven.apache.org/guides/introduction/introduction-to-repositories.html Cheers, Indrajit On 30/09/09 11:36 AM, jli...@gmail.com wrote: Hello Indrajit and those who replied, thanks for all your help. Finally I got it working. It probably had something to do with the proxy in my work environment. BTW, do you know where maven stores those downloaded files? Tuesday, September 29, 2009, 10:49:20 PM, you wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn 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 c ould be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Sep 29 21:16:31 PDT 2009 [INFO] Final Memory: 1M/4M [INFO] On Tue, Sep 29, 2009 at 8:59 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: I had such an issue when it was confused about which version of Jetty. Is there any more detail? Try running with error details enabled (mvn -help should tell you how). - jlist9jli...@gmail.com wrote: Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
Hello Indrajit and those who replied, thanks for all your help. Finally I got it working. It probably had something to do with the proxy in my work environment. BTW, do you know where maven stores those downloaded files? Tuesday, September 29, 2009, 10:49:20 PM, you wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn 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 c ould be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Sep 29 21:16:31 PDT 2009 [INFO] Final Memory: 1M/4M [INFO] On Tue, Sep 29, 2009 at 8:59 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: I had such an issue when it was confused about which version of Jetty. Is there any more detail? Try running with error details enabled (mvn -help should tell you how). - jlist9jli...@gmail.com wrote: Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
Right on there, Indrajit. I was playing with liftweb examples from http://github.com/dpp/liftweb/tree/dpp_wip_actorize and ran into similar hiccup. On Sep 30, 1:49 pm, Indrajit Raychaudhuri indraj...@gmail.com wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn 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 c ould be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Sep 29 21:16:31 PDT 2009 [INFO] Final Memory: 1M/4M [INFO] On Tue, Sep 29, 2009 at 8:59 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: I had such an issue when it was confused about which version of Jetty. Is there any more detail? Try running with error details enabled (mvn -help should tell you how). - jlist9jli...@gmail.com wrote: Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
Maven stores artifacts in your local repository, which by default is in ~/.m2/repository. jli...@gmail.com wrote: Hello Indrajit and those who replied, thanks for all your help. Finally I got it working. It probably had something to do with the proxy in my work environment. BTW, do you know where maven stores those downloaded files? Tuesday, September 29, 2009, 10:49:20 PM, you wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn 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 c ould be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Sep 29 21:16:31 PDT 2009 [INFO] Final Memory: 1M/4M [INFO] On Tue, Sep 29, 2009 at 8:59 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: I had such an issue when it was confused about which version of Jetty. Is there any more detail? Try running with error details enabled (mvn -help should tell you how). - jlist9jli...@gmail.com wrote: Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
If you want it stored somewhere else, you can edit your ~/.m2/settings.xml file and add the localRepository element. Here's mine: settings xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd; localRepository/home/software/mavenrepo/localRepository /settings In my case I do hourly backups of my home directory so I don't want all of the artifacts there. Derek On Wed, Sep 30, 2009 at 5:26 AM, Chris Lewis burningodzi...@gmail.comwrote: Maven stores artifacts in your local repository, which by default is in ~/.m2/repository. jli...@gmail.com wrote: Hello Indrajit and those who replied, thanks for all your help. Finally I got it working. It probably had something to do with the proxy in my work environment. BTW, do you know where maven stores those downloaded files? Tuesday, September 29, 2009, 10:49:20 PM, you wrote: Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn 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 c ould be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Sep 29 21:16:31 PDT 2009 [INFO] Final Memory: 1M/4M [INFO] On Tue, Sep 29, 2009 at 8:59 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: I had such an issue when it was confused about which version of Jetty. Is there any more detail? Try running with error details enabled (mvn -help should tell you how). - jlist9jli...@gmail.com wrote: Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
Derek, Very nice trick indeed! Cheers, Indrajit On 30/09/09 6:28 PM, Derek Chen-Becker wrote: If you want it stored somewhere else, you can edit your ~/.m2/settings.xml file and add the localRepository element. Here's mine: settings xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd; localRepository/home/software/mavenrepo/localRepository /settings In my case I do hourly backups of my home directory so I don't want all of the artifacts there. Derek --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
I learned it the hard way when my incremental backups went from 1-2MB to 700MB :P On Wed, Sep 30, 2009 at 7:44 AM, Indrajit Raychaudhuri indraj...@gmail.comwrote: Derek, Very nice trick indeed! Cheers, Indrajit On 30/09/09 6:28 PM, Derek Chen-Becker wrote: If you want it stored somewhere else, you can edit your ~/.m2/settings.xml file and add the localRepository element. Here's mine: settings xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd; localRepository/home/software/mavenrepo/localRepository /settings In my case I do hourly backups of my home directory so I don't want all of the artifacts there. Derek --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9 jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheim naftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9 jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
I had such an issue when it was confused about which version of Jetty. Is there any more detail? Try running with error details enabled (mvn -help should tell you how). - jlist9jli...@gmail.com wrote: Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheim naftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9 jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn 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 c ould be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Sep 29 21:16:31 PDT 2009 [INFO] Final Memory: 1M/4M [INFO] On Tue, Sep 29, 2009 at 8:59 PM, Naftoli Gugenheim naftoli...@gmail.com wrote: I had such an issue when it was confused about which version of Jetty. Is there any more detail? Try running with error details enabled (mvn -help should tell you how). - jlist9jli...@gmail.com wrote: Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheim naftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9 jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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: Question about the Getting Started Guide
Jack, maven-jetty-plugin belongs to the group org.mortbay.jetty, not org.apache.maven.plugins. This makes me suspect that your jetty plugin isn't configured properly. A minimal jetty plugin configuration would look like this: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration contextPath//contextPath /configuration /plugin Could you please ensure this config under build - plugin section in your pom.xml and retry? Cheers, Indrajit On 30/09/09 10:09 AM, jlist9 wrote: I just tried it on another computer and got exactly the same error when running (below). I think something is broken. I checked the mvn output in the first run to create helloworld project and didn't see any mentioning of jetty... D:\Java\liftweb\workmvn 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 c ould be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Tue Sep 29 21:16:31 PDT 2009 [INFO] Final Memory: 1M/4M [INFO] On Tue, Sep 29, 2009 at 8:59 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: I had such an issue when it was confused about which version of Jetty. Is there any more detail? Try running with error details enabled (mvn -help should tell you how). - jlist9jli...@gmail.com wrote: Yes, I have a network connection. Maven downloaded some other components and the end result was BUILD SUCCESSFUL... On Tue, Sep 29, 2009 at 8:29 PM, Naftoli Gugenheimnaftoli...@gmail.com wrote: Do you have a network connection? The idea of maven is that it downloads whatever it's missing. On Tue, Sep 29, 2009 at 9:11 PM, jlist9jli...@gmail.com wrote: Hi, I'm new to Lift. I'm trying to follow the getting started guide to build the first simple demo.helloworld project. At the end of Maven command output I see BUILD SUCCESSFUL. However, when I run mvn jetty:run, I get error: The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found I wonder if I need to manually install jetty? If so, is there any configuration instructions? Thanks Jack --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---