Maven Minify Plugin using YUI Compressor

Following the previous article Combine and minimize JavaScript and CSS files for faster loading, I implemented a similar solution as a Maven plugin.

This plugin combines and minimizes JavaScript and CSS files using YUI Compressor for faster page loading.

More details can be found on the Minify Maven Plugin page.

Published by

Samuel Santos

Java developer, Open Source hacker, Web technologist, JUG Leader.

3 thoughts on “Maven Minify Plugin using YUI Compressor”

  1. Nice! However, having to specify each JS-file is tedious when you start scaling (we’re at some 20K lines of JavaScript code and ~150 source files). Exclude/include patterns would be nice to have.

Leave a Reply

Your email address will not be published. Required fields are marked *