[NIFI-198] Prerequisites is not correctly checked

 Using maven-enforcer-plugin to check the correct maven version.