add dependencies & war