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 GwtOptionsInvokes 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
Fields Modifier and Type Field Description protected org.apache.maven.execution.MavenSessionsessionprotected org.apache.maven.toolchain.ToolchainManagertoolchainManager
-
Constructor Summary
Constructors Constructor Description CompileMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()java.io.FilegetDeployDir()java.io.FilegetExtraDir()java.lang.StringgetLocalWorkers()java.lang.StringgetLogLevel()java.lang.IntegergetOptimize()java.lang.StringgetSourceLevel()java.lang.StringgetStyle()java.io.FilegetWarDir()java.io.FilegetWorkDir()booleanisDraftCompile()
-
-
-
Method Detail
-
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
@Nullable public java.lang.String getLogLevel()
- Specified by:
getLogLevelin interfaceGwtOptions
-
getStyle
@Nullable public java.lang.String getStyle()
- Specified by:
getStylein interfaceGwtOptions
-
getOptimize
@Nullable public java.lang.Integer getOptimize()
- Specified by:
getOptimizein interfaceGwtOptions
-
getWarDir
public java.io.File getWarDir()
- Specified by:
getWarDirin interfaceGwtOptions
-
getWorkDir
public java.io.File getWorkDir()
- Specified by:
getWorkDirin interfaceGwtOptions
-
getDeployDir
public java.io.File getDeployDir()
- Specified by:
getDeployDirin interfaceGwtOptions
-
getExtraDir
@Nullable public java.io.File getExtraDir()
- Specified by:
getExtraDirin interfaceGwtOptions
-
isDraftCompile
public boolean isDraftCompile()
- Specified by:
isDraftCompilein interfaceGwtOptions
-
getLocalWorkers
@Nullable public java.lang.String getLocalWorkers()
- Specified by:
getLocalWorkersin interfaceGwtOptions
-
getSourceLevel
@Nullable public java.lang.String getSourceLevel()
- Specified by:
getSourceLevelin interfaceGwtOptions
-
-