{"id":15041675,"url":"https://github.com/123haynes/libsass-maven-plugin","last_synced_at":"2025-07-20T00:32:17.404Z","repository":{"id":52889649,"uuid":"219000439","full_name":"123Haynes/libsass-maven-plugin","owner":"123Haynes","description":"This project is a mirror of https://gitlab.com/haynes/libsass-maven-plugin","archived":false,"fork":false,"pushed_at":"2025-05-08T21:35:38.000Z","size":6660,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-08T21:47:26.359Z","etag":null,"topics":["java","libsass","maven","sass","scss"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/123Haynes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2019-11-01T14:25:11.000Z","updated_at":"2025-05-08T21:35:42.000Z","dependencies_parsed_at":"2023-02-12T09:30:58.458Z","dependency_job_id":"6adae310-ba00-47c9-9645-eabee9d73dfd","html_url":"https://github.com/123Haynes/libsass-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/123Haynes/libsass-maven-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Haynes%2Flibsass-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Haynes%2Flibsass-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Haynes%2Flibsass-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Haynes%2Flibsass-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/123Haynes","download_url":"https://codeload.github.com/123Haynes/libsass-maven-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Haynes%2Flibsass-maven-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266048565,"owners_count":23868741,"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","scss"],"created_at":"2024-09-24T20:46:21.754Z","updated_at":"2025-07-20T00:32:17.379Z","avatar_url":"https://github.com/123Haynes.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Libsass Maven Plugin [![pipeline status](https://gitlab.com/haynes/libsass-maven-plugin/badges/main/pipeline.svg)](https://gitlab.com/haynes/libsass-maven-plugin/commits/main) [![Maven Central](https://img.shields.io/maven-central/v/com.gitlab.haynes/libsass-maven-plugin.svg)](https://mvnrepository.com/artifact/com.gitlab.haynes/libsass-maven-plugin)\n==========\n\nLibsass Maven Plugin uses [libsass](http://github.com/hcatlin/libsass) to compile sass files.\nUses [jsass](https://gitlab.com/jsass/jsass) to interface with C-library.\n\n## Compability\nThis plugin only works with 64bit OS, because the upstream library [jsass](https://gitlab.com/jsass/jsass) removed 32bit support.  \nPlease look here for a full compability matrix: https://github.com/bit3/jsass#compatibility-overview\n\n## This project was forked from https://github.com/warmuuh/libsass-maven-plugin version 0.2.10-libsass_3.5.3\n\nInstallation\n-----\nlibsass-maven-plugin is available on central-repository since version 0.2.11\n\nUsage\n-----\nConfigure plugin in your pom.xml:\n\n```\n\u003cbuild\u003e\n   \u003cplugins\u003e\n      \u003cplugin\u003e\n         \u003cgroupId\u003ecom.gitlab.haynes\u003c/groupId\u003e\n         \u003cartifactId\u003elibsass-maven-plugin\u003c/artifactId\u003e\n         \u003cversion\u003e0.3.4\u003c/version\u003e\n         \u003cexecutions\u003e\n            \u003cexecution\u003e\n               \u003cphase\u003egenerate-resources\u003c/phase\u003e\n               \u003cgoals\u003e\n                  \u003cgoal\u003ecompile\u003c/goal\u003e\n               \u003c/goals\u003e\n            \u003c/execution\u003e\n         \u003c/executions\u003e\n         \u003cconfiguration\u003e\n            \u003cinputPath\u003e${basedir}/src/main/sass/\u003c/inputPath\u003e\n            \u003coutputPath\u003e${basedir}/target/\u003c/outputPath\u003e\n            \u003cincludePath\u003e${basedir}/src/main/sass/plugins/\u003c/includePath\u003e\n         \u003c/configuration\u003e\n      \u003c/plugin\u003e\n   \u003c/plugins\u003e\n\u003c/build\u003e\n```\n\nAlternatively, you can use the `watch` goal to have the plugin watch your files and recompile on change:\n```\nmvn com.gitlab.haynes:libsass-maven-plugin:0.3.4:watch\n```\n\nConfiguration Elements\n----------------------\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n       \u003ctd\u003eElement\u003c/td\u003e\n       \u003ctd\u003eDefault value\u003c/td\u003e\n       \u003ctd\u003eDocumentation\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eoutputPath\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003e${project.build.directory}\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eThe directory in which the compiled CSS files will be placed.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003einputPath\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003esrc/main/sass\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        The directories from which the source \u003ccode\u003e.scss\u003c/code\u003e files will be read, ';'-separated. These directories will be\n        traversed recursively, and all \u003ccode\u003e.scss\u003c/code\u003e files found in these directories or subdirectories\n        will be compiled.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eincludePath\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003enull\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003eAdditional include path, ';'-separated\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eoutputStyle\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003enested\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n         Output style for the generated css code. One of \u003ccode\u003enested\u003c/code\u003e, \u003ccode\u003eexpanded\u003c/code\u003e,\n         \u003ccode\u003ecompact\u003c/code\u003e, \u003ccode\u003ecompressed\u003c/code\u003e.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003egenerateSourceComments\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n         Emit comments in the compiled CSS indicating the corresponding source line. The default\n         value is \u003ccode\u003efalse\u003c/code\u003e.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003egenerateSourceMap\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003etrue\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Generate source map files. The generated source map files will be placed in the directory\n        specified by \u003ccode\u003esourceMapOutputPath\u003c/code\u003e.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003esourceMapOutputPath\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003e${project.build.directory}\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        The directory in which the source map files that correspond to the compiled CSS will be placed\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eomitSourceMapingUrl\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Prevents the generation of the \u003ccode\u003esourceMappingUrl\u003c/code\u003e special comment as the last\n        line of the compiled CSS.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eembedSourceMapInCss\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n        Embeds the whole source map data directly into the compiled CSS file by transforming\n        \u003ccode\u003esourceMappingUrl\u003c/code\u003e into a data URI.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eembedSourceContentsInSourceMap\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n       Embeds the contents of the source \u003ccode\u003e.scss\u003c/code\u003e files in the source map file instead of the\n       paths to those files\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003einputSyntax\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003escss\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n       Switches the input syntax used by the files to either \u003ccode\u003esass\u003c/code\u003e or \u003ccode\u003escss\u003c/code\u003e.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eprecision\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003e5\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n       Precision for fractional numbers\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eenableClasspathAwareImporter\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n       Enables classpath aware importer which make possible to \u003ccode\u003e@import\u003c/code\u003e files from classpath and WebJars.\n       For classpath resources use \u003ccode\u003e@import 'path/to/resource/in/classpath';\u003c/code\u003e.\n       For WebJar resources a shortcut can be used: \u003ccode\u003e@import '{package}/{path}';\u003c/code\u003e imports resource\n       \u003ccode\u003eMETA-INF/resources/webjars/{package}/{version}/{path}\u003c/code\u003e.  \n       Warning:  \n       \u003ccode\u003eDue to a limitation in jsass, this currently only works with scss files.\u003c/code\u003e\n      \u003c/td\u003e\n    \u003c/tr\u003e\n     \u003ctr\u003e\n      \u003ctd\u003efailOnError\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003etrue\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n       should fail the build in case of compilation errors.\n      \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003ecopySourceToOutput\u003c/td\u003e\n      \u003ctd\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\n      \u003ctd\u003e\n       copies all files from source directory to output directory\n      \u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\nLicense\n-------\n\nMIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F123haynes%2Flibsass-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F123haynes%2Flibsass-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F123haynes%2Flibsass-maven-plugin/lists"}