ro.isdc.wro.maven.plugin
Class AbstractSingleProcessorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ro.isdc.wro.maven.plugin.AbstractWro4jMojo
ro.isdc.wro.maven.plugin.AbstractSingleProcessorMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- CssLintMojo, JsHintMojo
public abstract class AbstractSingleProcessorMojo
- extends AbstractWro4jMojo
Maven plugin which use a singe processor.
- Author:
- Alex Objelean
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class ro.isdc.wro.maven.plugin.AbstractWro4jMojo |
execute, extendPluginClasspath, getContextFolder, getTargetGroups, getTargetGroupsAsList, getWroFile, isIgnoreMissingResources, isMinimize, newWroManagerFactory, setContextFolder, setExtraConfigFile, setIgnoreMissingResources, setMinimize, setTargetGroups, setWroFile, setWroManagerFactory, validate |
| 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 |
AbstractSingleProcessorMojo
public AbstractSingleProcessorMojo()
doExecute
public final void doExecute()
throws java.lang.Exception
- Perform actual plugin processing.
- Specified by:
doExecute in class AbstractWro4jMojo
- Throws:
java.lang.Exception
getManagerFactory
protected StandaloneContextAwareManagerFactory getManagerFactory()
throws java.lang.Exception
- This method will ensure that you have a right and initialized instance of
StandaloneContextAwareManagerFactory.
- Overrides:
getManagerFactory in class AbstractWro4jMojo
- Returns:
WroManagerFactory implementation.
- Throws:
java.lang.Exception
createResourceProcessor
protected abstract ResourcePreProcessor createResourceProcessor()
getOptions
public java.lang.String[] getOptions()
- Returns:
- an array of options.
setFailNever
public void setFailNever(boolean failNever)
- Parameters:
failNever - the failFast to set
isFailNever
public boolean isFailNever()
- Returns:
- the failNever
Copyright © 2008-2011. All Rights Reserved.