<module xmlns="urn:jboss:module:1.1" name="org.jboss.teiid.resource-adapter.webservice">
    
    <main-class name="org.teiid.oauth.OAuthUtil"/>
    
    <resources>
        <resource-root path="connector-ws-${project.version}.jar" />
        <resource-root path="." />
        <!-- Insert resources here -->
    </resources>

    <dependencies>
        <module name="sun.jdk" />        
        <module name="javax.api" />
        <module name="javax.resource.api" />
        <module name="org.jboss.teiid.common-core" />
        <module name="org.jboss.teiid.api" />
        <module name="javax.jws.api" />
        <module name="org.apache.cxf" />
        <module name="org.apache.cxf.impl" />
        <module name="javax.wsdl4j.api" />
        <module name="javax.xml.ws.api" />
        <module name="org.apache.cxf.impl.frontend-jaxrs" services="export" export="true"/>
        <module name="org.apache.cxf.impl" export="true">
            <imports>
                <include path="META-INF" />
                <include path="META-INF/cxf" />
            </imports>
            <exports>
                <include path="META-INF" />
                <include path="META-INF/cxf" />
            </exports>
        </module>
        <module name="org.apache.cxf" export="true">
            <imports>
                <include path="META-INF" />
                <include path="META-INF/cxf" />
            </imports>
            <exports>
                <include path="META-INF" />
                <include path="META-INF/cxf" />
            </exports>
        </module>
        <module name="org.springframework.spring" optional="true" export="true">
            <imports>
                <include path="META-INF" />
            </imports>
            <exports>
                <include path="META-INF" />
            </exports>
        </module>
        <module name="org.apache.ws.security"/>        
    </dependencies>
</module>
