[jboss-jira] [JBoss JIRA] (WFCORE-4231) module defined in jboss-deployment-structure.xml does not fail if resource does not exist
Brian Stansberry (Jira)
issues at jboss.org
Fri Nov 16 15:29:00 EST 2018
[ https://issues.jboss.org/browse/WFCORE-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662929#comment-13662929 ]
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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list