<?xml version="1.0" encoding="UTF-8"?>
<!--
 - Copyright 2013 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.mail">

    <resources>
        <resource-root path="switchyard-component-camel-mail-2.0.1.redhat-621211-03.jar"/>
    </resources>

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