Make reactor/multiproject sorted list of projects available in m2.
------------------------------------------------------------------

         Key: MNG-559
         URL: http://jira.codehaus.org/browse/MNG-559
     Project: Maven 2
        Type: New Feature
  Components: maven-core  
    Versions: 2.0-alpha-3    
 Environment: All environments.
    Reporter: Joakim Erdfelt
    Priority: Minor


The ability for plugins and other external tools to obtain the project list 
(used to be called ) is desired.

In maven1/jelly we used to be able to use the reactor tag in data gathering 
mode to obtain this list.
<maven:reactor
          basedir="${basedir}"
          banner="Gathering project list"
          includes="${maven.multiproject.includes}"
          excludes="${maven.multiproject.excludes}"
          postProcessing="true"
          collectOnly="true"
          collectionVar="reactorProjectList"
          ignoreFailures="true"
        />

In m2 I see that the maven-core:org.apache.maven.DefaultMaven class has the 
sorted list of projects aleady, is it possible to either ...

1) make that sorted list of projects from DefaultMaven available thru one of 
the models (MavenSession?)
2) make a utility method accessible via plugins (plugin-api?) to recalculate 
this list from a provided MavenProject location onwords?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to