DT-6372:check whether maven is avalible.