Class ProcessJSFilesTask

java.lang.Object
com.sevenprinciplesmobility.maven.minify.plugin.ProcessFilesTask
com.sevenprinciplesmobility.maven.minify.plugin.ProcessJSFilesTask
All Implemented Interfaces:
Callable<Object>

public class ProcessJSFilesTask extends ProcessFilesTask
Task for merging and compressing JavaScript files.
  • Constructor Details

    • ProcessJSFilesTask

      public ProcessJSFilesTask(org.apache.maven.plugin.logging.Log log, boolean verbose, Integer bufferSize, Charset charset, String suffix, boolean nosuffix, boolean skipMerge, boolean skipMinify, String webappSourceDir, String webappTargetDir, String inputDir, List<String> sourceFiles, List<String> sourceIncludes, List<String> sourceExcludes, String outputDir, String outputFilename, MinifyMojo.Engine engine, YuiConfig yuiConfig, ClosureConfig closureConfig) throws FileNotFoundException
      Task constructor.
      Parameters:
      log - Maven plugin log
      verbose - display additional info
      bufferSize - size of the buffer used to read source files
      charset - if a character set is specified, a byte-to-char variant allows the encoding to be selected. Otherwise, only byte-to-byte operations are used
      suffix - final file name suffix
      nosuffix - whether to use a suffix for the minified file name or not
      skipMerge - whether to skip the merge step or not
      skipMinify - whether to skip the minify step or not
      webappSourceDir - web resources source directory
      webappTargetDir - web resources target directory
      inputDir - directory containing source files
      sourceFiles - list of source files to include
      sourceIncludes - list of source files to include
      sourceExcludes - list of source files to exclude
      outputDir - directory to write the final file
      outputFilename - the output file name
      engine - minify processor engine selected
      yuiConfig - YUI Compressor configuration
      closureConfig - Google Closure Compiler configuration
      Throws:
      FileNotFoundException - when the given source file does not exist