]
Brian Stansberry commented on WFCORE-4231:
------------------------------------------
I moved this to WFCORE is this functionality is in core.
module defined in jboss-deployment-structure.xml does not fail if
resource does not exist
-----------------------------------------------------------------------------------------
Key: WFCORE-4231
URL:
https://issues.jboss.org/browse/WFCORE-4231
Project: WildFly Core
Issue Type: Feature Request
Components: Server
Reporter: Brad Maxwell
Priority: Major
Request for module resources to be required, if one does not exist, then fail the
deployment.
{code}
<?xml version="1.0"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<deployment>
<dependencies>
<module name="deployment.test.module" export="true"/>
</dependencies>
</deployment>
<module name="deployment.test.module">
<resources>
<resource-root path="missing.jar"/>
</resources>
</module>
</jboss-deployment-structure>
{code}
{code}
11:13:07,130 WARN [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0058:
Additional resource root
/home/jboss/jboss-eap-7.1/standalone/deployments/test.ear/missing.jar added via
jboss-deployment-structure.xml does not exist
{code}