Cygwin BASH wrapper for Maven deploy:deploy-file- August 21, 2007 I frequently use Maven's deploy:deploy-file mojo for building project-local repositories. Many interesting 3rd-party Java libraries are not (yet) available from public Maven repositories (the otherwise excellent dev.java.net projects are particularly weak in this respect), but I want to use them in my project POM. What to do I store them with my project. This is not an ideal solution, but it is practical. To help me deploying jars, sources and javadocs I wrote a simple BASH wrapper script for.http://binkley.blogspot.com/2007/08/cygwin-bash-wrapper-for-maven.html Recursive "toString"- August 20, 2007 Sometimes for debugging I want to dump an object recursively. That is, I'd like to see not just an Apache Commons Lang-style toString, but a recursive version which descends fields to display their inner bits as well. Rather than complain, I coded my own. Enjoy! public static String recursiveToString(final Object o) final StringBuilder buffer = new StringBuilder(); recursiveToString(new StringBuilder(), o, buffer, new HashSet<Object>()); return...http://binkley.blogspot.com/2007/08/recursive-tostring.html Lubo Motl answers some physics questions- August 20, 2007 Wow! I miss physics sometimes.http://binkley.blogspot.com/2007/08/lubo-motl-answers-some-physics.html |