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 Details

    • DefaultMojoExecutionConfigurator

      @Deprecated public 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

      @Inject public DefaultMojoExecutionConfigurator(MessageBuilderFactory messageBuilderFactory)
  • 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 interface MojoExecutionConfigurator
      Parameters:
      project -
      mojoExecution -
      allowPluginLevelConfig -