<?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.jpa">

    <resources>
        <resource-root path="switchyard-component-camel-jpa-2.0.1.redhat-621117.jar"/>
    </resources>

    <dependencies>
        <module name="javax.api"/>
        <module name="javax.persistence.api"/>
        <module name="org.jboss.logging"/>
        <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.jpa" export="true" optional="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.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>
