Class BeanshellMojoAdapter

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.component.factory.bsh.BshComponent

    @Deprecated
    public class BeanshellMojoAdapter
    extends org.apache.maven.plugin.AbstractMojo
    implements org.codehaus.plexus.component.factory.bsh.BshComponent
    Deprecated.
    Scripting support for mojos is deprecated and is planned tp be removed in maven 4.0
    Mojo adapter for a Beanshell Mojo.
    Author:
    Brett Porter
    • Constructor Detail

      • BeanshellMojoAdapter

        public BeanshellMojoAdapter​(org.apache.maven.plugin.Mojo mojo,
                                    bsh.Interpreter interpreter)
        Deprecated.
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Deprecated.
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • getInterpreter

        public bsh.Interpreter getInterpreter()
        Deprecated.
        Specified by:
        getInterpreter in interface org.codehaus.plexus.component.factory.bsh.BshComponent