<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.jainslee.tools.twiddle</groupId>
	<artifactId>cli-twiddle-parent</artifactId>
	<version>1.0.0.BETA2</version>

	<modules>
		<module>cli</module>
	</modules>

	<properties>
		<maven.test.skip>true</maven.test.skip>
		<!-- versions -->
		<jboss.core.version>4.0.4.GA</jboss.core.version>
		<jboss.jnp.version>5.0.3.GA</jboss.jnp.version>
		<jboss.serialization.version>1.0.3.GA</jboss.serialization.version>
		<jboss.concurrent.version>1.3.4-jboss-update1</jboss.concurrent.version> <!-- are those ppl sane? -->
		<jboss.javaee.version>5.0.1.GA</jboss.javaee.version>
		<jboss.security.version>2.0.3.SP1</jboss.security.version>
		<getop.version>1.0.9</getop.version>
		<mobicents.jslee.version>2.2.1.FINAL</mobicents.jslee.version>
	</properties>


	<!-- NEVER EVER REMOVE CLASSIFIERs, its important in nexus now! -->
	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.jboss.jbossas</groupId>
				<artifactId>jboss-as-console</artifactId>
				<version>${jboss.version}</version>
				<classifier>twiddle</classifier> <!-- classifier is damn important.... -->
				<scope>compile</scope>
			</dependency>
			<dependency>
				<artifactId>jmx-property-editors</artifactId>
				<groupId>org.mobicents.servers.jainslee.core</groupId>
				<version>${mobicents.jslee.version}</version>
			</dependency>
			<dependency>
				<artifactId>activities</artifactId>
				<groupId>org.mobicents.servers.jainslee.core</groupId>
				<version>${mobicents.jslee.version}</version>
			</dependency>
			<dependency>
				<artifactId>spi</artifactId>
				<groupId>org.mobicents.servers.jainslee.core</groupId>
				<version>${mobicents.jslee.version}</version>
			</dependency>
			<dependency>
				<groupId>javax.slee</groupId>
				<artifactId>jain-slee</artifactId>
				<version>${jain-slee.version}</version>
			</dependency>

			<dependency>
				<groupId>urbanophile</groupId>
				<artifactId>java-getopt</artifactId>
				<version>${getop.version}</version>
				<scope>runtime</scope>
			</dependency>
			<dependency>
				<groupId>jboss.jbossas.core-libs</groupId>
				<artifactId>jboss-jmx</artifactId>
				<version>${jboss.core.version}</version>
				<scope>runtime</scope>
			</dependency>
			<dependency>
				<groupId>jboss.jbossas.core-libs</groupId>
				<artifactId>jboss-common-client</artifactId>
				<version>${jboss.core.version}</version>
				<scope>runtime</scope>
			</dependency>
			<dependency>
				<groupId>org.jboss.naming</groupId>
				<artifactId>jnp-client</artifactId>
				<version>${jboss.jnp.version}</version>
				<scope>runtime</scope>
			</dependency>
			<dependency>
				<groupId>oswego-concurrent</groupId>
				<artifactId>concurrent</artifactId>
				<version>${jboss.concurrent.version}</version>
				<scope>runtime</scope>
			</dependency>
			<dependency>
				<groupId>org.jboss.jbossas</groupId>
				<artifactId>jboss-as-server</artifactId>
				<version>${jboss.version}</version>
				<classifier>jmx-invoker-adaptor-client</classifier>
			</dependency>
			<dependency>
				<groupId>org.jboss.jbossas</groupId>
				<artifactId>jboss-as-server</artifactId>
				<classifier>client</classifier>
				<version>${jboss.version}</version>
			</dependency>
			<dependency>
				<groupId>jboss</groupId>
				<artifactId>jboss-serialization</artifactId>
				<version>${jboss.serialization.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.jbossas</groupId>
				<artifactId>jboss-as-server</artifactId>
				<classifier>jboss-minimal</classifier>
				<version>${jboss.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.javaee</groupId>
				<artifactId>jboss-javaee</artifactId>
				<version>${jboss.javaee.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.security</groupId>
				<artifactId>jboss-security-spi</artifactId>
				<version>${jboss.security.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.security</groupId>
				<artifactId>jbosssx-client</artifactId>
				<version>${jboss.security.version}</version>
			</dependency>
			<dependency>
				<groupId>org.jboss.integration</groupId>
				<artifactId>jboss-transaction-spi</artifactId>
				<version>${jboss.version}</version>
			</dependency>
			
		</dependencies>
	</dependencyManagement>


	<developers>
		<developer>
			<id>baranowb</id>
			<name>Bartosz Baranowski</name>
			<email>baranowb@gmail.com</email>
			<organization>JBoss/Red Hat</organization>
			<organizationUrl>http://www.redhat.com/</organizationUrl>
			<roles>
				<role>Active Developer</role>
			</roles>
			<timezone>+1</timezone>
		</developer>
	</developers>
	<licenses>
		<license>
			<name>GNU GENERAL PUBLIC LICENSE</name>
			<url>http://www.gnu.org/licenses/gpl.html</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<profiles>
		<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>
						<configuration>
							<autoVersionSubmodules>true</autoVersionSubmodules>
							<preparationGoals>clean install</preparationGoals>
							<tagBase>https://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/tools/twiddle</tagBase>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>release</id>
			<modules>
				<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/tools/twiddle/1.0.0.BETA2</connection>
		<developerConnection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/tools/twiddle/1.0.0.BETA2</developerConnection>
		<url>http://mobicents.googlecode.com/svn/tags/servers/jain-slee/2.x.y/tools/twiddle/1.0.0.BETA2</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-tools-twiddle-cli</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>
