<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-web-parent</artifactId>
		<groupId>org.mobicents.examples.converged</groupId>
		<version>2.2.0.FINAL</version>
	</parent>

	<artifactId>converged-demo-web-war</artifactId>
	<name>Mobicents Servers Examples :: Converged :: ${pom.artifactId}</name>
	<packaging>war</packaging>

	<properties>
		<jndiPattern>ShoppingDemo/#{ejbName}/local</jndiPattern>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.jboss.seam</groupId>
			<artifactId>jboss-seam-debug</artifactId>
			<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>
				<exclusion>
					<groupId> com.sun.facelets</groupId>
					<artifactId> jsf-facelets</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.jboss.seam</groupId>
			<artifactId>jboss-seam-ui</artifactId>
			<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> com.sun.facelets</groupId>
					<artifactId> jsf-facelets</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.jbpm</groupId>
					<artifactId>jbpm-jpdl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<!-- 
		<dependency>
			<groupId>${pom.groupId}</groupId>
			<artifactId>converged-demo-custom-events</artifactId>
			<version>${pom.version}</version>
			<exclusions>
				<exclusion>
					<groupId>org.mobicents.resources</groupId>
					<artifactId>sip11-ra</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.mobicents.resources</groupId>
					<artifactId>mgcp-ratype</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		 
		<dependency>
			<groupId>${pom.groupId}</groupId>
			<artifactId>converged-demo-pojo-pu</artifactId>
			<version>${pom.version}</version>
			<exclusions>
				<exclusion>
					<groupId>org.hibernate</groupId>
					<artifactId>hibernate-annotations</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		-->
		<dependency>
			<groupId> com.sun.facelets</groupId>
			<artifactId> jsf-facelets</artifactId>
		</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>