The RESTful API Modeling Language (RAML) is a YAML-based language that is used for describing REST(ful) APIs. I like the RAML syntax because it's text based, versatile, and easy to use. However, when I publish a REST API, I must provide readable API documentation or no one will use my API. This blog post describes […] Read more
Maven
FindBugs is a static code analysis tool which identifies problems found from Java code. We can integrate FindBugs into our build process by using the FindBugs Maven plugin. This blog post identifies four typical use cases and describes how we can configure the FindBugs Maven plugin to support each use case. The described use cases […] Read more
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
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