<?xml version="1.0" encoding="UTF-8"?>
<!--
  #%L
  Gravia :: Container :: WildFly :: Patch
  %%
  Copyright (C) 2010 - 2014 JBoss by Red Hat
  %%
  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.
  #L%
  -->


<module xmlns="urn:jboss:module:1.1" name="org.jboss.gravia">
    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <resources>
        <resource-root path="gravia-resource-1.3.1.jar"/>
        <resource-root path="gravia-runtime-api-1.3.1.jar"/>
        <resource-root path="gravia-runtime-embedded-1.3.1.jar"/>
        <resource-root path="org.apache.felix.configadmin-1.8.8.jar">
            <filter>
                <exclude path="org/osgi/**" />
            </filter>
        </resource-root>
        <resource-root path="org.apache.felix.log-1.0.1.jar">
            <filter>
                <exclude path="org/osgi/**" />
            </filter>
        </resource-root>
        <resource-root path="org.apache.felix.metatype-1.0.8.jar">
            <filter>
                <exclude path="org/osgi/**" />
            </filter>
        </resource-root>
        <resource-root path="org.apache.felix.scr-1.6.2.jar">
            <filter>
                <exclude path="org/osgi/**" />
            </filter>
        </resource-root>
    </resources>

    <exports>
        <include path="org/jboss/gravia/resource"/>
        <include path="org/jboss/gravia/runtime"/>
    </exports>
    
    <dependencies>
        <module name="javax.api"/>
        <module name="javax.servlet.api"/>
        <module name="org.osgi.core"/>
        <module name="org.osgi.enterprise"/>
        <module name="org.slf4j"/>
    </dependencies>

</module>
