Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5956

Invalid DuplicateProjectException if physically same pom.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 3.2.x
    • Fix Version/s: None
    • Component/s: core
    • Environment:
    • Flags:
      Patch

      Description

      Several projects I've worked on have lots of modules, some to aid developers sub modules have been hijacked to also build other projects. Take the following example.
      ./pom.xml
      ./common/pom.xml
      ./sub1/pom.xml
      ./sub2/pom.xml

      If sub1 and sub2 both include <module>../common</module> then DuplicateProjectException is thrown. I've created a patch which before throwing the exception does one last check to ignore instances where the clash is actually the same physical pom file.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nhoj.patrick John Patrick
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m