[ http://jira.codehaus.org/browse/MNG-548?page=all ]
Brett Porter updated MNG-548: ----------------------------- Description: 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. was: 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. Fix Version: 2.0-beta-1 Environment: > 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 > Fix For: 2.0-beta-1 > 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]