@Override
 public DefaultDeploymentDescriptor writeTo(Writer writer) {
   transformer.transform(toXmlNode(), writer);
   return this;
 }
 @Override
 public DefaultDeploymentDescriptor writeTo(Object path) {
   transformer.transform(toXmlNode(), fileResolver.resolve(path));
   return this;
 }