I have the enterprise project (*.ear), what packaged by maven. Ear file have include many files:
final.ear
|-lib
|-META-INF
|--web.war
|--bla-bla.jar
|--web-bla.war
Each file (jar, war) packaged by maven.
1) How put all required libraries from all files (war, jar) into final.ear/lib?
2) How group libraries from /lib, for example: lib/axis, lib/logging?
Using the Maven EAR Plugin - Skinny Wars feature has worked well for me for this problem.