I was discussing again with Ales the server/xxx/lib-opt directory we've added a while back, and it seems to me a lot more appropriate to put any conditionally enabled .jars together with the corresponding deployer.
I.e. deployers/seam.deployer/lib/jboss-seam-int-jbossas.jar
With the proper classloading settings this lib, or other versions of it, should be conditionally put in the classpath by the seam deployer.
This makes the deployer more self-contained and removes the extra directory bloat.
Bump.
As of r80658 I'm still seeing \server\default\lib-opt.
Dimitris' idea seems like a good one, this way deployers in the future, which sometimes need additional jar's, don't need to all throw stuff in \lib-opt. So how about making this change?