Martin Kouba created WFLY-4292:
----------------------------------
Summary: Deployment descriptors from a referenced installed library are
ignored
Key: WFLY-4292
URL:
https://issues.jboss.org/browse/WFLY-4292
Project: WildFly
Issue Type: Quality Risk
Components: CDI / Weld, EE
Affects Versions: 8.2.0.Final
Reporter: Martin Kouba
Assignee: Stuart Douglas
This is more a question than a bug report. A Weld user run into this issue (see also
WELD-1851) and we're not quite sure whether this is something that should work.
There are two separated applications: {{test-ejb-jar}} and {{test-war}}. {{test-ejb-jar}}
contains {{persistence.xml}} descriptor. When {{test-war}} is referencing {{test-ejb-jar}}
(either by means of jboss-deployment.xml, Dependencies manifest entry or by means of
extension mechanism) the deployment of {{test-war}} fails, because a persistence unit is
not found during injection.
Now the question is whether the "Library Support" only means access to *classes
and resources* or *classes, resources and descriptors*. I believe it's the former but
the EE spec is not clear.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)