Class MojoExecutionScope
java.lang.Object
org.apache.maven.execution.scope.internal.MojoExecutionScope
- All Implemented Interfaces:
com.google.inject.Scope
,MojoExecutionListener
public class MojoExecutionScope
extends Object
implements com.google.inject.Scope, MojoExecutionListener
MojoExecutionScope
-
Constructor Details
-
MojoExecutionScope
public MojoExecutionScope()
-
-
Method Details
-
enter
public void enter() -
exit
- Throws:
MojoExecutionException
-
seed
-
seed
-
scope
public <T> com.google.inject.Provider<T> scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> unscoped) - Specified by:
scope
in interfacecom.google.inject.Scope
-
seededKeyProvider
public static <T> com.google.inject.Provider<T> seededKeyProvider() -
beforeMojoExecution
- Specified by:
beforeMojoExecution
in interfaceMojoExecutionListener
- Throws:
MojoExecutionException
-
afterMojoExecutionSuccess
- Specified by:
afterMojoExecutionSuccess
in interfaceMojoExecutionListener
- Throws:
MojoExecutionException
-
afterExecutionFailure
- Specified by:
afterExecutionFailure
in interfaceMojoExecutionListener
-