Maven
  1. Maven
  2. MNG-2675

add getModules() method which return a MavenProject List instead of module name String list

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.4
    • Fix Version/s: None
    • Component/s: POM
    • Labels:
      None
    • Environment:
      Maven 2.0.4, Windows 2000

      Description

      Hi,

      i try to develop a dashboard report plugin.

      But i have a problem with a multi-project pom which i used to test my plugin.

      I have a master project with modules which have some modules or project.

      Until now, i get the modules list with project.getModules() method and i compare each module name with the project name that i get with project.getCollectedProjects() method.

      And for each MavenProject object i retreive, i repeat the last algorithm (getModules() .....)

      all module names are the same as ArtifactId and my plugin work well.

      But with this new project, the module names and ArtifactId are different.

      and i can't retreive MavenProjects which are direct module of my pom.

      can you add a method to MavenProject object which return the list of modules as MavenProject object instead of String object ?

        Issue Links

          Activity

          David Vicente created issue -
          Brett Porter made changes -
          Field Original Value New Value
          Reporter David vicente [ d.vicente ] David Vicente [ dvicente72 ]
          Jason van Zyl made changes -
          Fix Version/s Reviewed [ 13555 ]
          Brett Porter made changes -
          Component/s POM [ 11339 ]
          Fix Version/s 2.1.x [ 13142 ]
          Fix Version/s Reviewed Pending Version Assignment [ 13555 ]
          Maria Odea Ching made changes -
          Fix Version/s 2.x [ 13145 ]
          Fix Version/s 2.1 [ 13142 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0-alpha-7 [ 16087 ]
          Fix Version/s 3.x [ 13145 ]
          Benjamin Bentmann made changes -
          Fix Version/s 3.0-alpha-8 [ 16088 ]
          Fix Version/s 3.0-alpha-7 [ 16087 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0-beta-1 [ 16089 ]
          Fix Version/s 3.0-alpha-8 [ 16088 ]
          Jason van Zyl made changes -
          Fix Version/s 3.0-beta-1 [ 16089 ]
          Fix Version/s 3.x / Backlog [ 16138 ]
          Benjamin Bentmann made changes -
          Link This issue is duplicated by MNG-4943 [ MNG-4943 ]
          Benjamin Bentmann made changes -
          Resolution Duplicate [ 3 ]
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 3.x / Backlog [ 16138 ]
          Assignee Benjamin Bentmann [ bentmann ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Workflow jira [ 12713226 ] Default workflow, editable Closed status [ 12752981 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12950111 ] Default workflow, editable Closed status [ 12986320 ]

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              David Vicente
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development