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

Brett Porter updated MNG-1916:
------------------------------

    Component/s: Reactor and workspace
                 Plugin API

> Making it possible for plug-in to add modules to the reactor programatically
> ----------------------------------------------------------------------------
>
>                 Key: MNG-1916
>                 URL: http://jira.codehaus.org/browse/MNG-1916
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Plugin API, Reactor and workspace
>            Reporter: Nils Fredrik Gjerull
>             Fix For: 2.1.x
>
>
> I would like to be able to specify a number of directories as plug-in 
> directories, automatically discover every plug-in in those directories and 
> include them in the reactor. As I understands it the reactor with it's 
> modules ({{org.apache.maven.execution.ReactorManager}}) is created in 
> {{org.apache.maven.DefaultMaven}}. If I understands this correctly maven 
> plug-ins can't add projects to the reactor programatically.
> My proposition to solve this is to add a phase which will be executed after 
> the pom.xml is parsed, but before the information stored in 
> Model/MavenProject is used, and most importantly before the {{ReactorManager 
> is created}}. Then you can add information to the MavenProject 
> programatically, increasing the flexibility for plug-ins.
> I am not fluent in the maven2 code base, but it seems to me that this require 
> quite a lot of changes to the code. As I understands it the life cycle starts 
> after the {{ReactorManager}} is made, and therefore after the information in 
> Model have started to be used.

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

        

Reply via email to