So I tried this:
<proxies>
<proxy>
<active>true</active>
<username>guest</username>
<password>XXXXX</password>
<port>8080</port>
<host>---host---</host>
</proxy>
</proxies>
Yet I can see things getting pulled from repo1 instead of this (which
has that remote repo configured as a proxy).
Is host in the form of http://<url> - I guess I'm having a hard time
determining if I've messed up my maven config or my archiva config.
-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2008 2:51 PM
To: [email protected]
Subject: Re: Choosing which repositories you install to
On Fri, May 30, 2008 at 11:38 AM, EJ Ciramella
<[EMAIL PROTECTED]> wrote:
> 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
That configuration is for an http proxy. For example, if you need to
configure a proxy in your browser in order to see external websites,
then you'd need to tell Maven about the proxy so it could contact the
central repo. Most likely, even if you are behind a proxy, you don't
want your developers to access the central repo directly.
> or do I set up repo1 (and a few mirrors) as remote repositories?
Yep. Set up one of your managed repositories to proxy the central
repo, and then your developers only need to know about the internal
repositories.
--
Wendy