4 Replies Latest reply on Feb 22, 2013 9:18 AM by Hamid RAHMOUNI

    Exclude module "javax.resource.api" from javaee

    Hamid RAHMOUNI Newbie



      I want to exclude the javax.resource.api from the the javaee module defined on jboss modules, Below the content of the jboss-deployment-structure.xml :


      <sub-deployment name="APP1.war">


                            <module name="javaee.api" />



                                <module name="deployment.APP_EAR.ear.APP2.war">


                                    <include path="/**" />

                                    <exclude path="org/apache/commons/lang" />

                                                <exclude path="org/apache/commons/collections" />

                                                <exclude path="org/apache/commons/collections/**" />

                                    <exclude path="org/springframework/**" />

                                                <exclude path="javax/servlet" />

                                                <exclude path="javax/servlet/**" />






      I want my APP1.war to use an old jar geronimo-j2ee-connector_1.5_spec-1.1-osgi.jar defined on WEB-INF/lib directory


      Could please help me on this issue ?


      Best regards.