<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>
	<groupId>org.richfaces.samples.seamEAR</groupId>
	<artifactId>ear</artifactId>
	<packaging>ear</packaging>
	<name>ear assembly</name>
	<parent>
		<groupId>org.richfaces.samples</groupId>
		<artifactId>seamEAR</artifactId>
		<version>3.3.0.BETA1</version>
	</parent>
	<dependencies>
                <dependency>
                        <groupId>org.jboss.seam</groupId>
                        <artifactId>jboss-seam</artifactId>
                </dependency>
		<dependency>
			<groupId>org.richfaces.samples.seamEAR</groupId>
			<artifactId>ejbs</artifactId>
			<type>ejb</type>
		</dependency>
		<dependency>
			<groupId>org.richfaces.samples.seamEAR.wars</groupId>
			<artifactId>seamWebapp</artifactId>
			<type>war</type>
		</dependency>
		<dependency>
			<groupId>org.richfaces.samples.seamEAR</groupId>
			<artifactId>primary-source</artifactId>
		</dependency>
		<dependency>
			<groupId>org.richfaces.samples.seamEAR.projects</groupId>
			<artifactId>logging</artifactId>
		</dependency>
	</dependencies>
	<build>
		<finalName>seamEAR</finalName>
		<plugins>
			<plugin>
				<artifactId>maven-ear-plugin</artifactId>
				<configuration>
					<defaultLibBundleDir>lib</defaultLibBundleDir>
					<modules>
						<ejbModule>
							<groupId>org.jboss.seam</groupId>
							<artifactId>jboss-seam</artifactId>
							<!--
								<includeInApplicationXml>
								true
								</includeInApplicationXml>
							-->
							<bundleDir>/</bundleDir>
						</ejbModule>
						<ejbModule>
							<groupId>
								org.richfaces.samples.seamEAR
							</groupId>
							<artifactId>ejbs</artifactId>
							<bundleDir>/</bundleDir>
						</ejbModule>
						<jarModule>
							<groupId>org.richfaces.framework</groupId>
							<artifactId>richfaces-api</artifactId>
							<includeInApplicationXml>
								true
							</includeInApplicationXml>
							<bundleDir>/</bundleDir>
						</jarModule>
					</modules>
                                        <artifactTypeMappings>
                                                <artifactTypeMapping type="jar" mapping="ejb" />
                                        </artifactTypeMappings>
                                        <archive>
                                                <manifest>
                                                        <addClasspath>true</addClasspath>
                                                </manifest>
                                        </archive>
                                        <jboss>
                                                <version>4.2</version>
                                                <loader-repository>
                                                        seam.jboss.org:loader=seamEAR
                                                </loader-repository>
                                        </jboss>
                                        <version>5</version>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>