Andrei-
I'm thinking we need to add <scope>runtime</scope> to the slf4j-log4j12
dependency in cli/pom.xml. Am testing it now.
My reasoning: most of the poms rightly give <scope>test</scope> to that
logging-implementation dependency. However cli (and example) give it
the default scope which is "compile" which works fine until we combine
it. In the presence of multiple scopes, "test" seems to trump "compile"
(surprisingly to me). "runtime" however trumps both. This according to
[1].
Best
Alex
[1]
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope
On 13/12/2011 20:42, Andrei Savu wrote:
Unfortunately I am not happy with the binary release. Is anyone else having
CLI logging issues?
It should be something easy to fix.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
details.