Pimp-my-Pumpkin!

As Halloween is approaching and the aftternoons grow rainy, it's time for some tinkering. So, why not try to get the pumpkins a bit more interesting than cut-out veggies? Getting…

Continue Reading Pimp-my-Pumpkin!

PowerMock Part 2

In JayView 17 we presented a short introduction to PowerMock, a framework that allows you to create automated tests for almost any code in isolation from its environment. In this…

Continue Reading PowerMock Part 2

Executable .jar, with onejar-maven-plugin

Onejar-maven-plugin collects your application including dependencies, into one executable jar. It's both easy and works well! (UPDATED for version 1.3.0. See below.) It lets all your dependency jars stay jars, and your code is in its own jar. All of those jars are put in a bigger jar, which is made executable.

Configuration

It may sound weird, but it's quite elegant! Just put this in your pom.xml's <plugins> tag to make it work:[...]

Continue Reading Executable .jar, with onejar-maven-plugin

End of content

No more pages to load