Re: [Solved]Re: Central repository overriding with mirror

2007-11-23 Thread Saloucious

yes, Maven just prints the wrong url in the error message if the artifact is
not
found

Wendy Smoak-3 wrote:
 
 On Nov 22, 2007 11:11 AM, Saloucious [EMAIL PROTECTED] wrote:
 
 Ok i've just trace Http request,

 You were right, Maven always prints the original url put does not send
 any
 HTTP request to repo01
 
 I thought so... looks like there is already an issue open for it:
 http://jira.codehaus.org/browse/MNG-1914  Please comment on it if you
 have any additional info.
 
 Just to be clear, my understanding is that mirroring _works_ fine, it
 just prints the wrong url in the error message if the artifact is not
 found.  Is that your experience also?
 
 -- 
 Wendy
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

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


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



Re: [Solved]Re: Central repository overriding with mirror

2007-11-22 Thread Wendy Smoak
On Nov 22, 2007 11:11 AM, Saloucious [EMAIL PROTECTED] wrote:

 Ok i've just trace Http request,

 You were right, Maven always prints the original url put does not send any
 HTTP request to repo01

I thought so... looks like there is already an issue open for it:
http://jira.codehaus.org/browse/MNG-1914  Please comment on it if you
have any additional info.

Just to be clear, my understanding is that mirroring _works_ fine, it
just prints the wrong url in the error message if the artifact is not
found.  Is that your experience also?

-- 
Wendy

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



[Solved]Re: Central repository overriding with mirror

2007-11-22 Thread Saloucious

Ok i've just trace Http request,

You were right, Maven always prints the original url put does not send any
HTTP request to repo01




Wendy Smoak-3 wrote:
 
 On Nov 22, 2007 9:20 AM, Saloucious [EMAIL PROTECTED] wrote:
 
 I'm trying to redirect central repository to my maven proxy,

 mirrors
 mirror
 idcentral/id
 mirrorOfcentral/mirrorOf
 urlhttp://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 have this on my list to double check (and complain about) but I
 think if you use a mirror, Maven always prints the original url,
 even if it is really contacting a different url.
 
 Can you watch the network traffic and confirm?
 
 I've replaced urlhttp://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
 
 Are you basing this conclusion solely on the printed messages?
 
 -- 
 Wendy
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

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


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