fix packaging to be a war instead of a jar for examples