Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 384510 | Differences between
and this patch

Collapse All | Expand All

(-)a/org.eclipse.m2e.core/src/org/eclipse/m2e/core/project/LocalProjectScanner.java (-1 / +4 lines)
Lines 133-139 Link Here
133
      String pomName = modulePath + "/" + IMavenConstants.POM_FILE_NAME; //$NON-NLS-1$
133
      String pomName = modulePath + "/" + IMavenConstants.POM_FILE_NAME; //$NON-NLS-1$
134
134
135
      MavenProjectInfo projectInfo = newMavenProjectInfo(pomName, pomFile, model, parentInfo);
135
      MavenProjectInfo projectInfo = newMavenProjectInfo(pomName, pomFile, model, parentInfo);
136
      projectInfo.setBasedirRename(getBasedirRename(projectInfo));
136
      //We only want to optionally rename the base directory not any sub directory
137
      if(parentInfo == null) {
138
        projectInfo.setBasedirRename(getBasedirRename(projectInfo));
139
      }
137
140
138
      Map<String, Set<String>> modules = new LinkedHashMap<String, Set<String>>();
141
      Map<String, Set<String>> modules = new LinkedHashMap<String, Set<String>>();
139
      for(String module : model.getModules()) {
142
      for(String module : model.getModules()) {

Return to bug 384510