Adds maven plugins and configure build procedure.