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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.5.3
    • 3.6.1
    • Core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

                Slack

                  Issue deployment