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

MavenSession.getAllProjects() should return all projects in the reactor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.1, 3.3.3, 3.3.9
    • 3.5.0-beta-1, 3.5.0
    • None
    • None

    Description

      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 in the flatten-maven-plugin. In order to solve the issue a list of all projects in the reactor is needed.

      Attachments

        Issue Links

          Activity

            People

              schulte77 Christian Schulte
              cboehme Christoph Böhme
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: