Uploaded image for project: 'Maven Eclipse Plugin (RETIRED)'
  1. Maven Eclipse Plugin (RETIRED)
  2. MECLIPSE-364

incorrect dependencies with different projectNameTemplates in submodules

    XMLWordPrintableJSON

Details

    • Patch

    Description

      If you have a project with different submodules and you use different projectNameTemplate-Settings in some modules, the resulting .project and .classpath -Files contains wrong project-names, because the wrong template-name will be applied.

      Example:

      A
      +--B (with projectNameTemplate "b[artifactId]")
      +--C (with projectNameTemplate "c[artifactId]")

      And C depends on B. In C the dependency will result in project c-B and not b-B, as suspected.

      A testcase is currently not submitted, because I don't know how to check files in sub-projects. Only the expected-directory of the main-project will be checked.

      Attachments

        1. maven-eclipse-plugin.test.patch
          12 kB
          Todor Todorov
        2. maven-eclipse-plugin.patch
          6 kB
          Todor Todorov
        3. patch.txt
          23 kB
          Frank Stolle

        Activity

          People

            baerrach Barrie Treloar
            muhviehstarr Frank Stolle
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: