org.codehaus.mojo.javascript
Class CompressMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.javascript.AbstractCompressMojo
          extended by org.codehaus.mojo.javascript.CompressMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CompressMojo
extends AbstractCompressMojo

Goal used to strip and compress the JavaScript files from the target script directory

Is defined by the goal name:
compress
Is bound to the specified phase of the standard build lifecycle:
prepare-package

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CompressMojo()
           
 
Method Summary
 java.lang.String getExtension()
          
protected  java.io.File getOutputDirectory()
          
protected  java.io.File getSourceDirectory()
          
protected  java.io.File getStrippedDirectory()
          
 
Methods inherited from class org.codehaus.mojo.javascript.AbstractCompressMojo
execute, getDirectoryScanner, setLocalRepository
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressMojo

public CompressMojo()
Method Detail

getExtension

public java.lang.String getExtension()

Specified by:
getExtension in class AbstractCompressMojo
Returns:
the extension to append to compressed scripts.
See Also:
AbstractCompressMojo.getExtension()

getOutputDirectory

protected java.io.File getOutputDirectory()

Specified by:
getOutputDirectory in class AbstractCompressMojo
Returns:
the outputDirectory
See Also:
AbstractCompressMojo.getOutputDirectory()

getStrippedDirectory

protected java.io.File getStrippedDirectory()

Specified by:
getStrippedDirectory in class AbstractCompressMojo
Returns:
the outputDirectory
See Also:
AbstractCompressMojo.getOutputDirectory()

getSourceDirectory

protected java.io.File getSourceDirectory()

Specified by:
getSourceDirectory in class AbstractCompressMojo
Returns:
the sourceDirectory
See Also:
AbstractCompressMojo.getSourceDirectory()


Copyright © 2011 SOFTEC sa. All Rights Reserved.