Fix local maven building, Fix template paht in defaul.portal.xml, Increase web.xml version 2.4 to 2.5