Maven includes Commons Logging by default, which isn't what you really want if you'd like to use SLF4J for your logging facade. A nice solution to fake out Maven was written at this blog. Basically you have a fake version 99.0 as an empty jar named the same as Commons Logging so it's downloaded instead.
I noticed builds were running really slow and it seems that he Maven repository (http://no-commons-logging.zapto.org/mvn2) has been down for days. As a temporary solution I've put the no Commons Logging jars into the Spring by Example repo and put a mirror entry into my settings.xml.
It would be nice if Maven just had a way to do global excludes if you don't want a jar no matter what transitive dependencies are resolved.
~/.m2/settings.xml
<settings>
<mirrors>
<mirror>
<id>no-commons-logging</id>
<name>No Commons Logging</name>
<url>http://www.springbyexample.org/maven/repo</url>
<mirrorof>no-commons-logging</mirrorof>
</mirror>
</mirrors>
</settings>
Wednesday, November 26, 2008
Wednesday, November 19, 2008
SpringOne Americas 2008
I'm presenting this year at SpringOne Americas 2008. I'm really looking forward to it and have been working on examples and the slides for the conference. That's why I haven't posted much lately. I'll be presenting a Case Study of my investigation of GWT, Comet, and Bayeux integration with Spring for developing a trade monitor. I'll be posting the examples soon and will also write about them, but the slides will just be for those that the attend the conference. It should be a very good conference. I really enjoyed it last year. It's one of the more technical conferences I've been to.
Subscribe to:
Posts (Atom)