Hi Josef,

Stadelmann Josef wrote:

> Ok Wayne
> or anybody else

[snip]

> What I do not understand is, why xalan-* and a few other artifacts must
> come down from
> http://shibboleth.internet2.edu/downloads/maven2/org/apache/
> 
> Where can I prevent this? can I? can I black-list proactively the
> <mirror><url>http://shibboleth.internet2.edu/downloads/maven2 ?
> 
> can someone more fluent with that confirm or explain me what happens?

M2 has the unfortunate habbit to take repositories into account that are 
somewhere declared in one of the POMs that are part of your build (i.e. also 
those in transitive 3rd party POMs). That's the reason why it is discouraged 
to declare repositories in POMs. Therefore your mirror declaration should 
have a <mirrorOf>*</mirrorOf> entry to mask all those additional "injected" 
repos. IIRC M3 behaves better, but uses such repos under some circumstances 
also.

Regards,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to