I have a webapp that runs in Jetty and Tomcat. To make it run cleanly in JBoss, I need to subtract some jar files from the dependency graph.
Unless I'm confused, this is going to take a lot of POM XML, because those jars are in the graph of several of my dependencies. So, I'm wondering: is there any other declarative mechanism for forcing 'provided' scope? Can dependencyManagement do this? Alternatively, is there some large hammer to be had at the point of WAR packaging that would allow me to filter?
