<?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.exoplatform.platform</groupId>
    <artifactId>exo-gadget-pack</artifactId>
    <version>3.5.0-Beta3</version>
  </parent>
  
  <artifactId>exo-gadget-pack-ear</artifactId>
  <packaging>ear</packaging>
  <name>eXo Gadget Pack - EAR</name>
  <description>eXo gadget pack ear</description>
  
  <dependencies>
      <dependency>
        <groupId>org.exoplatform.platform</groupId>
        <artifactId>gadget-pack-config</artifactId>
        <version>${project.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.platform</groupId>
        <artifactId>gadget-pack-services</artifactId>
        <version>${project.version}</version>
        <scope>provided</scope>
      </dependency>
      <dependency>
        <groupId>org.exoplatform.platform</groupId>
        <artifactId>gadget-pack</artifactId>
        <version>${project.version}</version>
        <type>war</type>
      </dependency>
  </dependencies>
  <build>
    <finalName>exo-gadget-pack</finalName>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <configuration>
          <displayName>eXoGadgetPack</displayName>
          <defaultLibBundleDir>lib</defaultLibBundleDir>
          <modules>
            <jarModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>gadget-pack-config</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <jarModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>gadget-pack-services</artifactId>
              <includeInApplicationXml>true</includeInApplicationXml>
            </jarModule>
            <webModule>
              <groupId>org.exoplatform.platform</groupId>
              <artifactId>gadget-pack</artifactId>
              <contextRoot>exo-gadget-pack</contextRoot>
            </webModule>
          </modules>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
