<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>com.hexnova</groupId>
		<artifactId>hexnova-game-parent</artifactId>
		<version>1.0.0-SNAPSHOT</version>
	</parent>
	<groupId>com.threerings</groupId>
	<artifactId>nenya</artifactId>
	<packaging>jar</packaging>
	<version>1.5-HEXNOVA-SNAPSHOT</version>
	<name>Nenya Core</name>

	<dependencies>
		<!-- exported dependencies -->
		<dependency>
			<groupId>com.samskivert</groupId>
			<artifactId>samskivert</artifactId>
		</dependency>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>18.0</version>
		</dependency>

		<!-- optional dependencies -->
		<dependency>
			<groupId>com.threerings</groupId>
			<artifactId>narya</artifactId>
		</dependency>
		<dependency>
			<groupId>com.googlecode.soundlibs</groupId>
			<artifactId>jlayer</artifactId>
		</dependency>
		<dependency>
			<groupId>javassist</groupId>
			<artifactId>javassist</artifactId>
			<optional>true</optional>
		</dependency>

		<!-- test/build 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.threerings</groupId>
			<artifactId>resource-manager</artifactId>
			<version>1.0-HEXNOVA</version>
		</dependency>
		<dependency>
			<groupId>org.lwjgl.lwjgl</groupId>
			<artifactId>lwjgl</artifactId>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<excludes>
						<!-- TODO: should these just be deleted? -->
						<exclude>**/OggPlayer.java</exclude>
						<exclude>**/ModPlayer.java</exclude>
						<exclude>**/MidiPlayer.java</exclude>
						<exclude>**/Mp3Player.java</exclude>
					</excludes>
					<encoding>UTF8</encoding>
				</configuration>
			</plugin>
			<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.7</source>
					<target>1.7</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>
				<configuration>
					<encoding>UTF8</encoding>
				</configuration>
			</plugin>

		</plugins>
	</build>
	<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>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>
		<repository>
			<id>hexnova-public</id>
			<url>http://maven.hexnova.com/nexus/content/groups/public</url>
		</repository>
		<repository>
			<id>hexnova-open</id>
			<url>http://maven.hexnova.com/nexus/content/groups/hexnova-open</url>
		</repository>

	</repositories>
</project>
