I implemented the solution 5, reviews are welcome. http://anonscm.debian.org/cgit/pkg-java/java-common.git Emmanuel Bourg