CSS preprocessors are useful tools to build coherent CSS files. SASS is one of them.
To use it with Maven, we’ll use this SASS maven plugin
<build> <plugins> <plugin> <groupId>org.jasig.maven</groupId> <artifactId>sass-maven-plugin</artifactId> <configuration> <sassSourceDirectory>${project.basedir}/src/main/resources/sass</sassSourceDirectory> <outputDirectory>${project.build.directory}/generated-html/v1/css</outputDirectory> <baseOutputDirectory>${project.build.directory}/generated-html/v1/css</baseOutputDirectory> </configuration> </plugin> </plugins> </build>