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

ProjectBuilder.build(List<File> projects, boolean, ProjectBuildingRequest) doesn't honor ProjectBuildingRequest.isResolveDependencies()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.5.3
    • Fix Version/s: 3.6.1
    • Component/s: core
    • Labels:
      None

      Description

      I'm willing to update Eclipse m2e to take advantage of the ProjectBuilder.build(List<File> project, boolean, ProjectBuildingRequest) to avoid duplication of MavenProject in the IDE caused by ProjectBuilder.build(File singleFile, ProjectBuildingRequest).

      It's already measured to have drastically good impact on the IDE, as explained in https://bugs.eclipse.org/bugs/show_bug.cgi?id=515668#c20 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=515668#c38.

      However, using this cause regressions because the multi-projects entry-point method seems to totally ignore the ProjectBuildRequest.isResolveDependencies() flag and never returns a valid list of MavenProject.getArtifacts().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                mickael.istria Mickael Istria
              • Votes:
                4 Vote for this issue
                Watchers:
                14 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