Package com.vaadin.integration.maven
Class UpdateThemeMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.gwt.AbstractGwtMojo
-
- org.codehaus.mojo.gwt.AbstractGwtModuleMojo
-
- org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
-
- com.vaadin.integration.maven.AbstractThemeMojo
-
- com.vaadin.integration.maven.UpdateThemeMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,GwtModuleReader
@Mojo(name="update-theme", defaultPhase=GENERATE_SOURCES, requiresDependencyResolution=COMPILE) public class UpdateThemeMojo extends AbstractThemeMojoUpdates Vaadin themes based on addons containing themes on the classpath. This goal is linked to phase generate-sources to make sure it is executed before compile-theme.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTHEME_UPDATE_CLASS-
Fields inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
widgetsetMode
-
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
artifactFactory, artifactMetadataSource, classpathBuilder, GWT_GROUP_ID, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, VAADIN_GROUP_ID, warSourceDirectory
-
-
Constructor Summary
Constructors Constructor Description UpdateThemeMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckVaadinVersion()protected voidprocessTheme(java.lang.String theme)-
Methods inherited from class com.vaadin.integration.maven.AbstractThemeMojo
configureThemeClasspath, doExecute, getThemes, isAtLeastVaadinVersion, isVaadin7, isVaadin71
-
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
addArgumentDeploy, addArgumentGen, addCompileSourceArtifacts, addPersistentUnitCache, createJavaCommand, createWidgetsetRequest, execute, getExtraJvmArgs, getJvm, getLogLevel, getStyle, postProcessClassPath, setTimeOut
-
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtModuleMojo
getGwtModules, getModules, readModule
-
Methods inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
addClasspathElements, addCompileSourceRoot, getArtifact, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarAndDependencies, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, isGenerator, resolve, setupGenerateDirectory
-
-
-
-
Field Detail
-
THEME_UPDATE_CLASS
public static final java.lang.String THEME_UPDATE_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkVaadinVersion
protected void checkVaadinVersion() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
checkVaadinVersionin classAbstractThemeMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
processTheme
protected void processTheme(java.lang.String theme) throws org.apache.maven.plugin.MojoExecutionException- Specified by:
processThemein classAbstractThemeMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-