Will declaring a repository to be a mirror repository prevent the searching
for updated plugins?  We are using snapshot versions of plugins and would
like to stabilize on those snapshots.  I haven't been able to prevent maven
from looking for updates to snapshots, even with the -npu argument.  So far,
the only way I've been able to prevent it is to start with a fully-populated
local repository and run with -o (for offline).

Thanks,
--Marilyn Sander 

-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 11, 2006 8:47 AM
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: How to query our own repository?

Search for "maven mirror central". This is discussed frequently on this mail
list and online.

You basically want to override Central with your local department/corporate
repo. This is done by establishing your local corporate repo as a <mirrOf>
Central in your settings.xml file.

Note that this will effectively "kill" your connection to Central, so
if/when you try to use a new artifact which is not installed on your
Corporate repo, it will simply fail out. For this reason, many people use
Maven proxy servers like Promixity which can be configured to go out and
download unknown artifacts on demand.

Wayne

On 10/11/06, Markus KARG <[EMAIL PROTECTED]> wrote:
> We have just set up our own repository server in our department and 
> deployed several artefacts into it.
> Now I need to tell my project that it has to look for a dependency not 
> only at Ibiblio, but also in my our department's repository.
> Since the department's repository shall be the central place for all 
> sharing, I don't like to put that into the pom.xml of my project, but 
> I want to have it in my laptop's settings.xml.
> How do I do that?
>
> Thanks a lot
> Markus
>
>
>

---------------------------------------------------------------------
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]

  • RE: How to query... Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
    • Re: How to ... Wayne Fay
      • RE: How... Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
        • Re:... Wayne Fay
          • ... Marilyn Sander -X \(marilysa - Digital-X, Inc. at Cisco\)
            • ... Wayne Fay

Reply via email to