Nuno Marujo

Nuno Marujo

Maven Helper

here to help lettering text on black background

In case you are working with Maven, there is a really cool plugin for IntelliJ IDEA that may help you manage your dependencies and fixing conflicts. It is called Maven Helper. You can install it right from the site or…

Leader election on k8s

food red yellow colorful

The problem Sometimes there are situations on which you have an application and you need to run multiple instances of it, however there is some particular task (or set of tasks) that you would like only one instance to execute.…

What is reflection?

closeup photo of primate

If you are a Java developer you probably already heard this jargon, but do you really know what it is? Definition If you look for a definition online, you may find something like: Reflection is a feature in the Java…

@Primary – use wisely

caution danger information safety

On a previous post we revised how to use @Qualifier and how it allows you to disambiguate what Bean to inject, when there are several candidates. However, that is not the the only way you can tell Spring which candidate…

Touch ID on terminal

If you have Touch ID available on your machine and are tired of typing in your password each time you use sudo, use the following guide to enable Touch ID on your terminal. Edit Add the following line on…

Maven auto-reload

Some time ago Jetbrains removed the maven auto-reload from IntelliJ. The community was quite upset (and rightfully so), so eventually it came back as an option. In order to enable it back go to the Maven window and choose Auto-Reload…