All Projects → warmuuh → Libsass Maven Plugin

warmuuh / Libsass Maven Plugin

libsass wrapper for maven

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Libsass Maven Plugin

Spotless
Keep your code spotless
Stars: ✭ 2,285 (+1904.39%)
Mutual labels:  maven, sass
Bulma Social
🤳 Social Buttons and Colors for Bulma
Stars: ✭ 114 (+0%)
Mutual labels:  sass
Lightning Admin Angular
A mobile first design of a responsive admin template built with angular and bootstrap
Stars: ✭ 107 (-6.14%)
Mutual labels:  sass
Sass Vars Loader
Use Sass variables defined in Webpack config or in external Javascript or JSON files
Stars: ✭ 112 (-1.75%)
Mutual labels:  sass
Create Apollo App
Create Apollo App is a command-line tool designed to generate fully-configured starter Apollo GraphQL projects with essential dependencies for developing web, server and mobile applications and zero build configuration.
Stars: ✭ 110 (-3.51%)
Mutual labels:  sass
Java Comment Preprocessor
The Most Powerful Multi-Pass Java Preprocessor
Stars: ✭ 111 (-2.63%)
Mutual labels:  maven
Docker Maven Plugin
Maven plugin for running and creating Docker images
Stars: ✭ 1,535 (+1246.49%)
Mutual labels:  maven
Confluence Publisher
Maven plugin and Docker image to convert AsciiDoc and publish it to Confluence
Stars: ✭ 112 (-1.75%)
Mutual labels:  maven
Tinseltown.js
A lightweight CSS/JS library for faux hacker-movie-style page loading effects
Stars: ✭ 113 (-0.88%)
Mutual labels:  sass
Kulfon
👹 🐸 JavaScript static site generator with Org Mode & Markdown support (α) 💥
Stars: ✭ 112 (-1.75%)
Mutual labels:  sass
Interview Problem Summary
🎤 Prepare for the interviews and sum up the most popular interview problems for front-end(HTML/CSS/Javascript), Web development, full-stack. Also did some typical coding practice questions, such as UI caculator
Stars: ✭ 112 (-1.75%)
Mutual labels:  sass
Plate
Plate: a super stripped-down WordPress starter theme for developers.
Stars: ✭ 110 (-3.51%)
Mutual labels:  sass
M1 Test
Java编译速度对比测试: M1 MacBook Air vs Intel Core i9 MacBook Pro
Stars: ✭ 111 (-2.63%)
Mutual labels:  maven
Light Blue Dashboard
🔥 Free and open-source admin dashboard template built with Bootstrap
Stars: ✭ 110 (-3.51%)
Mutual labels:  sass
Fictoan
Mockups with markup — https://sujan-s.github.io/fictoan/
Stars: ✭ 114 (+0%)
Mutual labels:  sass
Xseries
Library for cross-version Minecraft Bukkit support and various efficient API methods.
Stars: ✭ 109 (-4.39%)
Mutual labels:  maven
Hsweb Payment
基于hsweb的开源聚合支付系统,多商户,多渠道,多配置.
Stars: ✭ 112 (-1.75%)
Mutual labels:  maven
Mdl Ext
Material Design Lite Ext: Components built with Google Material Design Lite framework. http://leifoolsen.github.io/mdl-ext/
Stars: ✭ 112 (-1.75%)
Mutual labels:  sass
Spring Cloud Build
Common build concerns, shared plugin configuration, etc. for Spring Cloud modules
Stars: ✭ 114 (+0%)
Mutual labels:  maven
Taotao Store
淘淘网上商城是一个综合性的B2C平台,类似京东商城、天猫商城。会员可以在商城浏览商品、下订单,以及参加各种活动。商家可以在入住淘淘商城,在该平台上开店出售自己的商品,并且得到淘淘商城提供的可靠的服务。管理员、运营可以在平台后台管理系统中管理商品、订单、会员等。客服可以在后台管理系统中处理用户的询问以及投诉。
Stars: ✭ 114 (+0%)
Mutual labels:  maven

Libsass Maven Plugin Build Status Maven Central

Libsass Maven Plugin uses libsass to compile sass files. Uses jsass to interface with C-library.

Changelog:

  • 0.2.10 - upgraded libsass to 3.5.3
  • 0.2.9 - upgraded libsass to 3.4.7
    • refreshed output files for eclipse
    • enhanced error output with failing files - thanks to @VsevolodGolovanov
  • 0.2.8 - upgraded libsass to 3.4.4
    • used compilation classpath for including webjars
    • fixed issue with os-dependent path-separator (using ';' for every OS)
    • plugin now aware of incremental builds
  • 0.2.7 - upgraded libsass to 3.4.3
    • added webjar support - thanks to @flipp5b
  • 0.2.6 - upgraded libsass to 3.4.0
    • added libsass:watch goal to watch and recompile include directory - thansk to @lorenzodee
  • 0.2.5 - added copySourceToOutput, changed default outputstyle to 'nested', upgraded libsass to 3.3.6
  • 0.2.4 - fixed bug with empty spaces in path
  • 0.2.3 - upgrade to libsass 3.3.4
  • 0.2.2 - minor bugfixes, readded m2e lifecycle mapping
  • 0.2.1 - updated libsass to 3.3.3
  • 0.2.0 - switched native bindings to bit3 bindings (using libsass 3.3.2), java8-only
  • 0.1.7 - UTF8 encoding issue, used wrong file extension for sass style
  • 0.1.6 - added m2e eclipse intergation, thanks @dashorst
  • 0.1.5 - readded macOs binaries, thanks @tommix1987
  • 0.1.4 - added contained libsass-version to artifact-version (e.g. 0.1.4-libsass_3.2.4-SNAPSHOT).
    • switched to new libsass API (sass_context.h)
    • removed image_path option (because of #420)
    • added failOnError flag to skip errors and continue the build, if wanted
  • 0.1.3 - fixed #10 - multi-module projects
  • 0.1.2 - added PR #4, updated to libsass version 3.1 for windows, linux, macos - thanks to @npiguet, @ogolberg
  • 0.1.1 - scss files can now be placed in inputpath/ directly
  • 0.1.0 - changed artefact group to com.github.warmuuh

Installation

libsass-maven-plugin is available on central-repository since version 0.1.2

Usage

Configure plugin in your pom.xml:

<build>
   <plugins>
      <plugin>
         <groupId>com.github.warmuuh</groupId>
         <artifactId>libsass-maven-plugin</artifactId>
         <version><VERSION>-libsass_3.4.4</version>
         <executions>
            <execution>
               <phase>generate-resources</phase>
               <goals>
                  <goal>compile</goal>
               </goals>
            </execution>
         </executions>
         <configuration>
            <inputPath>${basedir}/src/main/sass/</inputPath>
            <outputPath>${basedir}/target/</outputPath>
            <includePath>${basedir}/src/main/sass/plugins/</includePath>
         </configuration>
      </plugin>
   </plugins>
</build>

Alternatively, you can use the watch goal to have the plugin watch your files and recompile on change:

mvn com.github.warmuuh:libsass-maven-plugin:<version>-libsass_3.4.4:watch

Configuration Elements

Element Default value Documentation
outputPath ${project.build.directory} The directory in which the compiled CSS files will be placed.
inputPath src/main/sass The directory from which the source .scss files will be read. This directory will be traversed recursively, and all .scss files found in this directory or subdirectories will be compiled.
includePath null Additional include path, ';'-separated
outputStyle nested Output style for the generated css code. One of nested, expanded, compact, compressed. Note that as of libsass 3.1, expanded and compact result in the same output as nested.
generateSourceComments false Emit comments in the compiled CSS indicating the corresponding source line. The default value is false.
generateSourceMap true Generate source map files. The generated source map files will be placed in the directory specified by sourceMapOutputPath.
sourceMapOutputPath ${project.build.directory} The directory in which the source map files that correspond to the compiled CSS will be placed
omitSourceMapingURL false Prevents the generation of the sourceMappingURL special comment as the last line of the compiled CSS.
embedSourceMapInCSS false Embeds the whole source map data directly into the compiled CSS file by transforming sourceMappingURL into a data URI.
embedSourceContentsInSourceMap false Embeds the contents of the source .scss files in the source map file instead of the paths to those files
inputSyntax scss Switches the input syntax used by the files to either sass or scss.
precision 5 Precision for fractional numbers
enableClasspathAwareImporter false Enables classpath aware importer which make possible to @import files from classpath and WebJars. For classpath resources use @import 'path/to/resource/in/classpath';. For WebJar resources a shortcut can be used: @import '{package}/{path}'; imports resource META-INF/resources/webjars/{package}/{version}/{path}.
failOnError true should fail the build in case of compilation errors.
copySourceToOutput false copies all files from source directory to output directory

License

MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].