Class RunMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, GwtModuleReader
    Direct Known Subclasses:
    DebugMojo

    @Mojo(name="run",
          requiresDirectInvocation=true,
          requiresDependencyResolution=TEST)
    @Execute(phase=PROCESS_CLASSES,
             goal="war:exploded")
    public class RunMojo
    extends AbstractGwtWebMojo
    Runs the project in the GWT (Classic or Super) Dev Mode for development.
    Version:
    $Id$
    Author:
    ccollins, cooper
    • Field Detail

      • archiverManager

        @Component
        protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
        To look up Archiver/UnArchiver implementations
        Since:
        2.1.0-1
    • Constructor Detail

      • RunMojo

        public RunMojo()
    • Method Detail

      • getStartupUrl

        public java.lang.String getStartupUrl()
                                       throws org.apache.maven.plugin.MojoExecutionException
        Returns:
        the startup URL to open in hosted browser (gwt 1.6+)
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • doExecute

        public void doExecute()
                       throws org.apache.maven.plugin.MojoExecutionException,
                              org.apache.maven.plugin.MojoFailureException
        Specified by:
        doExecute in class AbstractGwtShellMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • getPort

        public int getPort()
      • setRunTimeOut

        public void setRunTimeOut​(int runTimeOut)
        Parameters:
        runTimeOut - the runTimeOut to set
      • setExecutedProject

        public void setExecutedProject​(org.apache.maven.project.MavenProject executedProject)
      • getProject

        public org.apache.maven.project.MavenProject getProject()
        Overrides:
        getProject in class AbstractGwtMojo
        Returns:
        the project