Class DefaultMojoExecutionConfigurator
java.lang.Object
org.apache.maven.lifecycle.internal.DefaultMojoExecutionConfigurator
- All Implemented Interfaces:
MojoExecutionConfigurator
@Named
@Singleton
public class DefaultMojoExecutionConfigurator
extends Object
implements MojoExecutionConfigurator
- Since:
- 3.3.1, MNG-5753
-
Constructor Summary
ConstructorDescriptionDeprecated.Do not use this ctor directly, inject this component instead.DefaultMojoExecutionConfigurator
(MessageBuilderFactory messageBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(MavenProject project, MojoExecution mojoExecution, boolean allowPluginLevelConfig) Create the MojoExecution configuration based on configuration for a Mojo in the MavenProject and the default configuration for the Mojo from the containing plugin's plugin.xml descriptor.
-
Constructor Details
-
DefaultMojoExecutionConfigurator
Deprecated.Do not use this ctor directly, inject this component instead.Default ctor is used in IT and most probably some 3rd party code. For those cases, we do provide sane defaults but given this is a component, injection should be used, replacing direct instantiation. -
DefaultMojoExecutionConfigurator
-
-
Method Details
-
configure
public void configure(MavenProject project, MojoExecution mojoExecution, boolean allowPluginLevelConfig) Description copied from interface:MojoExecutionConfigurator
Create the MojoExecution configuration based on configuration for a Mojo in the MavenProject and the default configuration for the Mojo from the containing plugin's plugin.xml descriptor.- Specified by:
configure
in interfaceMojoExecutionConfigurator
- Parameters:
project
-mojoExecution
-allowPluginLevelConfig
-
-