<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">
	<modelVersion>4.0.0</modelVersion>
	<parent>
        <artifactId>OpenPatrician</artifactId>
		<groupId>ch.sahits.game</groupId>
		<version>0.4.0</version>
        <relativePath>../pom.xml</relativePath>
	</parent>
	<artifactId>OpenPatricianImage</artifactId>
	<packaging>jar</packaging>
	<properties>
		<gen.dir>gen/main/java</gen.dir>
	</properties>
	<dependencies>
        <dependency>
            <groupId>ch.sahits.game</groupId>
            <artifactId>OpenPatricianModel</artifactId>
        </dependency>

        <dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
		</dependency>
        <dependency>
			<groupId>com.oracle</groupId>
			<artifactId>javafx</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-core</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-beans</artifactId>
		</dependency>			
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-expression</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-test</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-oxm</artifactId>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-all</artifactId>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
		</dependency>
	</dependencies>
	<build>
		<resources>
			<resource>
				<directory>${gen.dir}</directory>
				<excludes>
					<exclude>**/*.java</exclude>
				</excludes>
			</resource>
			<resource>
				<directory>src/main/resources</directory>
			</resource>
		</resources>
		<plugins>
	      <plugin>
    	    <groupId>org.codehaus.mojo</groupId>
        	<artifactId>jaxb2-maven-plugin</artifactId>
        	<configuration>
        		<outputDirectory>${gen.dir}</outputDirectory>
        		<packageName>ch.sahits.game.graphic.data</packageName>
				<staleFile>${project.build.directory}/jaxb2/.schema2XjcStaleFlag</staleFile>
                <clearOutputDir>false</clearOutputDir>
                <schemaDirectory>src/main/resources</schemaDirectory>
                <bindingDirectory>src/main/resources</bindingDirectory>
        	</configuration>
	      </plugin>
	      <plugin>
	      	<artifactId>maven-clean-plugin</artifactId>
	      	<configuration>
	      		<filesets>
	      			<fileset>
	      				<directory>${gen.dir}</directory>
	      			</fileset>
	      		</filesets>
	      	</configuration>
	      </plugin>
		</plugins>
	</build>
</project>