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 int
port
org.apache.maven.project.MavenProject
project
boolean
replaceExtension
boolean
requestApiEnabled
String
requestApiSpecification
String
watchedDirectories
-
Constructor Summary
Constructors Constructor Description MavenHost()
-
Method Summary
Modifier and Type Method Description void
execute()
-
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
-
requestApiEnabled
@Parameter(defaultValue="true") public boolean requestApiEnabled -
requestApiSpecification
-
-
Constructor Details
-
MavenHost
public MavenHost()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-