@Mojo(name="update-widgetset",
defaultPhase=GENERATE_RESOURCES,
requiresDependencyResolution=COMPILE)
public class UpdateWidgetsetMojo
extends AbstractGwtShellMojo
CompileMojo.| Modifier and Type | Field and Description |
|---|---|
static String |
GWT_MODULE_EXTENSION |
static String |
WIDGETSET_BUILDER_CLASS |
widgetsetModeartifactFactory, artifactMetadataSource, classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, VAADIN_GROUP_ID, warSourceDirectory| Constructor and Description |
|---|
UpdateWidgetsetMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute() |
protected File |
setupGeneratedWidgetsetDirectory() |
protected void |
triggerCdnBuild(com.vaadin.wscdn.client.WidgetSetRequest wsReq,
File outputFile,
boolean fetch)
Create an appropriate widgetset info class and start the build of the
widgetset.
|
addArgumentDeploy, addArgumentGen, addCompileSourceArtifacts, addPersistentUnitCache, createJavaCommand, createWidgetsetRequest, execute, getExtraJvmArgs, getJvm, getLogLevel, getStyle, postProcessClassPath, setTimeOutgetGwtModules, getModules, readModuleaddClasspathElements, addCompileSourceRoot, getArtifact, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarAndDependencies, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, isGenerator, resolve, setupGenerateDirectorypublic static final String WIDGETSET_BUILDER_CLASS
public static final String GWT_MODULE_EXTENSION
public final void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
doExecute in class AbstractGwtShellMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionMojo.execute()protected void triggerCdnBuild(com.vaadin.wscdn.client.WidgetSetRequest wsReq,
File outputFile,
boolean fetch)
throws IOException,
org.apache.maven.plugin.MojoExecutionException
wsReq - widgetset compilation requestoutputFile - file in which to write the widgetset info classfetch - true to only trigger widgetset compilation for a later fetch,
false to use the widgetset directly from the CDNIOExceptionorg.apache.maven.plugin.MojoExecutionExceptionprotected File setupGeneratedWidgetsetDirectory()
Copyright © 2012–2026 Vaadin Ltd. All rights reserved.