You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2009/12/27 22:30:56 UTC

[jira] Updated: (MNG-2675) add getModules() method which return a MavenProject List instead of module name String list

     [ http://jira.codehaus.org/browse/MNG-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-2675:
-------------------------------

    Fix Version/s:     (was: 3.x)
                   3.0-alpha-7

> add getModules() method which return a MavenProject List instead of module name String list
> -------------------------------------------------------------------------------------------
>
>                 Key: MNG-2675
>                 URL: http://jira.codehaus.org/browse/MNG-2675
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: POM
>    Affects Versions: 2.0.4
>         Environment: Maven 2.0.4, Windows 2000
>            Reporter: David Vicente
>             Fix For: 3.0-alpha-7
>
>
> 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 ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira