Category Archives: craftsmanship

Findbugs and Android

Recently I needed to add FindBugs to a android-maven build. This itself is easy enough. The above will analyse the classes as part of the package proecess. This is fine, however, the generated file typically produces class names that … Continue reading

Posted in android, clean code, craftsmanship, maven | Leave a comment

Jacoco, Tycho, and Coverage Reports

It’s been a while since I posted here.  Most of my postings are now on Google+ or via twitter.  However, neither place does well for code snippets so here I am.   If you are using Tycho and want Java … Continue reading

Posted in build, craftsmanship, eclipse, maven, release engineering, testing, tycho | 11 Comments

Refactoring: Maintainable Web Services

One of the problems I have with WSDL based web services is the fact that operations are typically generated into one big interface file that must be implemented.   I’ve seen WSDLs with 50 to 70 operations, and this leads … Continue reading

Posted in clean code, craftsmanship, eclipse, refactoring, turmeric | 3 Comments

Push Button Builds.

Kim Moir had a good post on busting some build myths, and continuing the “MythBusters” analogy, I think we need to revisit a one of the myths. First let me say that I totally agree with Kim, that being in … Continue reading

Posted in ant, craftsmanship, eclipse, maven, release engineering | 11 Comments

Eclipse Parent POM and Static Code Analysis

If you are running an open source project at, and are using Maven then we have some good news for you.   A newly deployed Parent POM has been created for your use.  To use the parent pom, you … Continue reading

Posted in clean code, craftsmanship, eclipse, maven, tycho | 5 Comments

Enable Code Coverage for Integration and Unit Tests using Cobertura and Maven

On the turmeric project, we maintain a nightly dashboard.  On the dash board we collect statistics about the project, including code coverage, findbugs analysis and other metrics.   We had been using the Maven EMMA plugin to provide code coverage, … Continue reading

Posted in clean code, craftsmanship, eclipse, maven, turmeric | 6 Comments

Clean Code irk

Say you have something like the following in your code: The above is pretty basic and is probably used even in your own code. While the above works, a more meaningful API could be something like the following. Yes the … Continue reading

Posted in clean code, craftsmanship, eclipse, java, turmeric | 9 Comments