That works, thank you.
On Thu, 2007-10-04 at 17:44 -0400, Angel Sotirov wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
cbrown wrote:
When i try to download component through archiva, it fails, and the
archiva console shows;
INFO: RepositoryServlet: Authorization Denied
If you want to always download artifacts from your Archiva, you must define a
mirror of central instead of a repository in your settings.xml:
mirrors
mirror
mirrorOfcentral/mirrorOf
nameArchiva Mirror Repository/name
I'm using this setting (with mirrorOf=*) but I had repeatedly hit the problem
when Archiva is not able to download the same artifacts from the same configured
repositories what maven can do itself without the mirror setting (it only
happens for 1-1 jar out of 50s though).
Also, when using Archiva
Actually, there are instances when mvn still goes directly to Central.
E.g. below it loads junit out of the archiva repo, but pulls all the
surefire components from http://repo1.maven.org/maven2, without even
touching the archiva site.
Since I don't have central in any of my settings or poms,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
cbrown wrote:
Actually, there are instances when mvn still goes directly to Central.
E.g. below it loads junit out of the archiva repo, but pulls all the
surefire components from http://repo1.maven.org/maven2, without even
touching the archiva
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
cbrown wrote:
When i try to download component through archiva, it fails, and the
archiva console shows;
INFO: RepositoryServlet: Authorization Denied
[ip=172.17.1.3,isWriteRequest=false,permission=archiva-read-repository,repo=internal]
: no