<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>
	
	<licenses>
		<license>
			<name>GNU LESSER GENERAL PUBLIC LICENSE</name>
			<url>http://www.gnu.org/licenses/lgpl.html</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	
	<parent>
		<artifactId>mobicents</artifactId>
		<groupId>org.mobicents</groupId>
		<version>8</version>
		<relativePath>../../parent/pom.xml</relativePath>
	</parent>
		
	<artifactId>sip-presence-parent</artifactId>
	<groupId>org.mobicents.servers.sippresence</groupId>
	<version>1.0.0.BETA4</version>
	
	<modules>		
		<module>sip-event</module>
		<module>xcap-client</module>	
		<module>xdms-core</module>	
		<module>ps-core</module>
	</modules>
	
	<properties>
		<!-- PRESENCE SERVICE CONFIGURATION -->
		<xdm.server.xcap.root>/mobicents</xdm.server.xcap.root>
		<presence.server.notifier.presrules.auid>org.openmobilealliance.pres-rules</presence.server.notifier.presrules.auid>
		<presence.server.notifier.presrules.documentName>pres-rules</presence.server.notifier.presrules.documentName>
		<!-- OTHER MOBICENTS COMPONENTS VERSIONS -->
		<mobicents.servers.jainslee.version>1.2.3.GA</mobicents.servers.jainslee.version>
		<mobicents.tools.mavenplugin.du.version>1.0.0.BETA2</mobicents.tools.mavenplugin.du.version>
		<mobicents.tools.mavenplugin.eclipse.version>1.0.0.BETA2</mobicents.tools.mavenplugin.eclipse.version>
		<!-- don't change -->
		<mobicents.sip.presence.service.finalName.prefix>
			msps-
		</mobicents.sip.presence.service.finalName.prefix>
	</properties>			
	
	<dependencyManagement>
		<dependencies>		
			<dependency>
				<groupId>org.mobicents.core</groupId>
				<artifactId>mobicents-core-jar</artifactId>
				<version>${mobicents.servers.jainslee.version}</version>
			</dependency>
			<dependency>
				<groupId>org.mobicents.resources</groupId>
				<artifactId>http-servlet-ratype</artifactId>
				<version>${mobicents.servers.jainslee.version}</version>
			</dependency>
			<dependency>
				<groupId>org.mobicents.resources</groupId>
				<artifactId>http-servlet-events</artifactId>
				<version>${mobicents.servers.jainslee.version}</version>
			</dependency>
			<dependency>
				<artifactId>sip11-ra</artifactId>
				<groupId>org.mobicents.resources</groupId>
				<version>${mobicents.servers.jainslee.version}</version>
			</dependency>
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
				<version>${junit.version}</version>
			</dependency>
		</dependencies>
	</dependencyManagement>
	
	<build>
		<finalName>${mobicents.sip.presence.service.finalName}</finalName>
		<plugins>
			<plugin>
				<artifactId>maven-eclipse-plugin</artifactId>
   				<groupId>org.mobicents.tools</groupId>
    			<version>${mobicents.tools.mavenplugin.eclipse.version}</version>
				<inherited>false</inherited>
				<executions />
				<configuration>
					<classpathExcludes>
						<exclude>xml-apis:xml-apis</exclude>
						<exclude>jtidy:jtidy</exclude>
					</classpathExcludes>
					<resolveTransitiveDependencies>true</resolveTransitiveDependencies>
					<eclipseProjectName>mobicents-sip-presence-service</eclipseProjectName>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <configuration>
            	    <finalName>${mobicents.sip.presence.service.finalName}-src</finalName>
                </configuration>
            </plugin>
		</plugins>		
	</build>
	
	<scm>
		<connection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/sip-presence/mobicents-sip-presence-service-1.0.0.BETA4</connection>
		<developerConnection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/sip-presence/mobicents-sip-presence-service-1.0.0.BETA4</developerConnection>
		<url>http://mobicents.googlecode.com/svn/tags/servers/sip-presence/mobicents-sip-presence-service-1.0.0.BETA4</url>
	</scm>
	
	<!-- dupe info from parent, but it's only way to retrieve the parent without user configuration -->

	<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>
	
	<profiles>
		<profile>
			<id>maven-release</id>
			<modules>
				<module>xdms</module>
				<module>integrated</module>
				<module>examples/internal-publisher</module>
				<module>examples/internal-subscriber</module>
				<module>examples/internal-rls</module>
			</modules>
            <build>
				<plugins>
					<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-release-plugin</artifactId>
					<configuration>
						<tagBase>https://mobicents.googlecode.com/svn/tags/servers/sip-presence</tagBase>
						<autoVersionSubmodules>true</autoVersionSubmodules>
					</configuration>
					</plugin>
				</plugins>
			</build>		
		</profile>
	</profiles>	
</project>