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

Christian Schulte closed MNG-6173.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.5.0-alpha-2

Modified the patch to move {{MavenSession}} object initialization out of 
{{DefaultGraphBuilder}} and extended the {{ProjectDependencyGraph}} interface 
to support querying all collected projects.

> MavenSession.getAllProjects() should return all projects in the reactor
> -----------------------------------------------------------------------
>
>                 Key: MNG-6173
>                 URL: https://issues.apache.org/jira/browse/MNG-6173
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.3.1, 3.3.3, 3.3.9
>            Reporter: Christoph Böhme
>            Assignee: Christian Schulte
>             Fix For: 3.5.0-alpha-2
>
>
> According to MNG-5582 {{MavenSession.getAllProjects()}} should return all 
> projects in the reactor even if the set is constrained by {{--projects}}. The 
> current implementation, however, returns the same constrained list that is 
> returned by {{MavenSession.getProjects()}}.
> This bug seems to have been introduced when MNG-5775 was implemented.
> I came across this bug when I tried to fix [an 
> issue|https://github.com/mojohaus/flatten-maven-plugin/issues/26] in the 
> flatten-maven-plugin. In order to solve the issue a list of all projects in 
> the reactor is needed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to