maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6173) MavenSession.getAllProjects() should return all projects in the reactor
Date Mon, 06 Mar 2017 23:15:32 GMT

    [ https://issues.apache.org/jira/browse/MNG-6173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15898350#comment-15898350
] 

Hudson commented on MNG-6173:
-----------------------------

SUCCESS: Integrated in Jenkins build maven-3.x #1559 (See [https://builds.apache.org/job/maven-3.x/1559/])
[MNG-6173] MavenSession.getAllProjects() should return all projects in (schulte: [http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=114ef6c5a2802e8758e466af92b70f51fd7a2929])
* (edit) maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
* (edit) maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
* (edit) maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java
* (edit) maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
* (edit) maven-core/src/main/java/org/apache/maven/DefaultMaven.java
* (edit) maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java
* (edit) maven-core/src/main/java/org/apache/maven/execution/ProjectDependencyGraph.java
* (edit) maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStub.java


> 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)

Mime
View raw message