<?xml version="1.0"?>
<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>org.jboss.seam.rest</groupId>
		<artifactId>seam-rest-parent</artifactId>
		<version>3.0.0.Alpha3</version>
		<relativePath>../../pom.xml</relativePath>
	</parent>

	<groupId>org.jboss.seam.rest</groupId>
	<artifactId>seam-jaxrs-exceptions-example</artifactId>
	<packaging>war</packaging>
	<version>3.0.0.Alpha3</version>
	<name>Seam JAXRS Exceptions Example</name>

	<dependencies>
		<!-- APIs -->
		<dependency>
			<groupId>javax.ws.rs</groupId>
			<artifactId>jsr311-api</artifactId>
		</dependency>

		<!-- Runtime dependencies -->
		<dependency>
			<groupId>org.jboss.seam.config</groupId>
			<artifactId>seam-config-xml</artifactId>
		</dependency>

		<dependency>
			<groupId>org.jboss.seam.rest</groupId>
			<artifactId>seam-rest-api</artifactId>
		</dependency>
		
		<dependency>
			<groupId>org.jboss.seam.rest</groupId>
			<artifactId>seam-rest-impl</artifactId>
		</dependency>
		
		<dependency>
			<groupId>org.jboss.seam.catch</groupId>
			<artifactId>seam-catch-api</artifactId>
		</dependency>
		
		<dependency>
			<groupId>org.jboss.seam.catch</groupId>
			<artifactId>seam-catch-impl</artifactId>
		</dependency>
	</dependencies>

	<build>
		<finalName>seam-jaxrs-exceptions</finalName>
	</build>
	<profiles>
		<profile>
			<id>distribution</id>
			<activation>
				<property>
					<name>release</name>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-assembly-plugin</artifactId>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
</project>

