When I started using Java 7, I noticed right away that the Cobertura Maven plugin doesn’t support it. This was a huge problem to me because I used code coverage reports every day. I did some research and found the JaCoCo code coverage library. It looked interesting and I decided to give it a shot. […] Read more
Maven
I received a question from a reader of my Spring Data book last week and decided to publish my answer as a blog post. The question was: How can I use Querydsl with Spring Data JPA in a multi-module Maven project? This blog post answers to that question and describes how we can create a […] Read more
Solr is an open source search server that is built by using the indexing and search capabilities of Lucene Core, and it can be used for implementing scalable search engines with almost any programming language. Even though Solr has many advantages, setting up a development environment is not one of them. This blog post fixes […] Read more
Adding integration tests to a Maven build has traditionally been a bit painful. I suspect that the reason for this is that the standard directory layout has only one test directory (src/test). If we want to use the standard directory layout and add integration tests to our Maven build, we have two options: First, we […] Read more
When we are writing software that is deployed to different environments, we often have to create different configuration files for each environment. If we are using Maven, we can do this by using build profiles. This blog post describes how we can create a build script that uses different configuration for development, testing, and production […] Read more
There are many ways that we can use when we want to share our applications with other people. For example, we can create a binary distribution that can be downloaded from our website. This blog post describes how we can create a runnable binary distribution by using the Maven Assembly Plugin. The requirements of our […] Read more