public abstract class AbstractThemeMojo extends AbstractGwtShellMojo
widgetsetModeartifactFactory, artifactMetadataSource, classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, VAADIN_GROUP_ID, warSourceDirectory| Constructor and Description |
|---|
AbstractThemeMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
checkVaadinVersion() |
protected File |
configureThemeClasspath(JavaCommand cmd,
String theme)
Configure the classpath for theme update/compilation.
|
void |
doExecute() |
protected String[] |
getThemes()
Return the available themes in the project source/resources folder.
|
protected boolean |
isAtLeastVaadinVersion(int major,
int minor) |
protected boolean |
isVaadin7() |
protected boolean |
isVaadin71() |
protected abstract void |
processTheme(String theme) |
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 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.MojoFailureExceptionprotected abstract void checkVaadinVersion()
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected boolean isVaadin7()
protected boolean isVaadin71()
protected boolean isAtLeastVaadinVersion(int major,
int minor)
protected abstract void processTheme(String theme) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected File configureThemeClasspath(JavaCommand cmd, String theme) throws org.apache.maven.plugin.MojoExecutionException
cmd - command for which to configure the classpaththeme - theme path relative to a resource directoryorg.apache.maven.plugin.MojoExecutionExceptionprotected String[] getThemes()
Copyright © 2012–2026 Vaadin Ltd. All rights reserved.