Maven

Running Solr With Maven

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

Integration Testing With Maven

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

Creating Profile Specific Configuration Files With Maven

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

Creating a Runnable Binary Distribution With Maven Assembly Plugin

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