<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>
	<parent>
		<groupId>net.sf.seaf</groupId>
		<artifactId>seaf-parent</artifactId>
		<version>11</version>
		<relativePath>../../seaf-support-reactor/seaf-parent</relativePath>
	</parent>
	<!-- Artifact -->
	<groupId>net.sf.seaf</groupId>
	<artifactId>seaf-service</artifactId>
	<version>0.2</version>
	<packaging>jar</packaging>
	<!-- Description -->
	<name>SEAF Service</name>
	<description>Generates a service layer based on simple XML configuration.</description>
	<url>http://seaf.sf.net/seaf-service/</url>
	<scm>
		<connection>scm:svn:https://seaf.svn.sourceforge.net/svnroot/seaf/tags/seaf-service/seaf-service-0.2</connection>
		<developerConnection>scm:svn:https://seaf.svn.sourceforge.net/svnroot/seaf/tags/seaf-service/seaf-service-0.2</developerConnection>
		<url>http://seaf.svn.sf.net/viewvc/seaf/tags/seaf-service/seaf-service-0.2</url>
	</scm>
	<distributionManagement>
		<site>
			<id>seaf.sf.net</id>
			<url>scp://shell.sourceforge.net/home/project-web/seaf/htdocs/${project.artifactId}</url>
		</site>
	</distributionManagement>
	<build>
		<plugins>
			<plugin>
				<groupId>net.sf.seaf.mojo</groupId>
				<artifactId>seaf-maven-plugin</artifactId>
				<version>0.1</version>
				<configuration>
					<generateService>true</generateService>
					<configurationDir>src/test/gen-config</configurationDir>
					<mergedServiceFile>${project.build.directory}/generated-xml/seaf/merged-service.xml</mergedServiceFile>
					<generatedJavaDir>${project.build.directory}/generated-test-sources/seaf</generatedJavaDir>
					<addGeneratedSourcesTo>test-sources</addGeneratedSourcesTo>
					<addGeneratedResourcesTo>test-resources</addGeneratedResourcesTo>
					<applicationVersion>TEST</applicationVersion>
					<mergedPersistenceFile>src/test/gen-config/merged-persistence/merged-persistence.xml</mergedPersistenceFile>
				</configuration>
				<executions>
					<execution>
						<id>generate-all</id>
						<phase>generate-test-sources</phase>
						<goals>
							<goal>generate-all</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<!-- Add generated test sources before generate-resources phase for Maven 
				eclipse plugin -->
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<executions>
					<execution>
						<id>add-test-sources</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>add-test-source</goal>
						</goals>
						<configuration>
							<sources>
								<source>${project.build.directory}/generated-test-sources/seaf</source>
							</sources>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>net.sf.seaf</groupId>
			<artifactId>seaf-commons</artifactId>
			<version>0.6</version>
		</dependency>
		<dependency>
			<groupId>net.sf.jbg</groupId>
			<artifactId>jbg</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>net.sf.sit</groupId>
			<artifactId>sit</artifactId>
			<version>0.1</version>
		</dependency>
		<dependency>
			<groupId>net.sf.seaf</groupId>
			<artifactId>seaf-persistence</artifactId>
			<version>0.3</version>
			<exclusions>
				<exclusion>
					<groupId>commons-beanutils</groupId>
					<artifactId>commons-beanutils</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.hibernate</groupId>
					<artifactId>hibernate</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.springframework</groupId>
					<artifactId>spring-beans</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.springframework</groupId>
					<artifactId>spring-dao</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.springframework</groupId>
					<artifactId>spring-hibernate3</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>javax.validation</groupId>
			<artifactId>validation-api</artifactId>
		</dependency>
		<dependency>
			<groupId>org.apache.geronimo.specs</groupId>
			<artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.annotation</groupId>
			<artifactId>jsr250-api</artifactId>
		</dependency>
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-validator</artifactId>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.jmock</groupId>
			<artifactId>jmock-legacy</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>cglib</groupId>
			<artifactId>cglib-nodep</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-core</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.unitils</groupId>
			<artifactId>unitils-core</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>net.sf.seaf</groupId>
			<artifactId>seaf-test-commons</artifactId>
			<version>1.4</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>
</project>