Package net.ltgt.gwt.maven
Class CompileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.ltgt.gwt.maven.CompileMojo
- All Implemented Interfaces:
GwtOptions,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="compile",
defaultPhase=PREPARE_PACKAGE,
requiresDependencyResolution=COMPILE,
threadSafe=true)
public class CompileMojo
extends org.apache.maven.plugin.AbstractMojo
implements GwtOptions
Invokes the GWT Compiler on the project's sources and resources.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.ltgt.gwt.maven.GwtOptions
GwtOptions.CommandlineBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.maven.execution.MavenSessionprotected org.apache.maven.toolchain.ToolchainManagerFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
session
@Parameter(defaultValue="${session}", readonly=true, required=true) protected org.apache.maven.execution.MavenSession session -
toolchainManager
@Inject protected org.apache.maven.toolchain.ToolchainManager toolchainManager
-
-
Constructor Details
-
CompileMojo
public CompileMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getLogLevel
- Specified by:
getLogLevelin interfaceGwtOptions
-
getStyle
- Specified by:
getStylein interfaceGwtOptions
-
getOptimize
- Specified by:
getOptimizein interfaceGwtOptions
-
getWarDir
- Specified by:
getWarDirin interfaceGwtOptions
-
getWorkDir
- Specified by:
getWorkDirin interfaceGwtOptions
-
getDeployDir
- Specified by:
getDeployDirin interfaceGwtOptions
-
getExtraDir
- Specified by:
getExtraDirin interfaceGwtOptions
-
isDraftCompile
public boolean isDraftCompile()- Specified by:
isDraftCompilein interfaceGwtOptions
-
getLocalWorkers
- Specified by:
getLocalWorkersin interfaceGwtOptions
-
getSourceLevel
- Specified by:
getSourceLevelin interfaceGwtOptions
-