I was looking at my maven based project's Solr-core dependencies (trunk), and observed some issues that I think should be fixed in Solr's maven poms. I ran mvn dependency:tree – the output is further below. There are two changes I see needed, related to logging:
- slf4j-jdk14 should be runtime scope, and optional.
- httpclient depends on commons-logging. Exclude this dependency from the httpclient dependency, and add a dependency on jcl-over-slf4j with compile scope.
- Zookeeper depends on Log4j, unfortunately. There is an issue to change this to SLF4J:
ZOOKEEPER-850. In the mean time we should exclude it and use log4j-over-slf4j with compile scope, at the solrj pom.
As an aside, it's unfortunate to see all those velocity dependencies. It even depends on struts – seriously?! I hope solritas gets put back into a contrib sometime:
Steve, if you'd like to me to create the patch, I will.