Class MinifyMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.sevenprinciplesmobility.maven.minify.plugin.MinifyMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="minify",
defaultPhase=PROCESS_RESOURCES,
threadSafe=true)
public class MinifyMojo
extends org.apache.maven.plugin.AbstractMojo
Goal for combining and minifying CSS and JavaScript files.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Executed when the goal is invoked, it will first invoke a parallel lifecycle, ending at the given phase.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
MinifyMojo
public MinifyMojo()Creates a new MinifyMojo object
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionExecuted when the goal is invoked, it will first invoke a parallel lifecycle, ending at the given phase.- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-