You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/07/28 09:28:57 UTC
[jira] Closed: (MNG-548) Add the reactor projects to MavenSession
[ 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.
--
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [jira] Closed: (MNG-548) Add the reactor projects to MavenSession
Posted by John Casey <jd...@commonjava.org>.
-----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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org