Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2746

project-new duplicates child module name when re-creating a module after having deleted it

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.7.1.Final
    • 3.6.1.Final
    • Projects
    • None
    • Hide
      1. Create a parent POM for a project
      2. Create a child `foo` module using `project-new --named foo`
      3. Decide you want to re-create that `foo` module so: `cd ..; rm -rf foo`
      4. Re-create `foo` child module: `project-new --named foo`
      5. Error!
      Show
      Create a parent POM for a project Create a child `foo` module using `project-new --named foo` Decide you want to re-create that `foo` module so: `cd ..; rm -rf foo` Re-create `foo` child module: `project-new --named foo` Error!

      This leads to errors such as:
      **ERROR** 2 problems were encountered while building the effective model for org.cdstore:project:1.0.0-SNAPSHOT
      [ERROR] 'modules.module[1]' specifies duplicate child module cdservice @ line 11, column 13
      [ERROR] 'modules.module[2]' specifies duplicate child module cdservice @ line 12, column 13

              rhn-support-ggastald George Gastaldi
              claprun Chris Laprun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: