public abstract class AbstractGwtShellMojo extends AbstractGwtModuleMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
style
GWT JavaScript compiler output style (-style OBF[USCATED], PRETTY, or DETAILED).
|
artifactFactory, artifactMetadataSource, classpathBuilder, GWT_DEV, GWT_GROUP_ID, GWT_USER, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, warSourceDirectory| Constructor and Description |
|---|
AbstractGwtShellMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArgumentDeploy(JavaCommand cmd) |
protected void |
addArgumentGen(JavaCommand cmd) |
protected void |
addCompileSourceArtifacts(JavaCommand cmd)
Add sources.jar artifacts for project dependencies listed as compileSourcesArtifacts.
|
protected void |
addPersistentUnitCache(JavaCommand cmd) |
protected JavaCommand |
createJavaCommand() |
abstract void |
doExecute() |
void |
execute() |
protected String |
getExtraJvmArgs() |
protected String |
getJvm() |
protected String |
getLogLevel() |
protected String |
getStyle() |
protected void |
postProcessClassPath(Collection<File> classpath)
hook to post-process the dependency-based classpath
|
void |
setTimeOut(int timeOut) |
getGwtModules, getModules, readModuleaddClasspathElements, addCompileSourceRoot, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarFiles, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, isGenerator, resolve, setupGenerateDirectory@Parameter(property="gwt.style") protected String style
Can be set from command line using '-Dgwt.style=...'
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionMojo.execute()public abstract void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected String getExtraJvmArgs()
protected String getLogLevel()
protected String getStyle()
protected String getJvm()
protected void postProcessClassPath(Collection<File> classpath)
public void setTimeOut(int timeOut)
timeOut - the timeOut to setprotected JavaCommand createJavaCommand()
protected void addCompileSourceArtifacts(JavaCommand cmd) throws org.apache.maven.plugin.MojoExecutionException
The hack can also be used to include utility code from external librariries that may not have been designed for GWT.
org.apache.maven.plugin.MojoExecutionExceptionprotected void addArgumentDeploy(JavaCommand cmd)
protected void addArgumentGen(JavaCommand cmd)
protected void addPersistentUnitCache(JavaCommand cmd)
Copyright © 2007–2017 MojoHaus. All rights reserved.