void (MavenDomProperties props, Map<String, String> result) { XmlTag propsTag = props.getXmlTag(); if (propsTag != null) { for (XmlTag each : propsTag.getSubTags()) { result.put(each.getName(), each.getValue().getTrimmedText()); } } }