Details
-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
PersistenceUnitParseProcessor.handleEarDeployment() needs to know the difference between jars that are subdeployments and jars that are in ear/lib.
Currently, jars in ear/lib are ignored.
For example, with a deploymentUnit.getAttachment(Attachments.RESOURCE_ROOTS) of:
ResourceRoot [root="/content/test.ear/lib/test.jar"]
ResourceRoot [root="/content/test.ear/test_web.war"]
ResourceRoot [root="/content/test.ear/test_ejb.jar"]
The test.ear/test_web.war + test.ear/test_ejb.jar get handled as subdeployments but test.ear/lib/test.jar does not.