add collector as war project