Package htmlcompiler.commands.maven
Class MavenHost
java.lang.Object
org.apache.maven.plugin.AbstractMojo
htmlcompiler.commands.maven.MavenHost
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="host")
public final class MavenHost
extends org.apache.maven.plugin.AbstractMojo
-
Field Summary
Fields Modifier and Type Field Description intportorg.apache.maven.project.MavenProjectprojectbooleanreplaceExtensionbooleanrequestApiEnabledStringrequestApiSpecificationCompilerTypetypeStringvalidationStringwatchedDirectoriesFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors Constructor Description MavenHost() -
Method Summary
Modifier and Type Method Description voidexecute()Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
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
-
validation
-
type
-
-
Constructor Details
-
MavenHost
public MavenHost()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoFailureException
-