public abstract class AbstractGwtShellMojo extends AbstractGwtModuleMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
widgetsetMode
The widgetset compilation mode (local / fetch from CDN / CDN only).
|
artifactFactory, artifactMetadataSource, classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, VAADIN_GROUP_ID, 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() |
protected com.vaadin.wscdn.client.WidgetSetRequest |
createWidgetsetRequest()
Create a CDN widgetset compilation request.
|
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, getArtifact, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarAndDependencies, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, isGenerator, resolve, setupGenerateDirectory@Parameter(defaultValue="local",
property="vaadin.widgetset.mode")
protected String widgetsetMode
Can be set from command line using '-Dvaadin.widgetset.mode=...'
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)
protected com.vaadin.wscdn.client.WidgetSetRequest createWidgetsetRequest()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2012–2025 Vaadin Ltd. All rights reserved.