Class 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 AbstractGwtShellMojo
    Creates 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 undheim@corporater.com, olamy
    • Constructor Detail

      • CSSMojo

        public CSSMojo()
    • Method Detail

      • isGenerator

        protected boolean isGenerator()
        Description copied from class: AbstractGwtMojo
        Whether to use processed resources and compiled classes (false), or raw resources (true ).
        Overrides:
        isGenerator in class AbstractGwtMojo
      • doExecute

        public void doExecute()
                       throws org.apache.maven.plugin.MojoExecutionException,
                              org.apache.maven.plugin.MojoFailureException
        Specified by:
        doExecute in class AbstractGwtShellMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
        org.apache.maven.plugin.MojoFailureException