<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>

	<artifactId>provider</artifactId>
	<groupId>dk.nsi.dgws</groupId>

	<parent>
		<groupId>dk.nsi</groupId>
		<artifactId>dgws</artifactId>
		<version>1.1.8</version>
	</parent>

	<properties>
		<testcertificates.version>1.2</testcertificates.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>javax.ejb</groupId>
			<artifactId>ejb-api</artifactId>
			<version>3.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.easymock</groupId>
			<artifactId>easymock</artifactId>
			<version>3.4</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax</groupId>
			<artifactId>javaee-api</artifactId>
			<version>6.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>dk.nsi.dgws.types</groupId>
			<artifactId>medcom-types</artifactId>
			<version>1.1.8</version>
		</dependency>
		<dependency>
			<groupId>dk.nsi.dgws.types</groupId>
			<artifactId>security-types</artifactId>
			<version>1.1.8</version>
		</dependency>
		<dependency>
			<groupId>dk.nsi.dgws</groupId>
			<artifactId>dgws-common</artifactId>
			<version>1.1.8</version>
		</dependency>
		<dependency>
			<groupId>dk.sosi.testtools</groupId>
			<artifactId>testtools</artifactId>
			<version>2.1.6</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>hsqldb</groupId>
			<artifactId>hsqldb</artifactId>
			<version>1.8.0.10</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>dk.nsi.hsuid</groupId>
			<artifactId>hsuid</artifactId>
			<version>1.1.7</version>
		</dependency>
		<dependency>
			<artifactId>test-oces-certificates</artifactId>
			<groupId>dk.nsi.testcertificates</groupId>
			<version>${testcertificates.version}</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<testResources>
			<testResource>
				<directory>${basedir}/src/test/resources</directory>
			</testResource>
			<testResource>
				<directory>${project.build.directory}/maven-shared-archive-resources</directory>
			</testResource>
		</testResources>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.2</version>
				<executions>
					<execution>
						<goals>
							<goal>test-jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-remote-resources-plugin</artifactId>
				<version>1.5</version>
				<configuration>
					<resourceBundles>
						<resourceBundle>dk.nsi.testcertificates:test-oces-certificates:${testcertificates.version}</resourceBundle>
					</resourceBundles>
					<attachToMain>false</attachToMain>
				</configuration>
				<executions>
					<execution>
						<phase>initialize</phase>
						<goals>
							<goal>process</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<version>2.7</version>
				<executions>
					<execution>
						<id>deploy-file</id>
						<phase>deploy</phase>
						<goals>
							<goal>deploy-file</goal>
						</goals>
						<configuration>
							<file>${project.build.directory}/${project.artifactId}-${project.version}.jar</file>
							<pomFile>pom.xml</pomFile>
							<url>${deploy.repository.url}</url>
							<repositoryId>${deploy.repository.id}</repositoryId>
						</configuration>
					</execution>
				</executions>
				<configuration>
					<skip>true</skip>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
