org.codehaus.mojo.javascript
Class WebappCompressMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.javascript.AbstractCompressMojo
org.codehaus.mojo.javascript.WebappCompressMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class WebappCompressMojo
- extends AbstractCompressMojo
Goal to be used from a war project, to compress the scripts present in the
webapp packaging folder. Configured to run in the test phase as there is no
way (in maven 2.0) to run between exploded webapp assembly and .war
packaging.
- Author:
- nicolas De Loof
- Is defined by the goal name:
- war-compress
- Is bound to the specified phase of the standard build lifecycle:
- test
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 |
WebappCompressMojo
public WebappCompressMojo()
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.