pom.setParent(parent);
mvn.setPOM(pom);
}
else if (relativePath != null)
{
PathspecParser parser = new PathspecParser(resources, shell.getCurrentProject().getProjectRoot(), relativePath);
List<Resource<?>> resolvedResources = parser.resolve();
if (!resolvedResources.isEmpty()
&& factory.containsProject(resolvedResources.get(0).reify(DirectoryResource.class)))
{
Project parentProject = factory.findProject(resolvedResources.get(0).reify(DirectoryResource.class));
MavenCoreFacet parentCore = parentProject.getFacet(MavenCoreFacet.class);