A very simple Maven project with JGroups that shows a dead-simple leader election mechanism through shared locks