ro.isdc.wro.maven.plugin
Class JsLintMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ro.isdc.wro.maven.plugin.AbstractWro4jMojo
ro.isdc.wro.maven.plugin.AbstractSingleProcessorMojo
ro.isdc.wro.maven.plugin.AbstractLinterMojo<LinterError>
ro.isdc.wro.maven.plugin.JsLintMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JsLintMojo
- extends AbstractLinterMojo<LinterError>
Maven plugin used to validate js scripts defined in wro model using jsLint.
- Since:
- 1.4.2
- Author:
- Alex Objelean
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()
createResourceProcessor
protected ResourcePreProcessor createResourceProcessor()
-
- Specified by:
createResourceProcessor
in class AbstractSingleProcessorMojo
createXmlFormatter
protected ReportXmlFormatter createXmlFormatter(LintReport<LinterError> lintReport,
ReportXmlFormatter.FormatterType type)
-
- Specified by:
createXmlFormatter
in class AbstractLinterMojo<LinterError>
getReportFile
protected File getReportFile()
-
- Specified by:
getReportFile
in class AbstractLinterMojo<LinterError>
- Returns:
- the file where the report should be written.
getReportFormat
protected String getReportFormat()
-
- Specified by:
getReportFormat
in class AbstractLinterMojo<LinterError>
- Returns:
- the preferred format of the report.
Copyright © 2008-2013. All Rights Reserved.