Java Archive

  • Tweak static imports in Eclipse

    Tweak static imports in Eclipse

    I write loads of unit tests to verify my code using JUnit 4. I favor the JUnit 4 annotation style approach over the predecessor’s style where you had to extend a certain JUnit base class. The JUnit guys also shipped a handy org.junit.Assert class which...

    Full Story

  • Struggling with Maven’s dependency mediation

    Struggling with Maven’s dependency mediation

    At my current position we use Maven for handling our project’s dependencies. This is not only useful for easy management of 3rd party dependencies you have, but also for handling internal dependencies between artifacts we develop (besides loads of other extra’s). Using Maven we’ve been...

    Full Story