void (Element xmlProperties, MavenModelBase mavenModelBase) { if (xmlProperties == null) return; Properties props = mavenModelBase.getProperties(); for (Element each : xmlProperties.getChildren()) { String name = each.getName(); String value = each.getTextTrim(); if (!props.containsKey(name) && !isEmptyOrSpaces(name)) { props.setProperty(name, value); } } }