<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>
		<artifactId>converged-demo-parent</artifactId>
		<groupId>org.mobicents.examples</groupId>
		<version>1.2.0.BETA3</version>
	</parent>
	
	<artifactId>converged-demo-web-war</artifactId>
	
	<packaging>war</packaging>
	
	<properties>
		<jndiPattern>ShoppingDemo/#{ejbName}/local</jndiPattern>
	</properties>
	
	<dependencies>
		<dependency>
			<groupId>org.jboss.seam</groupId>
			<artifactId>jboss-seam-debug</artifactId>
			<version>${jboss-seam.version}</version>
			<exclusions>
				<exclusion>
					<groupId>org.jboss.seam</groupId>
					<artifactId>jboss-seam</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.servlet</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.el</groupId>
					<artifactId>el-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-api</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.jboss.seam</groupId>
			<artifactId>jboss-seam-ui</artifactId>
			<version>${jboss-seam.version}</version>
			<exclusions>
				<exclusion>
					<groupId>javax.servlet</groupId>
					<artifactId>servlet-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.servlet.jsp</groupId>
					<artifactId>jsp-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.jboss.seam</groupId>
					<artifactId>jboss-seam</artifactId>
				</exclusion>
				<exclusion>
					<groupId>antlr</groupId>
					<artifactId>antlr</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.el</groupId>
					<artifactId>el-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>javax.faces</groupId>
					<artifactId>jsf-api</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.jbpm</groupId>
					<artifactId>jbpm-jpdl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.mobicents.examples</groupId>
			<artifactId>converged-demo-utility</artifactId>
			<version>${pom.version}</version>
			<exclusions>
				<exclusion>
					<groupId>org.mobicents.resources</groupId>
					<artifactId>sip-ra</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.mobicents.resources</groupId>
					<artifactId>tts-ratype</artifactId>			
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.mobicents.examples</groupId>
			<artifactId>converged-demo-pojo</artifactId>
			<version>${pom.version}</version>
			<exclusions>
				<exclusion>
					<groupId>org.hibernate</groupId>
         			<artifactId>hibernate-annotations</artifactId>
				</exclusion>
			</exclusions>	
		</dependency>
	</dependencies>

	<build>
		<plugins>
		 <plugin>
		 	<groupId>org.apache.maven.plugins</groupId>
		 	<artifactId>maven-war-plugin</artifactId>
		 	<version>2.0</version>
		 	<configuration>
		 		<webResources>
			<resource>
        		<directory>${basedir}/src/main/webapp-to-filter</directory>
        		<filtering>true</filtering>
      		</resource>
      	</webResources>

		 	</configuration>
		 </plugin>
		</plugins>
	</build>
	
</project>