<?xml version="1.0"?>
<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>

  <packaging>pom</packaging>

  <parent>
    <groupId>org.mobicents</groupId>
    <artifactId>mobicents-parent</artifactId>
    <version>2.15</version>
  </parent>

  <groupId>org.mobicents.servers.diameter.resources</groupId>
  <artifactId>sh-client-parent</artifactId>
  <version>2.2.1.FINAL</version>

  <name>Mobicents :: Diameter Resources :: ${pom.artifactId}</name>

  <modules>
    <module>common</module>
    <module>ratype</module>
    <module>events</module>
    <module>ra</module>
    <module>du</module>
  </modules>

  <properties>
    <!-- Mobicents Diameter Components Versions -->
    <mobicents.diameter.resources.base-common.version>2.2.2.FINAL</mobicents.diameter.resources.base-common.version>
	<!-- Documentation Related Properties -->
    <docs.profile>mobicents</docs.profile>
    <docs.ra.name>Diameter Sh-Client</docs.ra.name>
    <docs.ra.dirname>diameter-sh-client</docs.ra.dirname>
    <docs.bookid>DIAMETER_SH_CLIENT</docs.bookid>
   </properties>

  <profiles>
  <profile>
      <id>release</id>
      <modules>
        <module>docs</module>
        <module>release</module>
      </modules>
    </profile>
    <profile>
      <id>maven-release</id>
      <modules>
        <module>docs</module>
        <module>release</module>
      </modules>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <version>2.0</version>
            <configuration>
              <autoVersionSubmodules>true</autoVersionSubmodules>
              <tagBase>https://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/resources/diameter-sh-client</tagBase>
              <branchBase>https://mobicents.googlecode.com/svn/branches/servers/jain-slee/2.x.y/resources/diameter-sh-client</branchBase>
              <preparationGoals>clean install</preparationGoals>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

  <scm>
    <connection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/resources/diameter-sh-client/2.2.1.FINAL</connection>
    <developerConnection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/resources/diameter-sh-client/2.2.1.FINAL</developerConnection>
    <url>http://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/resources/diameter-sh-client/2.2.1.FINAL</url>
  </scm>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-eclipse-plugin</artifactId>
        <groupId>org.mobicents.tools</groupId>
        <inherited>false</inherited>
        <executions />
        <configuration>
          <excludePoms />
          <classpathExcludes>
            <exclude>xml-apis:xml-apis</exclude>
            <exclude>jtidy:jtidy</exclude>
          </classpathExcludes>
          <resolveTransitiveDependencies>true</resolveTransitiveDependencies>
          <eclipseProjectName>mobicents-slee-ra-diameter-sh-client</eclipseProjectName>
        </configuration>
      </plugin>
    </plugins>
  </build>

  <!-- dupe info from parent, but it's only way to retrieve the parent without checkout -->
  <repositories>
    <repository>
      <id>jboss-public-repository-group</id>
        <name>JBoss Public Maven Repository Group</name>
        <url>https://repository.jboss.org/nexus/content/groups/public</url>
        <layout>default</layout>
        <releases>
          <enabled>true</enabled>
          <updatePolicy>never</updatePolicy>
        </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>never</updatePolicy>
      </snapshots>
    </repository>
  </repositories>

</project>
