Folks; maybe a strange use case again, however: We're using maven2 along with Spring and some other libraries included to build web applications, deployed to .war files, usually deployed to contain all the dependent .jars in WEB-INF/lib. While this is good in most situations, we found that in one environment, there is a bunch of separated applications mainly using all the same .jar files so we would be better off moving them to an application server shared jar folder and keeping the .war files smaller without distributing all the same libraries over and over again.
Question: How to achieve this? My first idea was to make all the dependencies in the war artifact poms "provided" and copy them over manually, but, at the very least dealing with transitive dependencies and exclusions, this has proven not to be funny. Can I somehow make the maven2 war build, say, copy the .jar files anywhere else but in the target/<webapp-name> folder to manually copy them over to the application server? Thanks in advance and all the best, Kristian --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org