I\'ve been struggling with getting this plugin to play nicely with the maven-war-plugin for a couple of hours now and I thought it was time to ask for help. I have the plugi
OK. I finally figured this out. You need to define a
in the yuicompressor plugin that can then be referenced as a
in the maven-war-plugin. In the example below I'm using
net.alchim31.maven
yuicompressor-maven-plugin
1.3.0
compressyui
process-resources
compress
true
${basedir}/WebContent
${project.build.directory}/min
false
maven-war-plugin
default-war
package
war
${basedir}/WebContent
UTF-8
${basedir}/WebContent
UTF-8
${project.build.directory}/min