<?xml version="1.0" encoding="UTF-8"?>
<project
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
	xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.threerings</groupId>
	<artifactId>clyde</artifactId>
	<packaging>jar</packaging>
	<version>1.2-HEXNOVA-SNAPSHOT</version>
	<name>clyde</name>
	<description>A collection of Java packages for making networked 3D games.</description>
	<url>http://code.google.com/p/clyde/</url>
	<issueManagement>
		<url>http://code.google.com/p/clyde/issues/list</url>
	</issueManagement>

	<parent>
		<groupId>com.hexnova</groupId>
		<artifactId>hexnova-game-parent</artifactId>
		<version>1.0.0-SNAPSHOT</version>
	</parent>

	<licenses>
		<license>
			<name>The (New) BSD License</name>
			<url>http://www.opensource.org/licenses/bsd-license.php</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<developers>
		<developer>
			<id>andrzej</id>
			<name>Andrzej Kapolka</name>
			<email>andrzej@threerings.net</email>
		</developer>
	</developers>

	<scm>
		<connection>scm:svn:http://clyde.googlecode.com/svn/trunk/</connection>
		<developerConnection>
      scm:svn:svn+ssh://src.earth.threerings.net/clyde/trunk/
    </developerConnection>
		<url>http://clyde.googlecode.com/svn/trunk/</url>
	</scm>


	<dependencies>
		<dependency>
			<groupId>org.lwjgl.lwjgl</groupId>
			<artifactId>lwjgl</artifactId>
		</dependency>
		<!-- https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305 -->
		<dependency>
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>jsr305</artifactId>
			<version>1.3.9</version>
		</dependency>

		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
			<version>2.8.5</version>
		</dependency>
		<!-- exported dependencies -->
		<dependency>
			<groupId>com.threerings</groupId>
			<artifactId>narya</artifactId>
		</dependency>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>18.0</version>
		</dependency>
		<dependency>
		   <groupId>cglib</groupId>
		    <artifactId>cglib</artifactId>
		    <version>2.2.2</version>
		    <scope>test</scope>
		</dependency>
		
		<dependency>
			<groupId>com.threerings</groupId>
			<artifactId>nenya</artifactId>
		</dependency>
		<dependency>
			<groupId>com.threerings</groupId>
			<artifactId>vilya</artifactId>
		</dependency>
		<dependency>
			<groupId>proguard</groupId>
			<artifactId>annotations</artifactId>
			<version>4.6</version>
		</dependency>

		<!-- optional/provided dependencies -->
		<dependency>
			<groupId>org.apache.ant</groupId>
			<artifactId>ant</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.samskivert</groupId>
			<artifactId>samskivert</artifactId>
		</dependency>
		<dependency>
			<groupId>com.apple</groupId>
			<artifactId>AppleJavaExtensions</artifactId>
		</dependency>
		<dependency>
			<groupId>net.java.jinput</groupId>
			<artifactId>jinput</artifactId>
			<version>2.0.5</version>
		</dependency>
		<dependency>
			<groupId>ognl</groupId>
			<artifactId>ognl</artifactId>
			<version>3.0.8</version>
		</dependency>
		<dependency>
			<groupId>org.graphstream</groupId>
			<artifactId>gs-core</artifactId>
				<version>1.3</version>
				<optional>false</optional>
		</dependency>
	
		<!-- The new dependency : -->
		<dependency>
			<artifactId>commons-math</artifactId>
			<groupId>org.apache.commons</groupId>
			<version>2.1</version>
			<optional>false</optional>
		</dependency>
		<dependency>
			<groupId>xerces</groupId>
			<artifactId>xercesImpl</artifactId>
			<version>2.12.0</version>
		</dependency>
		<dependency>
			<groupId>xml-apis</groupId>
			<artifactId>xml-apis</artifactId>
			<version>1.4.01</version>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<encoding>UTF8</encoding>
					<source>1.8</source>
					<target>1.8</target>
					<fork>true</fork>
					<showDeprecation>true</showDeprecation>
					<showWarnings>true</showWarnings>
					<!-- yes, those quoted spaces are a workaround sanctioned by the Maven 
						idiocracy -->
					<compilerArgument>-Xlint" "-Xlint:-serial" "-Xlint:-path</compilerArgument>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.4.3</version>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.7</version>
				<configuration>
					<quiet>true</quiet>
					<show>public</show>
					<links>
						<link>http://samskivert.googlecode.com/svn/apidocs/</link>
						<link>http://guava-libraries.googlecode.com/svn/trunk/javadoc/</link>
						<link>http://evgeny-goldin.org/ant/api/</link>
					</links>
				</configuration>
			</plugin>
			<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> 
				<version>2.6</version> <configuration> <includes> <include>com/threerings/**/*Test.java</include> 
				</includes> </configuration> </plugin> -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.3.1</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-install-plugin</artifactId>
				<version>2.3.1</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<version>2.5</version>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<!-- Tell m2eclipse to ignore the enforcer plugin from our parent. Otherwise 
						it warns about not being able to run it. -->
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>org.apache.maven.plugins</groupId>
										<artifactId>maven-enforcer-plugin</artifactId>
										<versionRange>[1.0,)</versionRange>
										<goals>
											<goal>enforce</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore />
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<profiles>
		<profile>
			<id>release-sign-artifacts</id>
			<activation>
				<property>
					<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.1</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
						<configuration>
							<keyname>bluse@hexnova.com</keyname>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

	<distributionManagement>
		<repository>
			<id>releases</id>
			<name>Internal Releases</name>
			<url>http://maven.hexnova.com/nexus/content/repositories/releases</url>
		</repository>
		<snapshotRepository>
			<id>snapshots</id>
			<name>Internal snapshots</name>
			<url>http://maven.hexnova.com/nexus/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>
	<repositories>
		<repository>
			<id>hexnova</id>
			<url>http://maven.hexnova.com/nexus/content/groups/public/</url>
		</repository>
	
		<repository>
			<id>hexnova-public</id>
			<url>http://maven.hexnova.com/nexus/content/repositories/central</url>
		</repository>
		<repository>
			<id>hexnova-open</id>
			<url>http://maven.hexnova.com/nexus/content/groups/hexnova-open</url>
		</repository>
		<repository>
			<id>releases</id>
			<name>Internal Releases</name>
			<url>http://maven.hexnova.com/nexus/content/repositories/releases</url>
		</repository>
		<repository>
			<id>snapshots</id>
			<name>Internal snapshots</name>
			<url>http://maven.hexnova.com/nexus/content/repositories/snapshots</url>
		</repository>
			
	</repositories>
</project>
