-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Funny thing, actually...I'd planned on using ${session.sortedProjects} for that access...
- -j Brett Porter (JIRA) wrote: | [ http://jira.codehaus.org/browse/MNG-548?page=all ] | | Brett Porter closed MNG-548: | ---------------------------- | | Assign To: Brett Porter | Resolution: Fixed | | John actually implemented this already (except for the plugin expression) | | |>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 |> Assignee: Brett Porter |> 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. | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFC6PuJK3h2CZwO/4URAsZ8AJ4zMniZpq8Eyy1DFzoEKVafwe9TDgCfVKeK CVohNB4JTvViTa/9gkYAxZ4= =idZI -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]