private static void assignProperties(List<NodePair> nodes, Map<String, String> uuidMap) {
for (NodePair current : nodes) {
JcrNode originalNode = current.originalNode;
JcrNode targetNode = current.targetNode;
JcrValueFactory vf = targetNode.getSession().getValueFactory();
JcrPropertyIterator propertyIterator = originalNode.getProperties();
while (propertyIterator.hasNext()) {
JcrProperty property = propertyIterator.nextProperty();
String name = property.getName();
if (!property.getDefinition().isProtected()) {