maven/maven-core
Igor Fedorenko 8700b05857 MNG-5530 Introduced mojo execution guice component scope
Mojo execution scoped components are annotated with @MojoExecutionScoped
They are created just before configured mojo instance is created
and disposed immediately after mojo execution finishes.

Execution scoped components can request @Inject MavenSession,
MavenProject and MojoExecution instances in addition to any
standard Maven core components and components defined in
maven plugin contributing execution scoped components.

Execution scoped components can be injected into Mojos using
standard /* @component */ javadoc (and likely new mojo
annotations).

If execution scoped component implements MojoExecutionListener
callback interface, its #afterMojoExecutionSuccess method will be
invoked after successful mojo execution and #afterMojoExecutionAlways
method will be executed after both successful and failed mojo
executions.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
2013-10-31 07:49:54 -04:00
..
src MNG-5530 Introduced mojo execution guice component scope 2013-10-31 07:49:54 -04:00
lifecycle-executor.txt o taking into account the common case where configuration is specified for many goal in a single configuration element which needs to be accounted for. 2009-05-04 13:09:06 +00:00
plugin-manager.txt o separated the sorter out of the reactor manager in preparation for making the reactor just an implementation of a local repository. shouldn't be tangled with sorting, that should be done before anything starts 2009-03-28 18:24:05 +00:00
pom.xml MNG-5530 Introduced mojo execution guice component scope 2013-10-31 07:49:54 -04:00
project-builder.txt o disable the tests in the bootstrap so ben and i can go all the way through to the embedder 2009-05-04 15:32:10 +00:00