<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.codehaus.enunciate</groupId>
    <artifactId>enunciate-parent</artifactId>
    <version>1.25</version>
  </parent>

  <artifactId>enunciate-spring-jaxws-rt</artifactId>
  <name>Enunciate - JAX-WS RI Runtime Spring Support</name>
  <description>The Enunciate JAX-WS Reference Implementation runtime libraries support the Spring-based JAX-WS RI-backed SOAP endpoints.</description>

  <dependencies>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>enunciate-core-rt</artifactId>
      <version>${project.version}</version>
    </dependency>

    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>enunciate-jaxws-ri-rt</artifactId>
      <version>${project.version}</version>
    </dependency>

    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
    </dependency>

    <dependency>
      <!-- cglib because the JAX-WS RI invokes the implementation
          methods on the potentially-advised endpoints -->
      <groupId>cglib</groupId>
      <artifactId>cglib-nodep</artifactId>
    </dependency>

    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
      <version>2.5.4</version>

      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-web</artifactId>
      <version>2.5.4</version>

      <scope>provided</scope>
    </dependency>

    <dependency>
      <!--depending modules: spring-jaxws-rt-->
      <groupId>org.jvnet.jax-ws-commons.spring</groupId>
      <artifactId>jaxws-spring</artifactId>
      <version>1.8</version>

      <!--sigh. maybe someday someone will release a cleaned-up pom for jaxws-spring-->
      <exclusions>
        <exclusion>
          <!--we'll use enunciate's version of jaxws-rt-->
          <groupId>com.sun.xml.ws</groupId>
          <artifactId>jaxws-rt</artifactId>
        </exclusion>

        <exclusion>
          <!--this should be optional-->
          <groupId>javax.servlet</groupId>
          <artifactId>servlet-api</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of spring-->
          <groupId>org.springframework</groupId>
          <artifactId>spring</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of spring-->
          <groupId>org.springframework</groupId>
          <artifactId>spring-core</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of spring-->
          <groupId>org.springframework</groupId>
          <artifactId>spring-context</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of jsr181-->
          <groupId>javax.jws</groupId>
          <artifactId>jsr181-api</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of jaxb-->
          <groupId>com.sun.xml.bind</groupId>
          <artifactId>jaxb-impl</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of activation-->
          <groupId>javax.activation</groupId>
          <artifactId>activation</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of stax-->
          <groupId>javax.xml.stream</groupId>
          <artifactId>stax-api</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of staxex-->
          <groupId>org.jvnet.staxex</groupId>
          <artifactId>stax-ex</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of streambuffer-->
          <groupId>com.sun.xml.stream.buffer</groupId>
          <artifactId>streambuffer</artifactId>
        </exclusion>

        <exclusion>
          <!--we'll use enunciate's version of sjsxp -->
          <groupId>com.sun.xml.stream</groupId>
          <artifactId>sjsxp</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>

</project>
