It is always better to create a minimal pom when you install a new artifact
instead of no pom.

If you use mvn install:install-file, you can add -DgeneratePom=true
parameter if you don't want to write one
http://maven.apache.org/plugins/maven-install-plugin/examples/generic-pom-generation.html

Emmanuel

On Mon, Aug 25, 2008 at 5:40 PM, Jeudy, Guillaume <[EMAIL PROTECTED]>wrote:

> Emmanuel,
>
> Thanks very nice insight, I didnt realize this.
>
> Does this mean that any libraries not on central repo should have it's own
> pom ? If that project wasn't built with maven surely it wouldnt have a pom
> installed in the repo correct ? Lastly, how do you suggest I cleanup this
> situation? Should I manually create poms for these artifacts or can I find a
> way to turnoff pom lookup in repo altogether ? Ok, probably library owners
> should fix their own maven uploads but Id rather not get into this
> timeconsuming approach.. :)
>
> I tried the -o switch for running maven in offline mode and it seems to
> fulfill my needs so far.
>
> Thanks,
> GJ
>
> ________________________________
>
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: Mon 25/08/2008 11:24 AM
> To: Maven Users List
> Subject: Re: when maven2 downloads dependencies
>
>
>
> This pom isn't in your local repository so maven try to download it, but it
> doesn' exist on repo1 too so it will try for each build.
>
> Emmanuel
>
> On Mon, Aug 25, 2008 at 4:58 PM, Jeudy, Guillaume <[EMAIL PROTECTED]
> >wrote:
>
> >
> > Hi,
> >
> > My local repo is populated to build my project, I'm not using any
> SNAPSHOT
> > versions as dependencies. Can someone tell me why maven stubbornly does a
> > remote lookup to repo1 wasting valuable time ? (it does not download
> > anything I just get log entries like):
> >
> > Downloading:
> > http://repo1.maven.org/maven2/com/sun/facelets/jsf-facelets/1.1.14/
> > jsf-facelets-1.1.14.pom<
> http://repo1.maven.org/maven2/com/sun/facelets/jsf-facelets/1.1.14/jsf-facelets-1.1.14.pom
> >
> >
> > Thanks,
> > -Guillaume
> >
> >
> >
> >
> ____________________________________________________________________________________________________
> > This electronic mail (including any attachments) may contain information
> > that is privileged, confidential, and/or otherwise protected from
> disclosure
> > to anyone other than its intended recipient(s). Any dissemination or use
> of
> > this electronic email or its contents (including any attachments) by
> persons
> > other than the intended recipient(s) is strictly prohibited. If you have
> > received this message in error, please notify us immediately by reply
> email
> > so that we may correct our internal records. Please then delete the
> original
> > message (including any attachments) in its entirety. Thank you.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
>
>
> ____________________________________________________________________________________________________
> This electronic mail (including any attachments) may contain information
> that is privileged, confidential, and/or otherwise protected from disclosure
> to anyone other than its intended recipient(s). Any dissemination or use of
> this electronic email or its contents (including any attachments) by persons
> other than the intended recipient(s) is strictly prohibited. If you have
> received this message in error, please notify us immediately by reply email
> so that we may correct our internal records. Please then delete the original
> message (including any attachments) in its entirety. Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to