Class WatchMojo

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

    @Mojo(name="watch")
    public class WatchMojo
    extends BakeMojo
    • Field Detail

      • cleanDestination

        @Parameter(property="jbake.cleanDestination",
                   defaultValue="true")
        protected boolean cleanDestination
    • Constructor Detail

      • WatchMojo

        public WatchMojo()
    • 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 BakeMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException
      • watch

        protected void watch()