just further to Saleem's response:

On 9/29/05, Chris Berry <[EMAIL PROTECTED]> wrote:
> Many of us use a few local repos -- say, a local mirror of ibiblio or
> a local repo for internal JARs. -- common to all projects, and it
> makes sense to me that this is a global setting per user.

for a local mirror of ibiblio, it is recommended to use the "mirrors"
element in settings.xml. This means any project trying to use
"central" will use that mirror first *instead*. Adding a new
repository means both are checked.

for information common to all projects, we recommend using an
organisation-wide parent POM that declares all the information. Of
course, this is a chicken and egg problem - you need the repository to
define the repository. The advantages to this are still:
- if you want to change the repository location you only need to
update that pom, not individual users computers (they get the new pom
from the old repository, and that is used for the new definition)
- you can share standard settings - organisation information, plugin
configuration, source layout, among all projects.

- Brett

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

Reply via email to