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 int
port
org.apache.maven.project.MavenProject
project
boolean
replaceExtension
boolean
requestApiEnabled
String
requestApiSpecification
CompilerType
type
String
validation
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
-
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
-