Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
3.2.3
-
None
-
None
-
n/a
-
Patch
Description
One pom has two modules, both modules link to the same third module.
ProjectSorter detects this as a DuplicateProjectException, but in fact if you check getFile() for both projects they are in fact the exact same underlying pom.xml.
So I've provided a patch to ProjectSorter which check and skips the conflicting project, prior to throwing DuplicateProjectException.
Not sure if I should be fixing ProjectSorter or if the bug needs to be fixed earlier...
Testcase, execute the parent pom, with maven-core and it fails, then build maven-core with the supplied patch and rebuild the parent pom.