PublishingDependencyRevisionResolver drResolver;
if (deliverTarget != null && deliverTarget.trim().length() > 0) {
drResolver = new DeliverDRResolver();
} else {
drResolver = new DefaultPublishingDRResolver();
}
DeliverOptions options = new DeliverOptions(status, pubdate, CacheManager.getInstance(
settings, cache), drResolver, doValidate(settings), replacedynamicrev,
splitConfs(conf)).setResolveId(resolveId);