Class RunWarMojo

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

    @Mojo(name="run-war",
          requiresDependencyResolution=RUNTIME)
    @Execute(phase=PACKAGE)
    public class RunWarMojo
    extends AbstractHerokuMojo
    Starts the web application in a way that is very similar to how it is run on Heroku. JAVA_OPTS and WEBAPP_RUNNER_OPTS specified in configVars will also be picked up by this goal and used to run your application.
    • Constructor Detail

      • RunWarMojo

        public RunWarMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException
        Throws:
        org.apache.maven.plugin.MojoExecutionException