Package net.alchim31.maven.yuicompressor
Class JSLintMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
net.alchim31.maven.yuicompressor.MojoSupport
net.alchim31.maven.yuicompressor.JSLintMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="jslint",
defaultPhase=PROCESS_RESOURCES,
requiresProject=true,
threadSafe=true)
public class JSLintMojo
extends MojoSupport
Check JS files with jslint.
-
Field Summary
Fields inherited from class net.alchim31.maven.yuicompressor.MojoSupport
buildContext, failOnWarning, jsErrorReporter, jswarn, projectFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAfter process.voidBefore process.protected String[]Gets the default includes.protected voidprocessFile(SourceFile src) Process file.Methods inherited from class net.alchim31.maven.yuicompressor.MojoSupport
executeMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
JSLintMojo
public JSLintMojo()
-
-
Method Details
-
getDefaultIncludes
Description copied from class:MojoSupportGets the default includes.- Specified by:
getDefaultIncludesin classMojoSupport- Returns:
- the default includes
-
beforeProcess
Description copied from class:MojoSupportBefore process.- Specified by:
beforeProcessin classMojoSupport- Throws:
IOException- the IO exception
-
afterProcess
public void afterProcess()Description copied from class:MojoSupportAfter process.- Specified by:
afterProcessin classMojoSupport
-
processFile
Description copied from class:MojoSupportProcess file.- Specified by:
processFilein classMojoSupport- Parameters:
src- the src- Throws:
IOException- the IO exception
-