<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>

  <name>JBoss Web Services - Framework Parent</name>
  <groupId>org.jboss.ws</groupId>
  <artifactId>jbossws-framework</artifactId>
  <packaging>jar</packaging>

  <version>3.2.1.Beta2</version>

  <!-- Parent -->
  <parent>
    <groupId>org.jboss.ws</groupId>
    <artifactId>jbossws-parent</artifactId>
    <version>1.0.2.GA</version>
  </parent>

  <!-- Source Control Management -->
  <scm>
    <connection>scm:svn:http://anonsvn.jboss.org/repos/jbossws/framework/tags/jbossws-framework-3.2.1.Beta2</connection>
    <developerConnection>scm:svn:https://svn.jboss.org/repos/jbossws/framework/tags/jbossws-framework-3.2.1.Beta2</developerConnection>
    <url>http://fisheye.jboss.com/viewrep/JBossWS/framework/tags/jbossws-framework-3.2.1.Beta2</url>
  </scm>

  <!-- Properties -->
  <properties>
    <jaxrpc.api.version>1.1</jaxrpc.api.version>
    <jaxws.api.version>2.1</jaxws.api.version>
    <jboss.web.version>2.1.3.GA</jboss.web.version>
    <jbossws.common.version>1.2.1.Beta2</jbossws.common.version>
    <jbossws.spi.version>1.2.1.Beta2</jbossws.spi.version>
    <jbossxb.version>2.0.1.GA</jbossxb.version>
  </properties>

  <!-- Dependencies -->
  <dependencies>

    <!-- jbossws dependencies -->
    <dependency>
      <groupId>org.jboss.ws</groupId>
      <artifactId>jbossws-common</artifactId>
      <version>1.2.1.Beta2</version>
    </dependency>
    <dependency>
      <groupId>org.jboss.ws</groupId>
      <artifactId>jbossws-spi</artifactId>
      <version>1.2.1.Beta2</version>
    </dependency>

    <!-- provided apis -->
    <dependency>
      <groupId>jboss.web</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.1.3.GA</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.xml</groupId>
      <artifactId>jaxrpc-api</artifactId>
      <version>1.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>javax.xml.ws</groupId>
      <artifactId>jaxws-api</artifactId>
      <version>2.1</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.jboss</groupId>
      <artifactId>jbossxb</artifactId>
      <version>2.0.1.GA</version>
      <scope>provided</scope>
    </dependency>

    <!-- test dependencies -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <!-- Plugins -->
  <build>
    <resources>
      <resource>
        <targetPath>../etc</targetPath>
        <directory>src/main/etc</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>install</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <!-- http://jira.codehaus.org/browse/MANTRUN-87 -->
                <property name="version.id" value="${project.version}" />
                <property name="jboss.local.repository" value="${jboss.local.repository}" />
                <ant antfile="src/main/scripts/build-install.xml" target="install" />
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
          <execution>
            <id>testsuite</id>
            <phase>package</phase>
            <goals>
              <goal>single</goal>
            </goals>
            <configuration>
              <descriptors>
                <descriptor>src/main/scripts/assembly-testsuite.xml</descriptor>
              </descriptors>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-8</version>
        <configuration>
          <scmCommentPrefix>[${jira.issue}] :</scmCommentPrefix>
          <autoVersionSubmodules>true</autoVersionSubmodules>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
