<plugin>
<groupId>com.github.hazendaz.maven</groupId>
<artifactId>htmlcompressor-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>htmlcompressor</goal>
</goals>
</execution>
</executions>
<configuration>
<enabled>true</enabled>
<goalPrefix>htmlcompressor</goalPrefix>
<removeComments>true</removeComments>
<removeMultiSpaces>true</removeMultiSpaces>
<removeIntertagSpaces>true</removeIntertagSpaces>
<removeQuotes>true</removeQuotes>
<compressJavaScript>true</compressJavaScript>
<compressCss>true</compressCss>
<includes>
<include>src/main/resources/**/*.html</include>
</includes>
<excludes>
<exclude>src/main/resources/**/*.min.css</exclude>
<exclude>src/main/resources/**/*.min.js</exclude>
<exclude>src/main/resources/**/*.css</exclude>
</excludes>
</configuration>
</plugin>
09-02