/** * Returns the physical path of this logical path relative to the given POM * * @param pom can be <code>null</code> * @return a non-<code>null</code> path */ public String getPathRelativeToPom(final Pom pom) { return path.getPathRelativeToPom(pom); }
private PhysicalPath getModulePath(final String moduleName, final String moduleRoot, final Pom pom) { return new PhysicalPath(getModulePathId(moduleName), new File(moduleRoot, getPathRelativeToPom(pom))); }