Package com.liferay.css.builder.maven
Class BuildCSSMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.liferay.css.builder.maven.BuildCSSMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
public class BuildCSSMojo
extends org.apache.maven.plugin.AbstractMojo
Compiles CSS files.
- Goal:
- build
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()voidsetAppendCssImportTimestamps(boolean appendCssImportTimestamps) voidsetBaseDir(File baseDir) voidsetDirNames(String dirNames) voidsetExcludes(String excludes) voidsetGenerateSourceMap(boolean generateSourceMap) voidsetImportDir(File importDir) voidsetOutputDirName(String outputDirName) voidsetPrecision(int precision) voidsetRtlExcludedPathRegexps(String rtlExcludedPathRegexps) voidsetSassCompilerClassName(String sassCompilerClassName) Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
BuildCSSMojo
public BuildCSSMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
setAppendCssImportTimestamps
public void setAppendCssImportTimestamps(boolean appendCssImportTimestamps) - Parameter:
- default-value="true"
-
setBaseDir
- Parameter:
- default-value="${project.build.directory}/${project.build.finalName}"
-
setDirNames
- Parameter:
-
setExcludes
- Parameter:
-
setGenerateSourceMap
public void setGenerateSourceMap(boolean generateSourceMap) - Parameter:
-
setImportDir
- Parameter:
-
setOutputDirName
- Parameter:
- default-value=".sass-cache/"
-
setPrecision
public void setPrecision(int precision) - Parameter:
-
setRtlExcludedPathRegexps
- Parameter:
-
setSassCompilerClassName
- Parameter:
-