-
1. Re: Exporting META-INF to other modules
jaikiran May 5, 2014 8:07 AM (in response to iref)You need services=import on the module dependency:
<dependencies>
....
<module name="org.jboss.logging" services="import"/>
....
-
2. Re: Exporting META-INF to other modules
ricardo.jr Sep 15, 2014 3:43 PM (in response to iref)1 of 1 people found this helpfulJan Ferko, I've got the muduled jar's META-INF visible by app.war this way
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="javax.faces.api" slot="mojarra-1.2_15_full_dep">
<imports>
<include path="META-INF**"/>
</imports>
</module>
</dependencies>
</deployment>
</jboss-deployment-structure>
this access the META-INF of all jars in resource area.
<?xml version="1.0" ?>
<module xmlns="urn:jboss:module:1.1" name="javax.faces.api" slot="mojarra-1.2_15_full_dep">
<resources>
<resource-root path="richfaces-ui-3.3.3.Final.jar"/>
<resource-root path="richfaces-impl-3.3.3.Final.jar"/>
<resource-root path="richfaces-api-3.3.3.Final.jar"/>
<resource-root path="tomahawk12-1.1.10.jar"/>
<resource-root path="jsf-facelets-1.1.14.jar"/>
</resources>
<!--
I didn't get access the META-INF on module dependencies
-->
<dependencies>
<module name="com.sun.jsf-impl" slot="mojarra-1.2_15"/>
<module name="javax.api"/>
<module name="javax.servlet.api"/>
<module name="javax.servlet.jsp.api"/>
<module name="javax.faces.api" slot="mojarra-1.2_15"/>
<module name="org.apache.commons.collections"/>
<module name="org.apache.commons.digester"/>
<module name="org.apache.commons.el"/>
<module name="org.apache.commons.logging"/>
<module name="org.apache.commons.fileupload"/>
</dependencies>
</module>