[ 
https://issues.apache.org/jira/browse/MNG-6529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MNG-6529:
-------------------------------
    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()}}.

  was:
I'm willing to upfate Eclipse m2e to take advantage of the 
`ProjectBuilder.build(List<File> project, boolean, ProjectBuildingRequest)` in 
Eclipse m2e to avoid duplication of MavenProject in the IDE in place of 
`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()`.


> ProjectBuilder.build(List<File> projects, boolean, ProjectBuildingRequest) 
> doesn't honor ProjectBuildingRequest.isResolveDependencies()
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-6529
>                 URL: https://issues.apache.org/jira/browse/MNG-6529
>             Project: Maven
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.5.3
>            Reporter: Mickael Istria
>            Assignee: Robert Scholte
>            Priority: Critical
>             Fix For: 3.6.1
>
>
> 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()}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to