Class 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 AbstractThemeMojo
    Updates 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 Detail

      • THEME_UPDATE_CLASS

        public static final java.lang.String THEME_UPDATE_CLASS
        See Also:
        Constant Field Values
    • Constructor Detail

      • UpdateThemeMojo

        public UpdateThemeMojo()
    • Method Detail

      • checkVaadinVersion

        protected void checkVaadinVersion()
                                   throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        checkVaadinVersion in class AbstractThemeMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • processTheme

        protected void processTheme​(java.lang.String theme)
                             throws org.apache.maven.plugin.MojoExecutionException
        Specified by:
        processTheme in class AbstractThemeMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException