Package org.codehaus.mojo.gwt.shell
Class CSSMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.mojo.gwt.AbstractGwtMojo
-
- org.codehaus.mojo.gwt.AbstractGwtModuleMojo
-
- org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
-
- org.codehaus.mojo.gwt.shell.CSSMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,GwtModuleReader
@Mojo(name="css", defaultPhase=GENERATE_SOURCES, threadSafe=true) public class CSSMojo extends AbstractGwtShellMojoCreates CSS interfaces for css files. Will use the utility tool provided in gwt sdk which create a corresponding Java interface for accessing the classnames used in the file.- Since:
- 2.1.0-1
- Author:
- Stale Undheim, olamy
-
-
Field Summary
-
Fields inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
style
-
Fields inherited from class org.codehaus.mojo.gwt.AbstractGwtMojo
artifactFactory, artifactMetadataSource, classpathBuilder, GWT_DEV, GWT_GROUP_ID, GWT_USER, gwtSdkFirstInClasspath, localRepository, modulePathPrefix, remoteRepositories, resolver, session, warSourceDirectory
-
-
Constructor Summary
Constructors Constructor Description CSSMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoExecute()protected booleanisGenerator()Whether to use processed resources and compiled classes (false), or raw resources (true).-
Methods inherited from class org.codehaus.mojo.gwt.shell.AbstractGwtShellMojo
addArgumentDeploy, addArgumentGen, addCompileSourceArtifacts, addPersistentUnitCache, createJavaCommand, 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, getClasspath, getGenerateDirectory, getGwtDevJar, getGwtUserJar, getJarFiles, getLocalRepository, getOutputDirectory, getProject, getProjectArtifacts, getProjectRuntimeArtifacts, getRemoteRepositories, resolve, setupGenerateDirectory
-
-
-
-
Method Detail
-
isGenerator
protected boolean isGenerator()
Description copied from class:AbstractGwtMojoWhether to use processed resources and compiled classes (false), or raw resources (true).- Overrides:
isGeneratorin classAbstractGwtMojo
-
doExecute
public void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doExecutein classAbstractGwtShellMojo- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
-