I guess it's not the end of the world (especially if we end up supplying
a conf/settings.xml file with a custom mvn install).

Ok, so for things like repo1 (where I want to set up archiva as a proxy
AND configure multiple mirrors in case of unavailability), do I use the
<proxy> settings in settings.xml or do I set up repo1 (and a few
mirrors) as remote repositories?

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 30, 2008 11:17 AM
To: [email protected]
Subject: Re: Choosing which repositories you install to

On Fri, May 30, 2008 at 7:47 AM, EJ Ciramella <[EMAIL PROTECTED]>
wrote:

> Ideally, if people had an entry in settings.xml for a repository, it'd
> be a single entry pointing to archiva (is this even possible?).
...
> Is this even possible?  Will we have to roll our own maven 2
> installation (utilizing the conf/settings.xml to load repositories)?

You have to put the configuration somewhere... having a custom maven
distribution is sometimes easier than instructing each developer to
download a settings file and put it in a certain place.  It also has
the advantage of standardizing what Maven version is being used to
build your projects.  It's up to you, though.

I don't understand why it's important to have exactly *one* item in
settings.xml.  It's admittedly a bit ugly right now with repositories
and pluginRepositories and mirrors, but it works. :)   It should
improve once the repository grouping feature in the next version of
Archiva is available and you can serve multiple repos from a single
url.

-- 
Wendy

Reply via email to