Class ServeMojo

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

    @Mojo(name="serve")
    public class ServeMojo
    extends WatchMojo
    • Field Detail

      • port

        @Parameter(property="jbake.port",
                   defaultValue="8080")
        protected Integer port
    • Constructor Detail

      • ServeMojo

        public ServeMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Specified by:
        execute in interface org.apache.maven.plugin.Mojo
        Overrides:
        execute in class WatchMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException