net_alchim31_maven_yuicompressor
Class JSLintMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by net_alchim31_maven_yuicompressor.MojoSupport
          extended by net_alchim31_maven_yuicompressor.JSLintMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JSLintMojo
extends MojoSupport

Check JS files with jslint.

Author:
David Bernard

Field Summary
 
Fields inherited from class net_alchim31_maven_yuicompressor.MojoSupport
failOnWarning, jsErrorReporter_, jswarn, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JSLintMojo()
           
 
Method Summary
 void afterProcess()
           
 void beforeProcess()
           
protected  String[] getDefaultIncludes()
           
protected  void processFile(SourceFile src)
           
 
Methods inherited from class net_alchim31_maven_yuicompressor.MojoSupport
execute, processDir
 
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
 

Constructor Detail

JSLintMojo

public JSLintMojo()
Method Detail

getDefaultIncludes

protected String[] getDefaultIncludes()
                               throws Exception
Specified by:
getDefaultIncludes in class MojoSupport
Throws:
Exception

beforeProcess

public void beforeProcess()
                   throws Exception
Specified by:
beforeProcess in class MojoSupport
Throws:
Exception

afterProcess

public void afterProcess()
                  throws Exception
Specified by:
afterProcess in class MojoSupport
Throws:
Exception

processFile

protected void processFile(SourceFile src)
                    throws Exception
Specified by:
processFile in class MojoSupport
Throws:
Exception


Copyright © 2010-2012 Alchim31. All Rights Reserved.