Hi,

I know the frustration. :) I was there ...

Maven looks for updates "daily" at ibiblio using a reserved repository
id "central". Maven is configured to look at this "daily" for updates.
Hence, even if you have the plugins/jar file in your Local Repo it looks
for new version daily at central and any other repositories you may have
setup.

How to prevent this ? I hear you asking.

There is a <updatePolicy> which must be set to "never" for every
repository including "central". This will cause maven to look at ibiblio
only if the plugin/jar does not exist in your Local Repo.

Thanks
Lakshman


> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 6 September 2006 7:46 AM
> To: [email protected]
> Subject: Why would Maven Not look in local repo?
> Importance: High
> 
> It seems that Maven is looking directly into the Ibiblio repo for
items it
> should be finding in the local repo.  They are there right where they
were
> yesterday.  Now the builds are failing because it can't find local
> versions of components when it looks in the central repo.  There's
nothing
> in the history or log that shows it tried and failed to get these
items
> from the local repo!!!
> 
> Any ideas; some config issue?
> 
> 
> 
> -----------------------------------------
> This e-mail and any attachments are intended only for the
> individual or company to which it is addressed and may contain
> information which is privileged, confidential and prohibited from
> disclosure or unauthorized use under applicable law.  If you are
> not the intended recipient of this e-mail, you are hereby notified
> that any use, dissemination, or copying of this e-mail or the
> information contained in this e-mail is strictly prohibited by the
> sender.  If you have received this transmission in error, please
> return the material received to the sender and delete all copies
> from your system.


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

Reply via email to