String (String propName) { if (propName.startsWith("parent.")) { MavenDomParent parentDomElement = projectDom.getMavenParent(); if (!parentDomElement.exists()) { return null; } MavenId parentId = new MavenId(parentDomElement.getGroupId().getStringValue(), parentDomElement.getArtifactId().getStringValue(), parentDomElement.getVersion().getStringValue()); propName = propName.substring("parent.".length()); if (propName.equals("groupId")) { return parentId.getGroupId(); } if (propName.equals("artifactId")) { return parentId.getArtifactId(); } if (propName.equals("version")) { return parentId.getVersion(); } return null; } String result; result = MavenUtil.getPropertiesFromMavenOpts().get(propName); if (result != null) return result; result = MavenServerUtil.collectSystemProperties().getProperty(propName); if (result != null) return result; result = additionalPropertySource.get(propName); if (result != null) return result; if ("settings.localRepository".equals(propName)) { return MavenProjectsManager.getInstance(projectDom.getManager().getProject()).getLocalRepository().getAbsolutePath(); } return null; }