Autodeploy to tomCat through maven. Fixed bugs