packaging services as war file