<?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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <artifactId>analysis</artifactId>
    <groupId>eu.dicode-project</groupId>
    <version>0.0.11</version>
  </parent>
  <artifactId>deploy</artifactId>
  <packaging>pom</packaging>
  <name>DICODE Deployment</name>
  <properties>
    <house.keeping.base>${basedir}/..</house.keeping.base>
  </properties>
  <description>deploy provides default behavior for it's modules, which build tarballs and other archives available from maven-assembly-plugin.</description>
  <modules>
    <module>deploy-analysis</module>
    <module>deploy-analysis-job</module>
    <module>deploy-twitterharvester</module>
  </modules>
  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>2.2.1</version>
          <inherited>true</inherited>
          <configuration>
            <descriptors>
              <descriptor>${project.basedir}/src/main/assembly/descriptor.xml</descriptor>
            </descriptors>
            <finalName>${project.artifactId}-${project.version}</finalName>
            <outputDirectory>${project.build.directory}</outputDirectory>
            <workDirectory>${project.build.directory}/assembly/work</workDirectory>
            <tarLongFileMode>gnu</tarLongFileMode>
          </configuration>
          <executions>
            <execution>
              <id>make-assembly</id> <!-- Make it so! -->
              <phase>package</phase>
              <goals>
                <goal>single</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>
