Hi,

I'm trying to redirect central repository to my maven proxy,

        <mirrors>
                <mirror>
                        <id>central</id>
                        <mirrorOf>central</mirrorOf>
                        <url>http://myproxy</url>
                </mirror>
        </mirrors>


But I don't understand why Maven is trying to contact
http://repo1.maven.org/maven2 : 

----------
1 required artifact is missing.

for artifact:
  de.pdark:dsmp:jar:1.1

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


I've replaced <url>http://myproxy</url> to a non existing url to exonerate
my proxy ... I've got same trace.

However if instead of define a mirror, I create a profile with a repository
id central, Maven seems to stop trying to connect to
http://repo1.maven.org/maven2


-- 
View this message in context: 
http://www.nabble.com/Central-repository-overriding-with-mirror-tf4857123s177.html#a13899017
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to