<?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>

    <groupId>org.elasticsearch.plugin</groupId>
    <artifactId>plugins</artifactId>
    <version>2.4.4</version>
    <packaging>pom</packaging>
    <name>Plugin: Parent POM</name>
    <inceptionYear>2009</inceptionYear>
    <description>A parent project for Elasticsearch plugins</description>

    <parent>
        <groupId>org.elasticsearch.module</groupId>
        <artifactId>modules</artifactId>
        <version>2.4.4</version>
        <relativePath>../modules/pom.xml</relativePath>
    </parent>

    <build>
        <plugins>
           <!-- integration tests: install artifact as plugin -->
           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-antrun-plugin</artifactId>
               <executions>
                   <!-- start up external cluster -->
                   <execution>
                       <id>integ-setup</id>
                       <phase>pre-integration-test</phase>
                       <goals>
                           <goal>run</goal>
                       </goals>
                       <configuration>
                           <skip>${skip.integ.tests}</skip>
                           <target>
                               <ant antfile="${elasticsearch.integ.antfile}" target="start-external-cluster-with-plugin">
                                   <property name="tests.jvm.argline" value="${tests.jvm.argline}"/>
                               </ant>
                           </target>
                       </configuration>
                   </execution>
               </executions>
           </plugin>
        </plugins>
    </build>

    <modules>
        <module>analysis-kuromoji</module>
        <module>analysis-smartcn</module>
        <module>analysis-stempel</module>
        <module>analysis-phonetic</module>
        <module>analysis-icu</module>
        <module>cloud-gce</module>
        <module>cloud-azure</module>
        <module>cloud-aws</module>
        <module>delete-by-query</module>
        <module>discovery-multicast</module>
        <module>lang-javascript</module>
        <module>lang-python</module>
        <module>mapper-attachments</module>
        <module>mapper-murmur3</module>
        <module>mapper-size</module>
        <module>jvm-example</module>
        <module>site-example</module>
    </modules>
</project>
