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
As Jakob Kruse say, you must deal with the *.js, but no *.min.js, so my configurations is below, please notice the use of %regex[] :
net.alchim31.maven
yuicompressor-maven-plugin
1.4.0
compressyui
process-resources
compress
true
${basedir}/WebContent
${project.build.directory}/min
false
**/*-min.js
**/*.min.js
**/*-min.css
**/*.min.css
**/jquery.window.js
......
**/compile.js
org.apache.maven.plugins
maven-war-plugin
2.4
WebContent
servlet-api*.jar,target/test-classes/*
test/**,%regex[.*(!min).js],%regex[.*(!min).css]
${project.build.directory}/min