Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3670

module defined with an alias in jboss-deployment-structure.xml with fails to parse when annotations=true

XMLWordPrintable

      This is a follow up to JBEAP-13094.
      Having a deployment with jboss-deployment-structure like this:

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
      
        <module name="deployment.application-exception-api">
          <resources>
           <resource-root path="application-exception-api.jar"/>
          </resources>
          <dependencies>
      			<module name="javax.ejb.api" export="true"/>
      			<module name="javaee.api" export="true"/>
      			<module name="javax.api" export="true"/>
          </dependencies>
          <module-alias name="deployment.api" />
        </module>  
      
      	<sub-deployment name="application-exception-ejb.jar">
      		<dependencies>
      			<module name="deployment.api" annotations="true" meta-inf="export"/>
      		</dependencies>
      	</sub-deployment>
      
      </jboss-deployment-structure>
      

      it fails to parse.

              chaowan@redhat.com Chao Wang
              chaowan@redhat.com Chao Wang
              Peter Mackay Peter Mackay
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: