<?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>gadget-pack</artifactId>
  <packaging>war</packaging>
  <name>eXo Gadget Pack - Gadgets</name>
  <description>eXo gadgets</description>

  <build>
    <finalName>gadget-pack</finalName>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.3</version>
        <executions>
           <execution>
             <id>unpack</id>
             <phase>prepare-package</phase>
             <goals>
               <goal>unpack</goal>
             </goals>
             <configuration>
               <artifactItems>
                 <artifactItem>
                   <groupId>org.exoplatform.calendar</groupId>
                   <artifactId>CalendarGadget</artifactId>
                   <version>1.0-SNAPSHOT</version>
                   <type>war</type>
                   <overWrite>false</overWrite>
                   <outputDirectory>${project.build.directory}/gadget-pack/gadgets/Collab Gadgets/eXoCalendar/gadget</outputDirectory>
                   <includes>**/*.*</includes>
                   <excludes />
                 </artifactItem>
               </artifactItems>
             </configuration>
           </execution>
        </executions>
      </plugin>
    </plugins>
    
  </build>
</project>
