Hello all,

I've created a trivial plugin which uses slf4j for logging:

  https://github.com/ceki/foo-plugin

It declares a dependency on slf4j-api and slf4j-jdk14

Here are my observations:

1) when running with maven 3.0.3 the slf4j declaration is honored,
i.e. logging goes through jul (slf4j-jdk14)

2) when running with maven 3.1-SNAPSHOT, the foo-plugins dependency
declaration on slf4j-api and binding are simply ignored. Everything
goes to slf4j-simple (the binding used by Maven)


I find this second result quite surprising. Apparently, this is
because Maven 3.1-SNAPSHOT exports the slf4j packages overriding the
plugin dependency declarations on slf4j.

In both scenarios, no exceptions are thrown.

You are welcome to conduct your own tests.

Best regards,

--
Ceki
65% of statistics are made up on the spot

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to