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.com>wrote:

>
> 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>
> >>          <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