org.codehaus.mojo.javascript
Class AbstractCompressMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.javascript.AbstractCompressMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- CompressMojo, TitaniumPreparePackage, WebappCompressMojo
public abstract class AbstractCompressMojo
- extends org.apache.maven.plugin.AbstractMojo
Abstact mojo for compressing JavaScripts.
- Author:
- nicolas De Loof
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
AbstractCompressMojo
public AbstractCompressMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
- See Also:
Mojo.execute()
getDirectoryScanner
protected org.codehaus.plexus.util.DirectoryScanner getDirectoryScanner()
getExtension
public abstract java.lang.String getExtension()
- Returns:
- the extension to append to compressed scripts.
getOutputDirectory
protected abstract java.io.File getOutputDirectory()
- Returns:
- the outputDirectory
getStrippedDirectory
protected abstract java.io.File getStrippedDirectory()
- Returns:
- the outputDirectory
getSourceDirectory
protected abstract java.io.File getSourceDirectory()
- Returns:
- the sourceDirectory
setLocalRepository
protected void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Copyright © 2011 SOFTEC sa. All Rights Reserved.