apply to jar and deploy