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

Limit project references to modules only

    XMLWordPrintableJSON

Details

    Description

      In my workspace, I have a multi-module project A with A1, A2 modules.
      I also have another multi-module project B with B1, B2 modules.

      A1 has a dependency on B1 and I'm using 'useProjectReferences' (true) and A2 depends on A1.

      When I'm doing "mvn eclipse:eclipse" on A, the result I want:

      A2 references workspace project A1
      A1 uses repository artifact B1 (not the workspace project)

      Is there a way to limit 'useProjectReferences' only to modules? Or listing the projects to reference?

      The reason I want that is because I had weird behaviour on versions:

      A1 depends on C version 2.0
      B1 depends on C version 1.5

      and the version of C taken during runtime of A1 is the one from B1 (1.5) instead of 2.0 version.

      Attachments

        1. ScreenShot278.jpg
          26 kB
          Jean-Pierre Froud

        Activity

          People

            Unassigned Unassigned
            jaypi Jean-Pierre Froud
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: