<?xml version="1.0" encoding="UTF-8"?>
<!--
 *  Copyright (c) 2005-2006 The Apache Software Foundation or its licensors, as applicable.
 *
 *  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.
 -->
<project>
    <parent>
        <groupId>org.apache.tuscany</groupId>
        <artifactId>tuscany-testing-interop-services</artifactId>
        <version>incubating-M1</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>interop-service-webserviceInteropDoc</artifactId>
    <packaging>war</packaging>
    <name>Tuscany Interop Testing - Services - InteropDoc</name>
    <version>incubating-M1</version>

    <dependencies>
        <dependency>
            <groupId>org.osoa</groupId>
            <artifactId>sca-api</artifactId>
            <version>${pom.version}</version>
            <scope>provided</scope> 
        </dependency>

        <dependency>
            <groupId>org.apache.tuscany</groupId>
            <artifactId>tuscany-core</artifactId>
            <version>${pom.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.tuscany.sca.containers</groupId>
            <artifactId>tuscany-container-java</artifactId>
            <version>${pom.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.tuscany.sca.bindings</groupId>
            <artifactId>tuscany-binding-axis2</artifactId>
            <version>${pom.version}</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>
      
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.tuscany</groupId>
                <artifactId>tuscany-sdo-plugin</artifactId>
                <executions>
                    <execution>
                        <configuration>
                            <schemaFile>${basedir}/src/main/resources/wsdl/interopdoc.wsdl</schemaFile>
                            <noNotification>true</noNotification>
                            <noContainer>true</noContainer>
                            <noInterfaces>true</noInterfaces>
                            <noUnsettable>true</noUnsettable>
                        </configuration>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.tuscany.sca.plugins</groupId>
                <artifactId>tuscany-plugin-wsdl2java</artifactId>
                <executions>
                    <execution>
                        <configuration>
                            <wsdlFile>${basedir}/src/main/resources/wsdl/interopdoc.wsdl</wsdlFile>
                            <javaPackage>org.soapinterop</javaPackage>
                        </configuration>
                        <goals>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>     
   </build>

</project>
