davidB / yuicompressor-maven-plugin

maven's plugin to compress (Minify / Ofuscate / Aggregate) Javascript files and CSS files using YUI Compressor
http://davidb.github.io/yuicompressor-maven-plugin/
GNU Lesser General Public License v2.1
122 stars 48 forks source link

After using yuicompressor-maven-plugin for minify js/css, the jar under WEB-INF/lib not compressed #58

Closed asdf913 closed 11 years ago

asdf913 commented 11 years ago

After using yuicompressor-maven-plugin for minify js/css, the jar under WEB-INF/lib not compressed

The situation as follow.

Background There are 43 jar file under WEB-INF/lib in the war file. The total size (uncompressed) 23512185byte and 21562653byte (compressed)

After adding yuicompressor-maven-plugin in the pom.xml, the build operation succeeded and the js/css files minified.

However, the jar file under WEB-INF/lib is not compressed. (The whole deployment/war file file size will be increased)

I think it is a minor issue and hope that there will be a solution for such issue.

davidB commented 11 years ago

Hi,

the plugin doesn't touch jar under WEB-INF/lib (out of scope). What is your configuration (pom.xml) ? What is the content (diff) of WEB-INF/lib when you run "mvn package" with yuicompressor commented and not ?

davidB commented 11 years ago

no-reply