com.googlecode.jslint4java.maven
Class JSLintMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.googlecode.jslint4java.maven.JSLintMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JSLintMojo
- extends org.apache.maven.plugin.AbstractMojo
Validates JavaScript using jslint4java.
- Author:
- dom
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 |
JSLintMojo
public JSLintMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
setDefaultSourceFolder
public void setDefaultSourceFolder(File defaultSourceFolder)
setEncoding
public void setEncoding(String encoding)
setExcludes
public void setExcludes(List<String> excludes)
setFailOnError
public void setFailOnError(boolean b)
setIncludes
public void setIncludes(List<String> includes)
setJslint
public void setJslint(File jslintSource)
- The location of the JSLint source file.
setOptions
public void setOptions(Map<String,String> options)
setOutputFolder
public void setOutputFolder(File outputFolder)
setSourceFolders
public void setSourceFolders(List<File> sourceFolders)
Copyright © 2007-2012. All Rights Reserved.