Package htmlcompiler
Class MavenHost
java.lang.Object
org.apache.maven.plugin.AbstractMojo
htmlcompiler.tools.LogSuppressingMojo
htmlcompiler.MavenHost
- 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 intportorg.apache.maven.project.MavenProjectprojectbooleanreplaceExtensionbooleanrequestApiEnabledjava.lang.StringrequestApiSpecificationjava.lang.StringwatchedDirectories -
Constructor Summary
Constructors Constructor Description MavenHost() -
Method Summary
Modifier and Type Method Description voidexecute()
-
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
-
MavenHost
public MavenHost()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-