Class OperationMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="operation",
          inheritByDefault=false,
          aggregator=true)
    public class OperationMojo
    extends AbstractWizardMojo
    Wizard to create operation files.
    • Constructor Detail

      • OperationMojo

        public OperationMojo()
    • Method Detail

      • getOperationProfiles

        public java.util.List<OperationProfile> getOperationProfiles()
      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class AbstractWizardMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • validate

        protected void validate()
                         throws org.apache.maven.plugin.MojoExecutionException
        Description copied from class: AbstractWizardMojo
        Validates the configuration.
        Overrides:
        validate in class AbstractWizardMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException - if project not set or misconfigured