Re: How do Archiva Proxied Repositories work?

2007-04-25 Thread M Wurm

2007/4/23, nicolas de loof <[EMAIL PROTECTED]>:

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  in my settings.xml.

Best Regards,
Matthias


Re: How do Archiva Proxied Repositories work?

2007-04-23 Thread nicolas de loof

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 <[EMAIL PROTECTED]>:


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



How do Archiva Proxied Repositories work?

2007-04-23 Thread M Wurm

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