Class RunMojo

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

    @Mojo(name="run",
          requiresDependencyResolution=TEST)
    public class RunMojo
    extends AbstractSenchaMojo
    Starts a Jetty server serving the static resources of the workspace of an app or unit test app.
    If the parameters jooProxyTargetUri and jooProxyPathSpec are provided, all requests matching the jooProxyPathSpec are proxied to the jooProxyTargetUri. This is convenient to proxy-in some HTTP(S)-based service.
    • Constructor Detail

      • RunMojo

        public RunMojo()
    • Method Detail

      • setJooProxyTargetUri

        public void setJooProxyTargetUri​(String jooProxyTargetUri)
      • execute

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