Class Wro4jMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    public class Wro4jMojo
    extends AbstractWro4jMojo
    A build-time solution for organizing and minimizing static resources. By default uses the same configuration as the run-time solution. Additionally, allows you to change the processors used by changing the wroManagerFactory implementation used by the plugin.
    Author:
    Alex Objelean
    • Constructor Detail

      • Wro4jMojo

        public Wro4jMojo()
    • Method Detail

      • validate

        protected void validate()
                         throws org.apache.maven.plugin.MojoExecutionException
        Description copied from class: AbstractWro4jMojo
        Checks if all required fields are configured.
        Overrides:
        validate in class AbstractWro4jMojo
        Throws:
        org.apache.maven.plugin.MojoExecutionException
      • doExecute

        protected void doExecute()
                          throws java.lang.Exception
        Description copied from class: AbstractWro4jMojo
        Perform actual plugin processing.
        Specified by:
        doExecute in class AbstractWro4jMojo
        Throws:
        java.lang.Exception
      • isIncrementalCheckRequired

        protected boolean isIncrementalCheckRequired()
        Overrides:
        isIncrementalCheckRequired in class AbstractWro4jMojo
        Returns:
        true if the only incremental changed group should be used as target groups for next processing.
      • setBuildFinalName

        public void setBuildFinalName​(java.io.File buildFinalName)
        Parameters:
        buildFinalName - the buildFinalName to set