building jar and war