You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ben short <be...@benshort.co.uk> on 2006/11/26 00:09:46 UTC
[m2] Setting Archiva as mirror of central
Hi,
I have Maestro project server setup but im not sure what I need to set
in my settings.xml to get maven to use the Archiva part of the project
server as my mirror of central.
<mirror>
<id>myProximity</id>
<mirrorOf>central</mirrorOf>
<name>Proximity mirrored central repos.</name>
<url>http://ip:port/WHAT TO PUT HERE?</url>
</mirror>
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Setting Archiva as mirror of central
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/25/06, ben short <be...@benshort.co.uk> wrote:
> I just found that page, but when I tried it as described it didnt
> work. I have found that if I add the following to my settings.xml then
> archiva proxys central.
What did you try that didn't work? We need to fix the docs if they're wrong.
> <mirror>
> <id>myProximity</id>
> <mirrorOf>central</mirrorOf>
> <name>Proximity mirrored central repos.</name>
> <url>http://192.168.100.32:8080/archiva/proxy</url>
> </mirror>
There's some question about whether it's /proxy or /proxy/<repo-id>.
I'm almost sure that just /proxy worked for me initially (and for maxb
on IRC), but recent experiments say that only /proxy/<repo-id> works.
I'd prefer that the repo-id is required, personally. Otherwise it
would seem to aggregate all proxied repositories, so why bother
setting up certain remote repos to be proxied through certain managed
repos?
(We have separate lists for Archiva:
http://maven.apache.org/archiva/mail-lists.html )
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Setting Archiva as mirror of central
Posted by ben short <be...@benshort.co.uk>.
Hi Wendy,
I just found that page, but when I tried it as described it didnt
work. I have found that if I add the following to my settings.xml then
archiva proxys central.
<mirror>
<id>myProximity</id>
<mirrorOf>central</mirrorOf>
<name>Proximity mirrored central repos.</name>
<url>http://192.168.100.32:8080/archiva/proxy</url>
</mirror>
Ben
On 11/26/06, Wendy Smoak <ws...@gmail.com> wrote:
> On 11/25/06, ben short <be...@benshort.co.uk> wrote:
>
> > I have Maestro project server setup but im not sure what I need to set
> > in my settings.xml to get maven to use the Archiva part of the project
> > server as my mirror of central.
> >
> > <mirror>
> > <id>myProximity</id>
> > <mirrorOf>central</mirrorOf>
> > <name>Proximity mirrored central repos.</name>
> > <url>http://ip:port/WHAT TO PUT HERE?</url>
> > </mirror>
>
> For Archiva, what you put there depends on whether you want it to
> proxy requests. It's either /repository/URL-Name, or /proxy/REPO-ID
>
> See: http://maven.apache.org/archiva/guides/getting-started/maven-configuration.html
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m2] Setting Archiva as mirror of central
Posted by Wendy Smoak <ws...@gmail.com>.
On 11/25/06, ben short <be...@benshort.co.uk> wrote:
> I have Maestro project server setup but im not sure what I need to set
> in my settings.xml to get maven to use the Archiva part of the project
> server as my mirror of central.
>
> <mirror>
> <id>myProximity</id>
> <mirrorOf>central</mirrorOf>
> <name>Proximity mirrored central repos.</name>
> <url>http://ip:port/WHAT TO PUT HERE?</url>
> </mirror>
For Archiva, what you put there depends on whether you want it to
proxy requests. It's either /repository/URL-Name, or /proxy/REPO-ID
See: http://maven.apache.org/archiva/guides/getting-started/maven-configuration.html
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org