<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
	<parent>
		<groupId>com.vertispan.rpc</groupId>
		<artifactId>gwt-rpc-parent</artifactId>
		<version>1.0-alpha-7</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>

	<artifactId>workers</artifactId>
	<description>Easy worker communication of RPC-able objects</description>

	<dependencies>
		<dependency>
			<groupId>org.gwtproject</groupId>
			<artifactId>gwt-user</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.gwtproject</groupId>
			<artifactId>gwt-dev</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.vertispan.nio</groupId>
			<artifactId>gwt-nio</artifactId>
			<version>1.0-alpha-1</version>
		</dependency>

		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>bytebuffer-serializer-streams</artifactId>
			<version>1.0-alpha-7</version>
		</dependency>

		<dependency>
			<groupId>com.google.jsinterop</groupId>
			<artifactId>base</artifactId>
			<version>1.0.0</version>
		</dependency>
		<dependency>
			<groupId>com.google.elemental2</groupId>
			<artifactId>elemental2-core</artifactId>
			<version>1.1.0</version>
		</dependency>

		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>endpoint-api</artifactId>
			<version>${project.version}</version>
		</dependency>
		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>endpoint-client-gwt</artifactId>
			<version>${project.version}</version>
		</dependency>
		<!-- not needed yet, but could make websockets a little lighter and faster -->
		<dependency>
			<groupId>org.webjars.bower</groupId>
			<artifactId>pako</artifactId>
			<version>0.2.8</version>
		</dependency>

		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>endpoint-processor</artifactId>
			<version>${project.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
		</dependency>
	</dependencies>

	<build>
		<resources>
			<resource>
				<directory>src/main/java</directory>
				<includes>
					<include>**/client/**/*.java</include>
					<include>**/shared/**/*.java</include>
					<include>**/*.gwt.xml</include>
				</includes>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<artifactId>maven-source-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>gwt-maven-plugin</artifactId>
				<executions>
					<execution>
						<phase>test</phase>
						<goals>
							<goal>test</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<productionMode>true</productionMode>
					<!--<mode>manual</mode>-->
				</configuration>
			</plugin>
		</plugins>
	</build>

</project>