ro.isdc.wro.maven.plugin
Class Wro4jMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
ro.isdc.wro.maven.plugin.AbstractWro4jMojo
ro.isdc.wro.maven.plugin.Wro4jMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class Wro4jMojo
- extends AbstractWro4jMojo
A build-time solution for organizing and minimizing static resources. By default uses the same configuration as the
run-time solution. Additionally, allows you to change the processors used by changing the wroManagerFactory
implementation used by the plugin.
- Author:
- Alex Objelean
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
protected void |
doExecute()
Perform actual plugin processing. |
protected void |
onBeforeExecute()
Invoked before execution is performed. |
protected void |
validate()
Checks if all required fields are configured. |
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 |
Wro4jMojo
public Wro4jMojo()
validate
protected void validate()
throws org.apache.maven.plugin.MojoExecutionException
- Checks if all required fields are configured.
- Overrides:
validate
in class AbstractWro4jMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
onBeforeExecute
protected void onBeforeExecute()
- Invoked before execution is performed.
- Overrides:
onBeforeExecute
in class AbstractWro4jMojo
doExecute
protected void doExecute()
throws Exception
- Perform actual plugin processing.
- Specified by:
doExecute
in class AbstractWro4jMojo
- Throws:
Exception
Copyright © 2008-2013. All Rights Reserved.