You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Patrick (JIRA)" <ji...@codehaus.org> on 2014/12/14 21:34:10 UTC
[jira] (MNG-5736) ProjectSorter invalid duplication checking
John Patrick created MNG-5736:
---------------------------------
Summary: ProjectSorter invalid duplication checking
Key: MNG-5736
URL: https://jira.codehaus.org/browse/MNG-5736
Project: Maven
Issue Type: Bug
Components: Bootstrap & Build
Affects Versions: 3.2.3
Environment: n/a
Reporter: John Patrick
Attachments: build.log, build-patched.log, exact-same-module.zip, maven-core.patch.ProjectSorter.patch
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.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)