Package com.github.cleydyr.maven.plugin
Class CompileSassMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- com.github.cleydyr.maven.plugin.CompileSassMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="compile-sass", defaultPhase=PROCESS_RESOURCES) public class CompileSassMojo extends org.apache.maven.plugin.AbstractMojoGoal that compiles a set of sass/scss files from an input directory to an output directory.
-
-
Constructor Summary
Constructors Constructor Description CompileSassMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()voidextractExecutable()longgetFileCount()FilegetInputFolder()List<File>getLoadPaths()FilegetOutputFolder()SourceMapURLsgetSourceMapURLs()StylegetStyle()booleanisColor()booleanisEmbedSourceMap()booleanisEmbedSources()booleanisErrorCSS()booleanisNoCharset()booleanisNoSourceMap()booleanisNoUnicode()booleanisQuiet()booleanisQuietDeps()booleanisStopOnError()booleanisTrace()booleanisUpdate()voidsetColor(boolean color)voidsetEmbedSourceMap(boolean embedSourceMap)voidsetEmbedSources(boolean embedSources)voidsetErrorCSS(boolean errorCSS)voidsetFileCount(long fileCount)voidsetInputFolder(File inputFolder)voidsetLoadPaths(List<File> loadPaths)voidsetNoCharset(boolean noCharset)voidsetNoSourceMap(boolean noSourceMap)voidsetNoUnicode(boolean noUnicode)voidsetOutputFolder(File outputFolder)voidsetQuiet(boolean quiet)voidsetQuietDeps(boolean quietDeps)voidsetSourceMapURLs(SourceMapURLs sourceMapURLs)voidsetStopOnError(boolean stopOnError)voidsetStyle(Style style)voidsetTrace(boolean trace)voidsetUpdate(boolean update)voidunsetIncompatibleOptions()
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
unsetIncompatibleOptions
public void unsetIncompatibleOptions()
-
extractExecutable
public void extractExecutable() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getInputFolder
public File getInputFolder()
-
setInputFolder
public void setInputFolder(File inputFolder)
-
getOutputFolder
public File getOutputFolder()
-
setOutputFolder
public void setOutputFolder(File outputFolder)
-
getStyle
public Style getStyle()
-
setStyle
public void setStyle(Style style)
-
isNoCharset
public boolean isNoCharset()
-
setNoCharset
public void setNoCharset(boolean noCharset)
-
isErrorCSS
public boolean isErrorCSS()
-
setErrorCSS
public void setErrorCSS(boolean errorCSS)
-
isUpdate
public boolean isUpdate()
-
setUpdate
public void setUpdate(boolean update)
-
isNoSourceMap
public boolean isNoSourceMap()
-
setNoSourceMap
public void setNoSourceMap(boolean noSourceMap)
-
getSourceMapURLs
public SourceMapURLs getSourceMapURLs()
-
setSourceMapURLs
public void setSourceMapURLs(SourceMapURLs sourceMapURLs)
-
isEmbedSources
public boolean isEmbedSources()
-
setEmbedSources
public void setEmbedSources(boolean embedSources)
-
isEmbedSourceMap
public boolean isEmbedSourceMap()
-
setEmbedSourceMap
public void setEmbedSourceMap(boolean embedSourceMap)
-
isStopOnError
public boolean isStopOnError()
-
setStopOnError
public void setStopOnError(boolean stopOnError)
-
isColor
public boolean isColor()
-
setColor
public void setColor(boolean color)
-
isNoUnicode
public boolean isNoUnicode()
-
setNoUnicode
public void setNoUnicode(boolean noUnicode)
-
isQuiet
public boolean isQuiet()
-
setQuiet
public void setQuiet(boolean quiet)
-
isQuietDeps
public boolean isQuietDeps()
-
setQuietDeps
public void setQuietDeps(boolean quietDeps)
-
isTrace
public boolean isTrace()
-
setTrace
public void setTrace(boolean trace)
-
getFileCount
public long getFileCount()
-
setFileCount
public void setFileCount(long fileCount)
-
-