<?xml version="1.0" encoding="UTF-8"?>
<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.wicketstuff</groupId>
        <artifactId>javaee-inject-examples</artifactId>
        <version>7.0.0</version>
    </parent>
    <artifactId>javaee-inject-example-ear</artifactId>
    <packaging>ear</packaging>
    <name>JavaEE Inject - Example EAR</name>
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-ear-plugin</artifactId>
                <version>2.9.1</version>
                <configuration>
                    <!-- Change this to 5 if you want to use with Java EE 5 container -->
                    <version>6</version>
                    <modules>
                        <webModule>
                            <groupId>${project.groupId}</groupId>
                            <artifactId>javaee-inject-example-war</artifactId>
                            <contextRoot>/example</contextRoot>
                        </webModule>
                        <ejbModule>
                            <groupId>${project.groupId}</groupId>
                            <artifactId>javaee-inject-example-ejb</artifactId>
                        </ejbModule>
                    </modules>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <dependencies>
        <dependency>
            <type>ejb</type>
            <groupId>${project.groupId}</groupId>
            <artifactId>javaee-inject-example-ejb</artifactId>
            <version>${project.version}</version>
        </dependency>
        <dependency>
            <type>war</type>
            <groupId>${project.groupId}</groupId>
            <artifactId>javaee-inject-example-war</artifactId>
            <version>${project.version}</version>
        </dependency>
    </dependencies>
</project>
