fixes #1497 so that "mvn install" is enough to force a restart of a java container if the jar has been actually changed on disk