AMBARI-8655. AMS build fails with maven version higher then 3.0.5. (mpapirkovskyy)