<?xml version="1.0" encoding="UTF-8"?>
<!--
 - Copyright 2014 Red Hat Inc. and/or its affiliates and other contributors.
 - 
 - Licensed under the Apache License, Version 2.0 (the "License");
 - you may not use this file except in compliance with the License.
 - You may obtain a copy of the License at
 - http://www.apache.org/licenses/LICENSE-2.0
 - Unless required by applicable law or agreed to in writing, software
 - distributed under the License is distributed on an "AS IS" BASIS,
 - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 - See the License for the specific language governing permissions and
 - limitations under the License.
 -->
<module xmlns="urn:jboss:module:1.0" name="org.switchyard.component.camel.cxf">

    <resources>
        <resource-root path="switchyard-component-camel-cxf-2.1.0.redhat-630299.jar"/>
    </resources>

    <dependencies>
        <module name="javax.api"/>
        <module name="javax.wsdl4j.api"/>
        <module name="org.switchyard" 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.switchyard.api"/>
        <module name="org.switchyard.common"/>
        <module name="org.switchyard.config"/>
        <module name="org.switchyard.deploy"/>
        <module name="org.apache.camel.core"/>
        <module name="org.apache.camel.component.cxf" slot="eap-cxf" export="true">
            <imports>
                <include path="META-INF/"/>
                <include path="META-INF/cxf"/>
                <include path="META-INF/services/org/apache/camel/component"/>
            </imports>
            <exports>
                <include path="META-INF/"/>
                <include path="META-INF/cxf"/>
                <include path="META-INF/services/org/apache/camel/component"/>
            </exports>
        </module>
        <module name="org.switchyard.component.camel.switchyard" export="true">
            <imports>
                <include path="META-INF/services/org/apache/camel/component"/>
            </imports>
            <exports>
                <include path="META-INF/services/org/apache/camel/component"/>
            </exports>
        </module>
        <module name="org.switchyard.component.common.camel" export="true">
            <imports>
                <include path="META-INF/services" />
            </imports>
            <exports>
                <include path="META-INF/services" />
            </exports>
        </module>
    </dependencies>
</module>
