You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by M Wurm <mt...@gmx.net> on 2007/04/23 17:25:08 UTC
How do Archiva Proxied Repositories work?
Hi there,
I've set up Archiva and (almost everything) works fine. I can retrieve
artifacts I deployed manually, can deploy artifacts via webdav, but
proxied repositories don't seem to work.
Now I wanted to ask how Archiva proxies a repository. Somewhere I've
read Archiva loads artifacts from demand, so I guess it recognizes a
HTTP GET on a directory that doesn't exists and tries to retrieve that
artifact from one of the repositories listed under "proxied
repositories". Is this correct?
If so, how is the proxied repository being accessed? Via http? Or is
rsync used in some way? I need to specify a http proxy (which I did in
the Archiva settings), but rsync is disabled on the machine that hosts
Archiva. Can this be a problem?
I'm proxying http://repo1.maven.org/maven2/ but can't get it work.
Maven tells me it could not download a dependency via my managed
repository and falls back to the default repository.
Any ideas?
Best Regards,
Matthias
Re: How do Archiva Proxied Repositories work?
Posted by M Wurm <mt...@gmx.net>.
2007/4/23, nicolas de loof <ni...@gmail.com>:
> Archiva downloads artifacts on demand via HTTP using wagon-http. I use a
> similar config with no issue, but I don't have any proxy to set to access
> repo1.
>
Ok, I've solved the issue. The problem had nothing to do with archiva,
but with our network setup. I had specified a proxy in my maven
settings.xml (on my local machine), and access to Archiva was
impossible in general. I had to exclude proxy usage for the Archiva
host, using <nonProxyHosts> in my settings.xml.
Best Regards,
Matthias
Re: How do Archiva Proxied Repositories work?
Posted by nicolas de loof <ni...@gmail.com>.
Archiva downloads artifacts on demand via HTTP using wagon-http. I use a
similar config with no issue, but I don't have any proxy to set to access
repo1.
AFAIK rsync is not yet available.
2007/4/23, M Wurm <mt...@gmx.net>:
>
> Hi there,
>
> I've set up Archiva and (almost everything) works fine. I can retrieve
> artifacts I deployed manually, can deploy artifacts via webdav, but
> proxied repositories don't seem to work.
>
> Now I wanted to ask how Archiva proxies a repository. Somewhere I've
> read Archiva loads artifacts from demand, so I guess it recognizes a
> HTTP GET on a directory that doesn't exists and tries to retrieve that
> artifact from one of the repositories listed under "proxied
> repositories". Is this correct?
>
> If so, how is the proxied repository being accessed? Via http? Or is
> rsync used in some way? I need to specify a http proxy (which I did in
> the Archiva settings), but rsync is disabled on the machine that hosts
> Archiva. Can this be a problem?
>
> I'm proxying http://repo1.maven.org/maven2/ but can't get it work.
> Maven tells me it could not download a dependency via my managed
> repository and falls back to the default repository.
>
>
> Any ideas?
>
>
> Best Regards,
> Matthias
>