String (MavenDomParent mavenDomParent) { String groupId = mavenDomParent.getGroupId().getStringValue(); String artifactId = mavenDomParent.getGroupId().getStringValue(); String version = mavenDomParent.getVersion().getStringValue(); String relativePath = mavenDomParent.getRelativePath().getStringValue(); return "Parent (" + groupId + ':' + artifactId + ':' + version + (StringUtil.isEmpty(relativePath) ? "" : ", relativePath=\"" + relativePath) +"\")"; }