Re: prevent mvn checking repository for a pom?

2008-03-13 Thread Adam Hardy
Aha. Didn't think of that. Thanks Adam Wayne Fay on 13/03/08 20:39, wrote: You need to run mvn install again, and this time specify -DgeneratePom=true. Then Maven will make an "empty" pom for the artifact such that it won't go looking for it when you run mvn. Wayne On 3/13/08, Steve Chernyak

Re: prevent mvn checking repository for a pom?

2008-03-13 Thread simon
Hi Adam, For each dependency, maven needs both a .jar and a .pom file. The .jar file has the necessary code, and the pom file has the necessary dependency info. If you've installed only a jar into your local repository, maven will still try to find the pom in the global repos. The easiest soluti

Re: prevent mvn checking repository for a pom?

2008-03-13 Thread Wayne Fay
You need to run mvn install again, and this time specify -DgeneratePom=true. Then Maven will make an "empty" pom for the artifact such that it won't go looking for it when you run mvn. Wayne On 3/13/08, Steve Chernyak <[EMAIL PROTECTED]> wrote: > Did you try -o? "mvn -o install" > -o = offline m

Re: prevent mvn checking repository for a pom?

2008-03-13 Thread Steve Chernyak
Did you try -o? "mvn -o install" -o = offline mode. On Thu, Mar 13, 2008 at 4:17 PM, Adam Hardy <[EMAIL PROTECTED]> wrote: > This question has possibly quite an easy answer, I hope. > > I manually installed a 3rd party jar into my local repository. > > Can I prevent mvn checking the global repos

prevent mvn checking repository for a pom?

2008-03-13 Thread Adam Hardy
This question has possibly quite an easy answer, I hope. I manually installed a 3rd party jar into my local repository. Can I prevent mvn checking the global repos whenever I run something? It looks like marking it as scope="system" is one way but I don't want the hassle of specifying a local