[ http://jira.codehaus.org/browse/MNG-548?page=comments#action_42581 ] 

Joakim Erdfelt commented on MNG-548:
------------------------------------

MNG-559 is a duplicate of this jira.

I would like to see this patch be applied for site / report / plugin / 
documentation reasons.

> Add the reactor projects to MavenSession
> ----------------------------------------
>
>          Key: MNG-548
>          URL: http://jira.codehaus.org/browse/MNG-548
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-core
>     Versions: 2.0-beta-1
>     Reporter: Kenney Westerhof
>  Attachments: reactor.patch
>
> Original Estimate: 1 hour
>         Remaining: 1 hour
>
> I've made a patch to add the projects from the 'reactor' as discovered by 
> DefaultMaven.collectProjects
> to MavenSession, the plexus Context and make it available to the 
> PluginParameterExpressionEvaluator.
> This is needed for the maven-eclipse-plugin to be able to make references to 
> other projects
> (and not to their installed artifacts).
> Now you can do the following:
>   /**
>    * @parameter expression="${reactorProjects}"
>    * @required
>    * @readonly
>    */
>   private List reactorProjects; // List of MavenProject objects, ordered for 
> dependencies.
> I've had a discussion with trygve about this and he said there was no idea 
> what to do with the reactor.
> I think for the mean time, this is an elegant enough solution.

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