Class Deploy

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

    public class Deploy
    extends AbstractHostPortMojo
    A deploy mojo
    Author:
    Jesper Pedersen
    • Constructor Detail

      • Deploy

        public Deploy()
        Constructor
    • Method Detail

      • setFile

        public void setFile​(File v)
        Set the file
        Parameters:
        v - The value
      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Execute
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Specified by:
        execute in class AbstractHostPortMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException - Thrown if the plugin cant be executed
        org.apache.maven.plugin.MojoFailureException - Thrown if there is an error