This is a somewhat common user request. Perhaps someone will file a
JIRA enhancement request and it can be added in a future release of
M2.

Perhaps it could be configured on a per-dependency basis in the
pom.xml file? Not sure if this is on the board for 2.1 but now is the
time to report/request it if you have any hope to see it implemented
in the future.

An alternative that I believe works today to avoid this lookup delay
is to set up your own maven-proxy and deploy these internal files to
it directly, which would then prevent the ibiblio lookup. I don't use
maven-proxy, but it seems like this would work.

Wayne


On 3/30/06, John J. Franey <[EMAIL PROTECTED]> wrote:
> I'm converting a project to maven 2.  Some dependencies do not exist in
> ibiblio, so I've 'installed' these into my local repository.
>
> I'm unhappy because every time I perform a run, there is a significant
> delay (sometimes) when maven tries to download these non-existent
> artifacts.  I get these messages:
> Downloading: http://repo1.maven.org/maven2/......./...pom
>
>
> How can I prevent maven's attempt to download these non-existent
> artifacts?   I'm most interested in eliminating the delay.
>
> I know I can run with the 'offline' option.   This is OK as long as I'm
> sure all existing artifacts that are already downloaded into my cache.
> So I can do this until I build on a system with no local cache of add a
> new dependency to my projects, at which time the delay is experienced
> due to these non-existent artifacts.
>
> Thanks,
> John
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to