Class BeanshellPropertyMojo

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

    @Mojo(name="bsh-property",
          defaultPhase=VALIDATE,
          threadSafe=true)
    public class BeanshellPropertyMojo
    extends AbstractDefinePropertyMojo
    Define one or many properties as a result of a Beanshell script invocation. Like gmaven-plugin, some variables are defined:
    • project: the actual Maven project,
    • session: the executing MavenSession,
    • settings: the executing Settings.
    Since:
    1.8
    Author:
    Hervé Boutemy
    • Constructor Detail

      • BeanshellPropertyMojo

        public BeanshellPropertyMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoFailureException
        Main plugin execution
        Throws:
        org.apache.maven.plugin.MojoFailureException