Maven Minify Plugin using YUI Compressor

June 11th, 2009 by Samuel Santos Leave a reply »
0saves

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.

Advertisement

3 comments

  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