<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.12</version>
	</parent>

	<artifactId>mobicents-slee-example-sip-services</artifactId>
	<groupId>org.mobicents.examples</groupId>
	<version>2.2.0.FINAL</version>

	<modules>
  	    <module>common</module>
		<module>location</module>
		<module>library</module>
		<module>registrar-sbb</module>
		<module>proxy-sbb</module>
		<module>proxy-sbb-with-initial-invite</module>
		<module>proxy-sbb-without-initial-invite</module>
	</modules>

	<properties>
		<mobicents.core.jar.version>2.0.0.GA</mobicents.core.jar.version>
		<mobicents.resources.sip11.version>2.2.0.FINAL</mobicents.resources.sip11.version>
		<!-- define which location service to use -->
		<!-- location.service.className>org.mobicents.slee.services.sip.location.jpa.JPALocationService</location.service.className-->
		<location.service.className>org.mobicents.slee.services.sip.location.nonha.NonHALocationService</location.service.className>
	</properties>
	
	<profiles>
		<profile>
			<id>maven-release</id>
			<!-- need to include those ones for maven releases -->
    		<modules>
    			<module>proxy-with-initial-invite-services-DU</module>
    			<module>proxy-without-initial-invite-services-DU</module>
				<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/examples/sip-services</tagBase>
						<branchBase>https://mobicents.googlecode.com/svn/branches/servers/jain-slee/2.x.y/examples/sip-services</branchBase>
						<preparationGoals>clean install</preparationGoals>
					</configuration>
					</plugin>
				</plugins>
			</build>		
		</profile>
		<profile>
			<id>release</id>
			<modules>
				<module>proxy-with-initial-invite-services-DU</module>
    			<module>proxy-without-initial-invite-services-DU</module>
				<module>docs</module>
				<module>release</module>
			</modules>
		</profile>
	</profiles>

	<scm>
		<connection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/examples/sip-services/2.2.0.FINAL</connection>
		<developerConnection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/examples/sip-services/2.2.0.FINAL</developerConnection>
		<url>http://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/examples/sip-services/2.2.0.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-example-sip-services</eclipseProjectName>
				</configuration>
			</plugin>
		</plugins>		
	</build>
	
	<!-- dupe info from parent, but it's only way to retrieve the parent without checkout -->

	<repositories>
		<repository>
			<id>jboss</id>
			<name>JBoss Repository</name>
			<url>http://repository.jboss.org/maven2</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>jboss-snapshots</id>
			<name>JBoss Snapshot Repository</name>
			<url>http://snapshots.jboss.org/maven2</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
	</repositories>
	
</project>
