One user on IRC was asking about wro4j (web resource optimizer) support (http://code.google.com/p/wro4j/wiki/MavenPlugin) in the context of m2e/wtp, so I quickly set up a m2e configurator that allows on-the-fly minification of css and js resources. You can grab it from :
- p2 update site : http://download.jboss.org/jbosstools/builds/staging/m2e-wro4j/all/repo/
- github : https://github.com/fbricon/m2e-wro4j
If you want to look at an example project : https://github.com/fbricon/m2e-wro4j/tree/master/org.jboss.tools.m2e.wro4j.tests/projects/p1
This is one way to get around having the min.js files that cause tools to show a fault error.