Move jar assignment out of resource.