org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt
Class AbstractCompressMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.AbstractCompressMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- AttachCompressedMojo, DirectoryCompressMojo, 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()
getExtension
public abstract String getExtension()
- Returns:
- the extension to append to compressed scripts.
getOutputDirectory
protected abstract File getOutputDirectory()
- Returns:
- the outputDirectory
getSourceDirectory
protected abstract File getSourceDirectory()
- Returns:
- the sourceDirectory
setLocalRepository
protected void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.