code: public static DeploymentEntry merge(DeploymentEntry deployment1, DeploymentEntry deployment2) {
  		final Map<String, String> mergedProperties = new HashMap<>(deployment1.asMap());
  		mergedProperties.putAll(deployment2.asMap());
  
  		final DescriptorProperties properties = new DescriptorProperties(true);
  		properties.putProperties(mergedProperties);
  
  		return new DeploymentEntry(properties);
  	}
docs: Merges two deployments entries. The properties of the first deployment entry might be
  overwritten by the second one.