Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
When I package a SAR-Module into my EAR, all depencies to the SAR are resolved and added to the EAR. The problem here is that these dependencies are already packaged inside the SAR, making for a very large EAR and sometimes classloading-problems!
There's pretty much nothing the ear plugin can do at this point. Packaging dependencies in the sar is a choice that you make, you could perfectly as well not do that and rely on the transitive mechanism just for any other other library.
The duplication comes from your setup actually. If you really want to bundle these libraries in your sar, mark them as provided then.