move scala doc jar task to deploy phase