It doesn't work like that
Check Dependency mediation in
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

On 2/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm encountering an error with log4j. I have a
> transitive dependency on log4j-1.2.13 in my Maven 2
> plugin. However, it seems that when I run Maven 2 that
> Maven 2 resolves into log4j 1.2.6 (possibly because of
> another transitive dependency). This results in a
> runtime error with my plugin as it can't find
> "org/apache/log4j/xml/Log4jEntityResolver" (that class
> is not part of log4j 1.2.6). When running debug then I
> see the following:
>
> [DEBUG]       log4j:log4j:jar:1.2.13 (removed - nearer
> found: 1.2.6)
>
> This looks to me like a bug in the dependency
> resolution of Maven 2. Seems to think that 1.2.6 is a
> higher version than 1.2.13?
>
> Any ideas?
>
> Thanks,
> Chris
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to