Tag Archives: .scss

Auto compile SASS stylesheets with maven

This simple example show how to set up a maven web application using SASS (.scss) stylesheets by compiling automatically on changing without restarting the server. The project structure: Maven configuration <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <groupId>hu.daniel.hari.exercises</groupId> <artifactId>Tutorial-SassMavenAutoCompile</artifactId> <version>1.0</version> <packaging>war</packaging> <properties> <!– Generic properties –> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <java.version>1.7</java.version> <!– –> </properties> <dependencies> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration>… Read more »