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

Invalid DuplicateProjectException if physically same pom.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 3.2.x
    • None
    • Core
    • 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

            Unassigned Unassigned
            nhoj.patrick John Patrick
            Votes:
            0 Vote for this issue
            Watchers:
            3 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