com.github.bringking.maven.less
Class LessCompilationMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by com.github.bringking.maven.less.LessCompilationMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class LessCompilationMojo
extends org.apache.maven.plugin.AbstractMojo

Mojo for running less compilation.


Field Summary
protected  org.apache.maven.execution.MavenSession session
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LessCompilationMojo()
           
 
Method Summary
 void execute()
          Optimize files.
 Map getPluginContext()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

protected org.apache.maven.execution.MavenSession session
Constructor Detail

LessCompilationMojo

public LessCompilationMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Optimize files.

Throws:
org.apache.maven.plugin.MojoExecutionException - if there is a problem optimizing files.

getPluginContext

public Map getPluginContext()
Specified by:
getPluginContext in interface org.apache.maven.plugin.ContextEnabled
Overrides:
getPluginContext in class org.apache.maven.plugin.AbstractMojo


Copyright © 2014. All Rights Reserved.