git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-05-04 20:40:04 +00:00
parent acfba80edc
commit 705f269567
1 changed files with 10 additions and 10 deletions

View File

@ -5,7 +5,7 @@
--- ---
29-April-2005 29-April-2005
* Abstract Abstract
We're moving toward integrating mojos as first-class plexus components, while We're moving toward integrating mojos as first-class plexus components, while
at the same time avoiding introducing required plexus dependencies into the at the same time avoiding introducing required plexus dependencies into the
@ -22,9 +22,9 @@
there, we need to do several things to add capability to the default there, we need to do several things to add capability to the default
configuration of plexus. This document will detail those changes. configuration of plexus. This document will detail those changes.
* Container Enhancements Container Enhancements
** ExpressionEvaluator * ExpressionEvaluator
Currently, the expression evaluator used to resolve configuration values Currently, the expression evaluator used to resolve configuration values
is the DefaultExpressionEvaluator, which is a local variable within the is the DefaultExpressionEvaluator, which is a local variable within the
@ -36,7 +36,7 @@
We need a replacement for DefaultExpressionEvaluator that is capable of We need a replacement for DefaultExpressionEvaluator that is capable of
traversing an object graph and extracting Object values, not just Strings. traversing an object graph and extracting Object values, not just Strings.
** ComponentConfigurator * ComponentConfigurator
Currently, the container uses BasicComponentConfigurator, to configure Currently, the container uses BasicComponentConfigurator, to configure
components. This wouldn't be a problem, except for the local instance of components. This wouldn't be a problem, except for the local instance of
@ -45,7 +45,7 @@
implementation under a different roleHint, or else replace the implementation under a different roleHint, or else replace the
BasicComponentConfigurator. BasicComponentConfigurator.
** Other * Other
We may need to define a new lifecycle/phase to contextualize a mojo right We may need to define a new lifecycle/phase to contextualize a mojo right
before it's used, and reset it's state afterward. Up to now, the approach before it's used, and reset it's state afterward. Up to now, the approach
@ -55,9 +55,9 @@
run a reactorized project...the successive calls may leave behind configuration run a reactorized project...the successive calls may leave behind configuration
artifacts from invocation to invocation. artifacts from invocation to invocation.
* Maven Modifications Maven Modifications
** DefaultPluginManager * DefaultPluginManager
s/getMojoConfiguration()/getConfiguration()/g s/getMojoConfiguration()/getConfiguration()/g
@ -66,17 +66,17 @@
some way of recontextualizing the mojo, and all we would need to do is inject some way of recontextualizing the mojo, and all we would need to do is inject
POM configuration via the lookup method or something. POM configuration via the lookup method or something.
** PluginDescriptorBuilder * PluginDescriptorBuilder
s/getMojoConfiguration()/getConfiguration()/g s/getMojoConfiguration()/getConfiguration()/g
That should be all there is to it. That should be all there is to it.
** MojoDescriptor * MojoDescriptor
Remove set/getMojoConfiguration(..), as it will become obsolete. Remove set/getMojoConfiguration(..), as it will become obsolete.
** MavenSession * MavenSession
We may need to enable the context injection here, since this will be We may need to enable the context injection here, since this will be
instantiated per-project. If we always inject the same context parameters, instantiated per-project. If we always inject the same context parameters,