maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <>
Subject [jira] Updated: (MNG-1916) Making it possible for plug-in to add modules to the reactor programatically
Date Fri, 15 Jun 2007 14:50:59 GMT


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:
>             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:
For more information on JIRA, see:


View raw message