Customize JAR manifest entries with Maven/Gradle

How many times have you found yourself in a situation where you can’t tell if the artifacts used by the application are the correct ones or not? How many times have you looked at a bug report stating that the problem is caused by version X of a particular artifact but you are certain the bug was fixed in said release? On closer inspection (after unpacking, debugging, even decompiling!) you find that the artifact in production is not the right one even though the version appears to be the correct one. One option we have to mitigate this problem is Read More


Maven scopes vs. Gradle configurations

Both Maven and Gradle are popular choices when it comes to building Java projects. These tools share common traits but there are some key differences that make you more productive depending on a particular scenario (no, I’m not referring to the XML DSL vs. Groovy/Kotlin DSL schism), case in point scopes vs. configurations. Scopes and configurations are used by each tool to define dependencies and how they affect different classpaths, such as the compilation and runtime classpaths. Maven defines 6 scopes: compile, runtime, provided, system, test, and import. Gradle on the other hand defines the following configurations when the Java Read More


Java adventures in Japan

Three weeks ago I embarked on a 15 day trip to the land of the rising sun: Japan. The trip was a combination of some personal time and conferences. I must say that Kyoto was by far the most eye opening and awe inspiring place during this voyage. While visiting Fushimi Inari Taisha make sure to bring comfy shoes and water, walk the whole path around Mt. Inari, you won’t be disappointed. Granted there are other incredible places to visit in the country, very much looking forward to the next opportunity to discover those gems. The first stop in the Read More


ˆ Back To Top