Infosys interview question

Maven dependency and war deployment