<?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>2.0.1</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
    <name>Apache Tuscany SCA Axis2-1.5-based WS Binding Runtime</name>


    <dependencies>
        <!--  Compile dependencies -->
    
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-core-runtime-pom</artifactId>
            <version>2.0.1</version>
            <type>pom</type>
            <scope>provided</scope>
        </dependency>     
              
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-policy-security</artifactId>
            <version>2.0.1</version>
            <scope>provided</scope> <!-- it's in base -->
        </dependency>      

        <dependency>
           <groupId>org.apache.axis2</groupId> 
           <artifactId>org.apache.axis2.osgi</artifactId>
           <version>1.5.3</version>
           <exclusions>
               <exclusion>
                   <groupId>org.apache.axis2</groupId>
	             <artifactId>axis2-adb</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>org.apache.axis2</groupId>
	             <artifactId>axis2-kernel</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>org.apache.axis2</groupId>
	             <artifactId>axis2-transport-http</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>org.apache.axis2</groupId>
	             <artifactId>axis2-transport-local</artifactId>
               </exclusion>
           </exclusions>
        </dependency>
         
        <dependency>
            <groupId>org.apache.rampart</groupId>
            <artifactId>rampart-core</artifactId>
            <version>1.5.1</version>            
           <exclusions>    
               <!--  
                   We can live without most of the Rampart dependencies. The following
                   jars were added to Tuscany support Rampart
                   
                   axiom-dom-1.2.10.jar, 
                   mex-1.5.4-impl.jar, 
                   not-yet-commons-ssl-0.3.9.jar, 
                   opensaml-2.4.1.jar, 
                   openws-1.4.1.jar, 
                   rampart-core-1.5.1.jar, 
                   rampart-policy-1.5.1.jar, 
                   rampart-trust-1.5.1.jar,  
                   wss4j-1.5.10.jar, 
                   xmlsec-1.4.4.jar, 
                   xmltooling-1.3.1.jar
               -->
               <exclusion>
                   <groupId>org.apache.axis2</groupId>
                   <artifactId>axis2-kernel</artifactId>
               </exclusion>               
               <exclusion>
                   <groupId>org.apache.axis2</groupId>
                   <artifactId>addressing</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>org.opensaml</groupId>
                   <artifactId>opensaml1</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>bouncycastle</groupId>
                   <artifactId>bcprov-jdk14</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>org.bouncycastle</groupId>
                   <artifactId>bcprov-ext-jdk15</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-jdk14</artifactId>
               </exclusion>   
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-api</artifactId>
               </exclusion>   
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>jcl-over-slf4j</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>log4j-over-slf4j</artifactId>
               </exclusion>    
               <exclusion>
                   <groupId>commons-lang</groupId>
                   <artifactId>commons-lang</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>joda-time</groupId>
                   <artifactId>joda-time</artifactId>
               </exclusion>    
               <exclusion>
                   <groupId>net.jcip</groupId>
                   <artifactId>jcip-annotations</artifactId>
               </exclusion>   
               <exclusion>
                   <groupId>commons-collections</groupId>
                   <artifactId>commons-collections</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>jargs</groupId>
                   <artifactId>jargs</artifactId>
               </exclusion>                                                                         
               <exclusion>
                   <groupId>velocity</groupId>
                   <artifactId>velocity</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.apache.xerces</groupId>
                   <artifactId>xml-apis</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.apache.xerces</groupId>
                   <artifactId>xercesImpl</artifactId>
               </exclusion>                
               <exclusion>
                   <groupId>org.apache.xerces</groupId>
                   <artifactId>resolver</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.apache.xerces</groupId>
                   <artifactId>serializer</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.apache.geronimo.specs</groupId>
                   <artifactId>geronimo-stax-api_1.0_spec</artifactId>
               </exclusion>     
               <exclusion>
                   <groupId>org.apache.geronimo.specs</groupId>
                   <artifactId>geronimo-activation_1.1_spec</artifactId>
               </exclusion>    
               <exclusion>
                   <groupId>org.codehaus.woodstox</groupId>
                   <artifactId>wstx-asl</artifactId>
               </exclusion>   
               <exclusion>
                   <groupId>org.apache.xalan</groupId>
                   <artifactId>xalan</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>org.apache.santuario</groupId>
                   <artifactId>xmlsec</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>org.apache.ws.security</groupId>
                   <artifactId>wss4j</artifactId>
               </exclusion>
           </exclusions>                     
        </dependency>

        <dependency>
           <groupId>org.apache.ws.security</groupId>
           <artifactId>wss4j</artifactId>
           <version>1.5.11</version>
        </dependency>
                
        <!--  replace the Rampart xmlsec with the version Tuscany is using -->
        <dependency>
            <groupId>org.apache.santuario</groupId>
            <artifactId>xmlsec</artifactId>
            <version>1.4.4</version>
            <exclusions>           
               <exclusion>
                   <groupId>commons-logging</groupId>
                   <artifactId>commons-logging</artifactId>
               </exclusion>              
           </exclusions>
        </dependency>   
        
        <dependency>
            <groupId>org.opensaml</groupId>
            <artifactId>opensaml</artifactId>
            <version>2.4.1</version>
            <exclusions>
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-jdk14</artifactId>
               </exclusion>   
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>slf4j-api</artifactId>
               </exclusion>   
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>jcl-over-slf4j</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>log4j-over-slf4j</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>org.slf4j</groupId>
                   <artifactId>jul-to-slf4j</artifactId>
               </exclusion>   
               <exclusion>
                   <groupId>commons-lang</groupId>
                   <artifactId>commons-lang</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>joda-time</groupId>
                   <artifactId>joda-time</artifactId>
               </exclusion>    
               <exclusion>
                   <groupId>net.jcip</groupId>
                   <artifactId>jcip-annotations</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>org.bouncycastle</groupId>
                   <artifactId>bcprov-ext-jdk15</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>org.bouncycastle</groupId>
                   <artifactId>bcprov-jdk15</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.apache.commons.ssl</groupId>
                   <artifactId>not-yet-commons-ssl</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>ca.juliusdavies</groupId>
                   <artifactId>not-yet-commons-ssl</artifactId>
               </exclusion>
               <exclusion>
                   <groupId>commons-collections</groupId>
                   <artifactId>commons-collections</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>jargs</groupId>
                   <artifactId>jargs</artifactId>
               </exclusion>                                                                         
               <exclusion>
                   <groupId>velocity</groupId>
                   <artifactId>velocity</artifactId>
               </exclusion>  
               <exclusion>
                   <groupId>org.apache.xerces</groupId>
                   <artifactId>xml-apis</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.apache.xerces</groupId>
                   <artifactId>xercesImpl</artifactId>
               </exclusion>                
               <exclusion>
                   <groupId>org.apache.xerces</groupId>
                   <artifactId>resolver</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>org.apache.xerces</groupId>
                   <artifactId>serializer</artifactId>
               </exclusion>   
               <exclusion>
                   <groupId>org.apache.xalan</groupId>
                   <artifactId>xalan</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>xalan</groupId>
                   <artifactId>xalan</artifactId>
               </exclusion> 
               <exclusion>
                   <groupId>xml-resolver</groupId>
                   <artifactId>xml-resolver</artifactId>
               </exclusion>
            </exclusions>
        </dependency>               
   
        <dependency>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
            <version>3.1</version>
           <exclusions>           
               <exclusion>
                   <groupId>commons-logging</groupId>
	               <artifactId>commons-logging</artifactId>
               </exclusion>              
           </exclusions>
        </dependency>

        <dependency>
            <groupId>org.apache.ws.commons.axiom</groupId>
            <artifactId>axiom-api</artifactId>
            <version>1.2.10</version>
            <exclusions>
                <exclusion>
               	    <groupId>org.apache.geronimo.specs</groupId>
	                <artifactId>geronimo-activation_1.1_spec</artifactId>
                </exclusion>
                <!-- exclusion>
               	    <groupId>org.apache.geronimo.specs</groupId>
	                <artifactId>geronimo-javamail_1.4_spec</artifactId>
                </exclusion -->
                <exclusion>
               	    <groupId>org.apache.geronimo.specs</groupId>
	                <artifactId>geronimo-stax-api_1.0_spec</artifactId>
                </exclusion>
                <!-- needed by rampart
                <exclusion>
               	    <groupId>jaxen</groupId>
	                <artifactId>jaxen</artifactId>
                </exclusion>
                -->
            </exclusions>
        </dependency> 
        
        <dependency>
            <groupId>org.apache.ws.commons.axiom</groupId>
            <artifactId>axiom-impl</artifactId>
            <version>1.2.10</version>
            <exclusions>
                <exclusion>
               	    <groupId>org.apache.geronimo.specs</groupId>
	                <artifactId>geronimo-activation_1.1_spec</artifactId>
                </exclusion>
                <exclusion>
               	    <groupId>org.apache.geronimo.specs</groupId>
	                <artifactId>geronimo-javamail_1.4_spec</artifactId>
                </exclusion>
                <exclusion>
               	    <groupId>org.apache.geronimo.specs</groupId>
	                <artifactId>geronimo-stax-api_1.0_spec</artifactId>
                </exclusion>
                <exclusion>
               	    <groupId>org.codehaus.woodstox</groupId>
	                <artifactId>wstx-asl</artifactId>
                </exclusion>
            </exclusions>
        </dependency>   
        
        <dependency>
            <groupId>org.apache.neethi</groupId>
            <artifactId>neethi</artifactId>
            <version>2.0.4</version>
            <exclusions>
                <exclusion>
                    <groupId>org.codehaus.woodstox</groupId>
                    <artifactId>wstx-asl</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</version>
            <scope>provided</scope>
        </dependency>
        
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-policy-wspolicy</artifactId>
            <version>2.0.1</version>
        </dependency>         

        <!--  Runtime dependencies -->
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-databinding-axiom</artifactId>
            <version>2.0.1</version>
            <scope>runtime</scope>
        </dependency>

        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-databinding-jaxb-axiom</artifactId>
            <version>2.0.1</version>
            <scope>runtime</scope>
        </dependency>        

        <!--  Test dependencies -->
        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-base-runtime-pom</artifactId>
            <version>2.0.1</version>
            <type>pom</type>
            <scope>test</scope>
        </dependency> 

        <dependency>
            <groupId>org.apache.tuscany.sca</groupId>
            <artifactId>tuscany-host-jetty</artifactId>
            <version>2.0.1</version>
            <scope>test</scope>
        </dependency>     

        <dependency>
            <groupId>org.codehaus.woodstox</groupId>
            <artifactId>wstx-asl</artifactId>
            <version>3.2.9</version>
            <scope>test</scope>
        </dependency> 
   
    </dependencies>

</project>
