Using a proxy (like maven-proxy or proximity) can be employed to reduce the frequency of download errors.

You could put fake/generated POMs in your local repo, or in a shared repo, such as a maven-proxy instance. Then maven would find the POMs and stop trying to download them.

I grant that setting this up can be a PITA, but you need to do what you need to do to get your project running smoothly -- "There is no royal road, but there is a road."

-Max

Jason Chaffee wrote:
Neither one of these solutions seems to work.  It appears that maven
always attempts to download poms that do not exist in any remote
repositories and sometimes it will fail because of a download error.
Sometimes, I can run it again right away and it will work...sometimes it
will take the entire day before it works.

-----Original Message-----
From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, June 05, 2006 4:37 PM
To: Maven Users List
Subject: Re: [m2] Is there a way to turn off downloading of poms?

Change your repository declaration order. It should do the trick but a
better option would be to use Maven Proxy or Proximity. This way,
Maven would only go to one place to get what is needed to build your
projet.

On 6/5/06, Jason Chaffee <[EMAIL PROTECTED]> wrote:
My builds are constantly failing even when I build offline because
maven
is attempting to download pom files for dependencies.  However, most
of
these dependencies do not have poms in the remote repo because they
are
coming from legacy repos.  This is an extremely annoying feature that
can cause me not to build for an entire day.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to