org.codehaus.mojo.javascript
Class AttachCompressedMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.javascript.AbstractCompressMojo
org.codehaus.mojo.javascript.AttachCompressedMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class AttachCompressedMojo
- extends AbstractCompressMojo
Goal used to build javascript libraries with maven. Compress the JavaScript
files from the packaging directory, pakage them as a javascript archive and
attach this new artifact to the project for beeing installed / deployed with
the regular uncompressed js-archive.
- 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 |
AttachCompressedMojo
public AttachCompressedMojo()
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()
getSourceDirectory
protected java.io.File getSourceDirectory()
-
- Specified by:
getSourceDirectory in class AbstractCompressMojo
- Returns:
- the sourceDirectory
- See Also:
AbstractCompressMojo.getSourceDirectory()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
-
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Overrides:
execute in class AbstractCompressMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException- See Also:
AbstractCompressMojo.execute()
Copyright © 2010. All Rights Reserved.