<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">
	<parent>
		<artifactId>richfaces-ear-demo</artifactId>
		<groupId>org.richfaces.samples</groupId>
		<version>3.2.2.CR2</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
	<artifactId>richfacesEAR</artifactId>
	<name>richfacesEAR</name>
	<packaging>ear</packaging>
	<url>http://maven.apache.org</url>
	<dependencies>
		<dependency>
			<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
			<artifactId>ejb</artifactId>
			<version>${project.version}</version>
			<type>ejb</type>
		</dependency>
		<dependency>
			<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
			<artifactId>ejb</artifactId>
			<version>${project.version}</version>
			<type>ejb-client</type>
		</dependency>
		<dependency>
			<groupId>org.richfaces.samples.richfaces-ear-demo</groupId>
			<artifactId>webapp</artifactId>
			<version>${project.version}</version>
			<type>war</type>
		</dependency>
	</dependencies>
	<build>
                <finalName>richfacesEAR</finalName>
		<plugins>
			<plugin>
				<artifactId>maven-ear-plugin</artifactId>
				<configuration>
					<defaultLibBundleDir>lib</defaultLibBundleDir>
					<modules>
						<ejbModule>
							<groupId>
								org.richfaces.samples.richfaces-ear-demo
							</groupId>
							<artifactId>ejb</artifactId>
							<bundleDir>/</bundleDir>
						</ejbModule>
						<!--
							<jarModule>
							<groupId>org.richfaces.framework</groupId>
							<artifactId>richfaces-api</artifactId>
							<includeInApplicationXml>
							true
							</includeInApplicationXml>
							<bundleDir>/</bundleDir>
							</jarModule>
						-->
					</modules>
					<version>5</version>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>