Jochen Wiedmann wrote:
> On Tue, May 19, 2009 at 2:21 PM, Mario Ivankovits <mario@ops.co.at> wrote:
>
>> Nice would be, as opposite to the <dependencies>, to have a global <excludes>,
no?
>>
>> That way, problems like this are sorted out once and for all.
>>
>
> +1
Jochen, you do realize that global exclusions would suffer from the same
problems as you described in the A B C scenario. Here is a slightly modified
version of your scenario.
1. Me building A, depending on B and C
2. B excluding commons-logging
3. C depends on cl-1.1.1
You would get a ClassNotFoundException if Maven gave priority to the exclusions
rule.
--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
|