Hi,
I have tried to use the meta-inf attribute of the moduleDependencyType in the jboss-deployment-strucutre (version 1.1) with no success.
As I understand the schema documentation meta-inf="import" should be the same as specifying an import filter for META-INF**
I have used JBoss 7.1.1.
This is working:
{code:xml}
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework.spring"/>
</dependencies>
</deployment>
<sub-deployment name="merlix-core-web.war">
<dependencies>
<module name="org.springframework.spring">
<imports>
<include path="META-INF**"/>
</imports>
</module>
</dependencies>
</sub-deployment>
<sub-deployment name="merlix-core.jar">
<dependencies>
<module name="org.springframework.spring"/>
</dependencies>
</sub-deployment>
</jboss-deployment-structure>
{code}
I though this is the same, but not working (also with meta-inf="export"):
{code:xml}
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<dependencies>
<module name="org.springframework.spring"/>
</dependencies>
</deployment>
<sub-deployment name="merlix-core-web.war">
<dependencies>
<module name="org.springframework.spring" meta-inf="import"/>
</dependencies>
</sub-deployment>
<sub-deployment name="merlix-core.jar">
<dependencies>
<module name="org.springframework.spring"/>
</dependencies>
</sub-deployment>
</jboss-deployment-structure>
{code}
Any ideas?
Regards,
Gonne