public void deliverDependency(ModuleRevisionId depMrid, String version, String status,
String depStatus) {
// call deliver target if any
if (deliverTarget != null && deliverTarget.trim().length() > 0) {
CallTarget ct = (CallTarget) getProject().createTask("antcall");
ct.setOwningTarget(getOwningTarget());
ct.init();
ct.setTarget(deliverTarget);
ct.setInheritAll(true);
ct.setInheritRefs(true);
Property param = ct.createParam();
param.setName("dependency.name");
param.setValue(depMrid.getName());
param = ct.createParam();
param.setName("dependency.published.status");
param.setValue(status);
param = ct.createParam();
param.setName("dependency.published.version");
param.setValue(version);
param = ct.createParam();
param.setName("dependency.version");
param.setValue(depMrid.getRevision());
param = ct.createParam();
param.setName("dependency.status");
param.setValue(depStatus == null ? "null" : depStatus);
ct.perform();
String deliveredProperty = depMrid.getName() + "." + depMrid.getRevision()
+ ".delivered";
getProject().setProperty(deliveredProperty, "true");
appendDeliveryList(deliveredProperty + " = true");