List/Grid Tag Archives: Apache Maven

Using Maven Jetty plugin
Although I am using Maven since a long time I never used the Jetty plugin until recently. To be able to test a REST client I created a servlet which showed me all incoming parameters ...

Running unit tests and integration tests separately with Maven Failsafe and TestNG
Recently for my new pet project I decided that I would like to have some tests executed during standard mvn test and some other ones only during different phase, let’s call it integration ...

SLF4J Logging in Eclipse Plugins
Developing with Maven and pure Java libraries all the time, I never thought it could be a problem to issue a few log statements when developing an Eclipse plugin. But it looks like ...

Migrating a Large Project from Ant to Maven
The truth is we had been under difficult times. We spent almost three months to migrate our build mechanism from Ant to Maven. That’s the minimum time you have to put in your ...

Tips for Writing Maven Plugins
I’ve spent a lot of time recently writing or working on plugins for Maven recently. They’re simple, rewarding and fun to write. I thought I’d share a couple of tips ...

Maven Fluido Skin and Javadoc class diagrams
I have been using Maven sites for a while, and am very happy with it. I didn’t like to have to update my projects after Maven 3, but that was all right, Maven 3 brought many new cool ...

Maven Build Number Plugin – Sample Usage
Suppose we need to add a build number to some artifact (jar, war, etc.). Here I’d like to demonstrate the usage of buildnumber-maven-plugin. This post is based ...

Maven Cargo plugin for Integration Testing
A very common need in the lifecycle of a project is setting up integration testing. Luckily, Maven has built-in support for this exact scenario, with the following phases of the default ...

Jenkins: Deploying JEE Artifacts
With the advent of Continuous Integration and Continuous Delivery , our builds are split into different steps creating the deployment pipeline. Some ...

Cobertura and Maven: Code Coverage for Integration and Unit Tests
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. ...

