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>
>>           <groupId>org.mortbay.jetty</groupId>
>>           <artifactId>maven-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\work>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 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).
>>>>
>>>> -------------------------------------
>>>> jlist9<jli...@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to