Package htmlcompiler

Class MavenHost

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="host")
public final class MavenHost
extends LogSuppressingMojo
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int port  
    org.apache.maven.project.MavenProject project  
    boolean replaceExtension  
    boolean requestApiEnabled  
    java.lang.String requestApiSpecification  
    java.lang.String watchedDirectories  

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors 
    Constructor Description
    MavenHost()  
  • Method Summary

    Modifier and Type Method Description
    void execute()  

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • project

      @Parameter(defaultValue="${project}", readonly=true) public org.apache.maven.project.MavenProject project
    • port

      @Parameter(defaultValue="8080") public int port
    • replaceExtension

      @Parameter(defaultValue="true") public boolean replaceExtension
    • watchedDirectories

      @Parameter public java.lang.String watchedDirectories
    • requestApiEnabled

      @Parameter(defaultValue="true") public boolean requestApiEnabled
    • requestApiSpecification

      @Parameter(defaultValue="src/main/websrc/requests.json") public java.lang.String requestApiSpecification
  • Constructor Details

  • Method Details

    • execute

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