<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you 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.
-->
<project>

    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.apache.tuscany.sca</groupId>
        <artifactId>tuscany-modules</artifactId>
        <version>0.91-incubating-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>tuscany-binding-ejb</artifactId>
    <name>Apache Tuscany Binding for Stateless Session Bean</name>
    <description>Implementation of Stateless Session Bean binding</description>

    <dependencies>

        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-extension-helper</artifactId>
            <version>0.91-incubating-SNAPSHOT</version>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-ejb_2.1_spec</artifactId>
            <version>1.0.1</version>
            <scope>compile</scope>
        </dependency>

        <dependency>
            <groupId>cglib</groupId>
            <artifactId>cglib-nodep</artifactId>
            <version>2.1_3</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>junit</groupId>                                      
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.easymock</groupId>
            <artifactId>easymock</artifactId>
            <version>2.2</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-implementation-java-runtime</artifactId>
            <version>0.91-incubating-SNAPSHOT</version>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-j2ee-jacc_1.0_spec</artifactId>
            <version>1.0</version>
            <scope>test</scope>
        </dependency>


  <!-- yuk. all the exclusions are necessary as otherwise just about every geronimo
       jar gets downloaded, and also there's a problem with one of the pom's causing
       the build to always fail -->
       
        <dependency>
            <groupId>openejb</groupId>
            <artifactId>openejb-core</artifactId>
            <version>2.1.1</version>
            <scope>test</scope>
 
          <exclusions>
           <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-connector</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-core</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-client</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-common</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-deployment</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-j2ee</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-management</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-kernel</artifactId>
    </exclusion>
    <exclusion>
      <groupId>activeio</groupId>
      <artifactId>activeio</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-security</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-timer</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-transaction</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-axis</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-axis-builder</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-naming</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-system</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-util</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-j2ee-deployment_1.1_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo-spec</groupId>
      <artifactId>geronimo-spec-corba</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-ejb_2.1_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-servlet_2.4_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-j2ee-jacc_1.0_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jms_1.1_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-j2ee-management_1.0_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-jaxrpc_1.1_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-saaj_1.1_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-qname_1.1_spec</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-webservices</artifactId>
    </exclusion>
    <exclusion>
      <groupId>tranql</groupId>
      <artifactId>tranql</artifactId>
    </exclusion>
    <exclusion>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>
    </exclusion>
    <exclusion>
      <groupId>axion</groupId>
      <artifactId>axion</artifactId>
    </exclusion>
    <exclusion>
      <groupId>castor</groupId>
      <artifactId>castor</artifactId>
    </exclusion>
    <exclusion>
      <groupId>oro</groupId>
      <artifactId>oro</artifactId>
    </exclusion>
    <exclusion>
      <groupId>cglib</groupId>
      <artifactId>cglib-nodep</artifactId>
    </exclusion>
    <exclusion>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </exclusion>
    <exclusion>
      <groupId>commons-primitives</groupId>
      <artifactId>commons-primitives</artifactId>
    </exclusion>
    <exclusion>
      <groupId>concurrent</groupId>
      <artifactId>concurrent</artifactId>
    </exclusion>
    <exclusion>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
    </exclusion>
    <exclusion>
      <groupId>mx4j</groupId>
      <artifactId>mx4j</artifactId>
    </exclusion>
    <exclusion>
      <groupId>regexp</groupId>
      <artifactId>regexp</artifactId>
    </exclusion>
    <exclusion>
      <groupId>xerces</groupId>
      <artifactId>xercesImpl</artifactId>
    </exclusion>
    <exclusion>
      <groupId>xerces</groupId>
      <artifactId>xmlParserAPIs</artifactId>
    </exclusion>
    <exclusion>
      <groupId>commons-cli</groupId>
      <artifactId>commons-cli</artifactId>
    </exclusion>
    <exclusion>
      <groupId>asm</groupId>
      <artifactId>asm</artifactId>
    </exclusion>
    <exclusion>
      <groupId>axis</groupId>
      <artifactId>axis</artifactId>
    </exclusion>
    <exclusion>
      <groupId>xmlbeans</groupId>
      <artifactId>xbean</artifactId>
    </exclusion>
    <exclusion>
      <groupId>commons-jelly</groupId>
      <artifactId>commons-jelly-tags-velocity</artifactId>
    </exclusion>
    <exclusion>
      <groupId>velocity</groupId>
      <artifactId>velocity</artifactId>
    </exclusion>
            </exclusions>
        </dependency>

       <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-security</artifactId>
            <version>1.1.1</version>
            <scope>test</scope>
    <exclusions>
       <exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-j2ee-jacc_1.0_spec</artifactId>
    </exclusion>
       <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-common</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-util</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-core</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-j2ee</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-management</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-kernel</artifactId>
    </exclusion>
    <exclusion>
      <groupId>geronimo</groupId>
      <artifactId>geronimo-system</artifactId>
    </exclusion>
    <!-- exclusion>
      <groupId>org.apache.geronimo.specs</groupId>
      <artifactId>geronimo-j2ee-jacc_1.0_spec</artifactId>
    </exclusion -->
    <exclusion>
      <groupId>cglib</groupId>
      <artifactId>cglib-nodep</artifactId>
    </exclusion>
    <exclusion>
      <groupId>concurrent</groupId>
      <artifactId>concurrent</artifactId>
    </exclusion>
    <exclusion>
      <groupId>activeio</groupId>
      <artifactId>activeio</artifactId>
    </exclusion>
    <exclusion>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </exclusion>
    <exclusion>
      <groupId>mx4j</groupId>
      <artifactId>mx4j</artifactId>
    </exclusion>
    <exclusion>
      <groupId>regexp</groupId>
      <artifactId>regexp</artifactId>
    </exclusion>
    <exclusion>
      <groupId>hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
    </exclusion>
    <exclusion>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
    </exclusion>
    <exclusion>
      <groupId>commons-jelly</groupId>
      <artifactId>commons-jelly-tags-velocity</artifactId>
    </exclusion>
    <exclusion>
      <groupId>velocity</groupId>
      <artifactId>velocity</artifactId>
    </exclusion>
    </exclusions>
        </dependency>

        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-common</artifactId>
            <version>1.1.1</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>commons-jelly</groupId>
                    <artifactId>commons-jelly-tags-velocity</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>mx4j</groupId>
                    <artifactId>mx4j</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>geronimo</groupId>
            <artifactId>geronimo-kernel</artifactId>
            <version>1.1.1</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.geronimo.specs</groupId>
                    <artifactId>geronimo-qname</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.geronimo.specs</groupId>
                    <artifactId>geronimo-qname_1.1_spec</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xstream</groupId>
                    <artifactId>xstream</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>commons-jelly</groupId>
                    <artifactId>commons-jelly-tags-velocity</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xpp3</groupId>
                    <artifactId>xpp3</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>mx4j</groupId>
                    <artifactId>mx4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.geronimo.specs</groupId>
                    <artifactId>geronimo-j2ee-management_1.0_spec</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.apache.geronimo.specs</groupId>
                    <artifactId>geronimo-j2ee-deployment_1.1_spec</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

    </dependencies>

</project>
