{"id":15041692,"url":"https://github.com/warmuuh/libsass-maven-plugin","last_synced_at":"2025-04-13T04:11:43.524Z","repository":{"id":15252046,"uuid":"17981096","full_name":"warmuuh/libsass-maven-plugin","owner":"warmuuh","description":"libsass wrapper for maven","archived":false,"fork":false,"pushed_at":"2023-08-15T17:42:52.000Z","size":6447,"stargazers_count":115,"open_issues_count":22,"forks_count":40,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-24T09:21:14.021Z","etag":null,"topics":["java","libsass","maven","sass"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warmuuh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-03-21T13:56:19.000Z","updated_at":"2024-05-29T13:00:09.000Z","dependencies_parsed_at":"2024-09-20T18:22:30.183Z","dependency_job_id":"4ad58249-e7f9-4edb-906d-e0f3b0e3a490","html_url":"https://github.com/warmuuh/libsass-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmuuh%2Flibsass-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmuuh%2Flibsass-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmuuh%2Flibsass-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warmuuh%2Flibsass-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warmuuh","download_url":"https://codeload.github.com/warmuuh/libsass-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248661705,"owners_count":21141451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","libsass","maven","sass"],"created_at":"2024-09-24T20:46:22.804Z","updated_at":"2025-04-13T04:11:43.490Z","avatar_url":"https://github.com/warmuuh.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unmaintained\r\nthis project is no longer maintained but a fork is: https://gitlab.com/haynes/libsass-maven-plugin\r\n\r\n\r\nLibsass Maven Plugin [![Build Status](https://travis-ci.org/warmuuh/libsass-maven-plugin.svg?branch=master)](https://travis-ci.org/warmuuh/libsass-maven-plugin) [![Maven Central](https://img.shields.io/maven-central/v/com.github.warmuuh/libsass-maven-plugin.svg)](https://mvnrepository.com/artifact/com.github.warmuuh/libsass-maven-plugin)\r\n==========\r\n\r\nLibsass Maven Plugin uses [libsass](http://github.com/hcatlin/libsass) to compile sass files.\r\nUses [jsass](https://github.com/bit3/jsass) to interface with C-library.\r\n\r\nChangelog:\r\n* 0.2.10 - upgraded libsass to 3.5.3\r\n* 0.2.9 - upgraded libsass to 3.4.7\r\n  * refreshed output files for eclipse\r\n  * enhanced error output with failing files - thanks to @VsevolodGolovanov\r\n* 0.2.8 - upgraded libsass to 3.4.4\r\n  * used compilation classpath for including webjars\r\n  * fixed issue with os-dependent path-separator (using ';' for every OS)\r\n  * plugin now aware of incremental builds\r\n* 0.2.7 - upgraded libsass to 3.4.3\r\n  * added webjar support - thanks to @flipp5b \r\n* 0.2.6 - upgraded libsass to 3.4.0\r\n  * added libsass:watch goal to watch and recompile include directory - *thansk to @lorenzodee*\r\n* 0.2.5 - added copySourceToOutput, changed default outputstyle to 'nested', upgraded libsass to 3.3.6\r\n* 0.2.4 - fixed bug with empty spaces in path\r\n* 0.2.3 - upgrade to libsass 3.3.4\r\n* 0.2.2 - minor bugfixes, readded m2e lifecycle mapping \r\n* 0.2.1 - updated libsass to 3.3.3\r\n* 0.2.0 - switched native bindings to bit3 bindings (using libsass 3.3.2), **java8-only**\r\n* 0.1.7 - UTF8 encoding issue, used wrong file extension for sass style\r\n* 0.1.6 - added m2e eclipse intergation, thanks @dashorst\r\n* 0.1.5 - readded macOs binaries, thanks @tommix1987\r\n* 0.1.4 - added contained libsass-version to artifact-version (e.g. `0.1.4-libsass_3.2.4-SNAPSHOT`). \r\n  * switched to new libsass API (sass_context.h)\r\n  * removed image_path option (because of [#420](https://github.com/sass/libsass/issues/420))\r\n  * added failOnError flag to skip errors and continue the build, if wanted\r\n* 0.1.3 - fixed #10 - multi-module projects\r\n* 0.1.2 - added PR #4, updated to libsass version 3.1 for windows, linux, macos - *thanks to @npiguet, @ogolberg*\r\n* 0.1.1 - scss files can now be placed in inputpath/ directly\r\n* 0.1.0 - changed artefact group to `com.github.warmuuh`\r\n\r\nInstallation\r\n-----\r\nlibsass-maven-plugin is available on central-repository since version 0.1.2\r\n\r\nUsage\r\n-----\r\nConfigure plugin in your pom.xml:\r\n\r\n```\r\n\u003cbuild\u003e\r\n   \u003cplugins\u003e\r\n      \u003cplugin\u003e\r\n         \u003cgroupId\u003ecom.github.warmuuh\u003c/groupId\u003e\r\n         \u003cartifactId\u003elibsass-maven-plugin\u003c/artifactId\u003e\r\n         \u003cversion\u003e\u003cVERSION\u003e-libsass_3.4.4\u003c/version\u003e\r\n         \u003cexecutions\u003e\r\n            \u003cexecution\u003e\r\n               \u003cphase\u003egenerate-resources\u003c/phase\u003e\r\n               \u003cgoals\u003e\r\n                  \u003cgoal\u003ecompile\u003c/goal\u003e\r\n               \u003c/goals\u003e\r\n            \u003c/execution\u003e\r\n         \u003c/executions\u003e\r\n         \u003cconfiguration\u003e\r\n            \u003cinputPath\u003e${basedir}/src/main/sass/\u003c/inputPath\u003e\r\n            \u003coutputPath\u003e${basedir}/target/\u003c/outputPath\u003e\r\n            \u003cincludePath\u003e${basedir}/src/main/sass/plugins/\u003c/includePath\u003e\r\n         \u003c/configuration\u003e\r\n      \u003c/plugin\u003e\r\n   \u003c/plugins\u003e\r\n\u003c/build\u003e\r\n```\r\n\r\nAlternatively, you can use the `watch` goal to have the plugin watch your files and recompile on change:\r\n```\r\nmvn com.github.warmuuh:libsass-maven-plugin:\u003cversion\u003e-libsass_3.4.4:watch\r\n```\r\n\r\nConfiguration Elements\r\n----------------------\r\n\r\n\u003ctable\u003e\r\n  \u003cthead\u003e\r\n    \u003ctr\u003e\r\n       \u003ctd\u003eElement\u003c/td\u003e\r\n       \u003ctd\u003eDefault value\u003c/td\u003e\r\n       \u003ctd\u003eDocumentation\u003c/td\u003e\r\n    \u003c/tr\u003e\r\n  \u003c/thead\u003e\r\n  \u003ctbody\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003eoutputPath\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003e${project.build.directory}\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003eThe directory in which the compiled CSS files will be placed.\u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003einputPath\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003esrc/main/sass\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n        The directory from which the source \u003ccode\u003e.scss\u003c/code\u003e files will be read. This directory will be\r\n        traversed recursively, and all \u003ccode\u003e.scss\u003c/code\u003e files found in this directory or subdirectories\r\n        will be compiled.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003eincludePath\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003enull\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003eAdditional include path, ';'-separated\u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003eoutputStyle\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003enested\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n         Output style for the generated css code. One of \u003ccode\u003enested\u003c/code\u003e, \u003ccode\u003eexpanded\u003c/code\u003e,\r\n         \u003ccode\u003ecompact\u003c/code\u003e, \u003ccode\u003ecompressed\u003c/code\u003e. Note that as of libsass 3.1, \u003ccode\u003eexpanded\u003c/code\u003e\r\n         and \u003ccode\u003ecompact\u003c/code\u003e result in the same output as \u003ccode\u003enested\u003c/code\u003e.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003egenerateSourceComments\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n         Emit comments in the compiled CSS indicating the corresponding source line. The default\r\n         value is \u003ccode\u003efalse\u003c/code\u003e.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003egenerateSourceMap\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003etrue\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n        Generate source map files. The generated source map files will be placed in the directory\r\n        specified by \u003ccode\u003esourceMapOutputPath\u003c/code\u003e.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003esourceMapOutputPath\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003e${project.build.directory}\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n        The directory in which the source map files that correspond to the compiled CSS will be placed\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003eomitSourceMapingURL\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n        Prevents the generation of the \u003ccode\u003esourceMappingURL\u003c/code\u003e special comment as the last\r\n        line of the compiled CSS.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003eembedSourceMapInCSS\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n        Embeds the whole source map data directly into the compiled CSS file by transforming\r\n        \u003ccode\u003esourceMappingURL\u003c/code\u003e into a data URI.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003eembedSourceContentsInSourceMap\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n       Embeds the contents of the source \u003ccode\u003e.scss\u003c/code\u003e files in the source map file instead of the\r\n       paths to those files\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003einputSyntax\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003escss\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n       Switches the input syntax used by the files to either \u003ccode\u003esass\u003c/code\u003e or \u003ccode\u003escss\u003c/code\u003e.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003eprecision\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003e5\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n       Precision for fractional numbers\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003eenableClasspathAwareImporter\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n       Enables classpath aware importer which make possible to \u003ccode\u003e@import\u003c/code\u003e files from classpath and WebJars.\r\n       For classpath resources use \u003ccode\u003e@import 'path/to/resource/in/classpath';\u003c/code\u003e.\r\n       For WebJar resources a shortcut can be used: \u003ccode\u003e@import '{package}/{path}';\u003c/code\u003e imports resource\r\n       \u003ccode\u003eMETA-INF/resources/webjars/{package}/{version}/{path}\u003c/code\u003e.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n     \u003ctr\u003e\r\n      \u003ctd\u003efailOnError\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003etrue\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n       should fail the build in case of compilation errors.\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n    \u003ctr\u003e\r\n      \u003ctd\u003ecopySourceToOutput\u003c/td\u003e\r\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\r\n      \u003ctd\u003e\r\n       copies all files from source directory to output directory\r\n      \u003c/td\u003e\r\n    \u003c/tr\u003e\r\n  \u003c/tbody\u003e\r\n\u003c/table\u003e\r\n\r\n\r\nLicense\r\n-------\r\n\r\nMIT License.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarmuuh%2Flibsass-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarmuuh%2Flibsass-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarmuuh%2Flibsass-maven-plugin/lists"}