2011-12-05 18:05:44 -05:00
<?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>
2015-06-05 07:12:05 -04:00
2011-12-05 18:05:44 -05:00
<groupId > org.elasticsearch</groupId>
2015-06-05 07:12:05 -04:00
<artifactId > elasticsearch-parent</artifactId>
2014-01-21 11:07:39 -05:00
<version > 2.0.0-SNAPSHOT</version>
2015-06-05 07:12:05 -04:00
<packaging > pom</packaging>
<name > Elasticsearch Parent POM</name>
<description > Elasticsearch Parent POM</description>
2011-12-05 18:05:44 -05:00
<inceptionYear > 2009</inceptionYear>
2015-06-05 07:12:05 -04:00
<parent >
<groupId > org.sonatype.oss</groupId>
<artifactId > oss-parent</artifactId>
<version > 7</version>
</parent>
2011-12-05 18:05:44 -05:00
<licenses >
<license >
<name > The Apache Software License, Version 2.0</name>
<url > http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution > repo</distribution>
</license>
</licenses>
2014-03-26 04:01:40 -04:00
2011-12-05 18:05:44 -05:00
<scm >
2015-06-05 07:12:05 -04:00
<connection > scm:git:git@github.com:elasticsearch/elasticsearch-parent.git</connection>
<developerConnection > scm:git:git@github.com:elasticsearch/elasticsearch-parent.git</developerConnection>
<url > http://github.com/elasticsearch/elasticsearch-parent</url>
2011-12-05 18:05:44 -05:00
</scm>
<properties >
2015-06-05 07:12:05 -04:00
<!-- elasticsearch stack -->
<elasticsearch.version > 2.0.0-SNAPSHOT</elasticsearch.version>
<jvm.executable > ${java.home}${file.separator}bin${file.separator}java</jvm.executable>
<maven.compiler.source > 1.7</maven.compiler.source>
<maven.compiler.target > 1.7</maven.compiler.target>
<!-- libraries -->
2015-06-15 04:51:05 -04:00
<lucene.version > 5.2.1</lucene.version>
<lucene.maven.version > 5.2.1</lucene.maven.version>
2015-06-05 07:12:05 -04:00
<testframework.version > 2.1.14</testframework.version>
<jackson.version > 2.5.3</jackson.version>
<slf4j.version > 1.6.2</slf4j.version>
<log4j.version > 1.2.17</log4j.version>
<!-- Build resources properties -->
<elasticsearch.tools.directory > ${project.build.directory}/dev-tools</elasticsearch.tools.directory>
2015-06-05 07:13:44 -04:00
<elasticsearch.thirdparty.config > unshaded</elasticsearch.thirdparty.config>
2015-06-05 07:12:05 -04:00
<elasticsearch.license.header > ${elasticsearch.tools.directory}/license-check/elasticsearch_license_header.txt</elasticsearch.license.header>
<elasticsearch.license.headerDefinition > ${elasticsearch.tools.directory}/license-check/license_header_definition.xml</elasticsearch.license.headerDefinition>
<!-- Test properties -->
<tests.jvms > auto</tests.jvms>
<tests.shuffle > true</tests.shuffle>
<tests.output > onerror</tests.output>
<tests.client.ratio > </tests.client.ratio>
<tests.bwc.path > ${project.basedir}/backwards</tests.bwc.path>
<tests.locale > random</tests.locale>
<tests.timezone > random</tests.timezone>
<tests.slow > false</tests.slow>
<es.logger.level > ERROR</es.logger.level>
<tests.heap.size > 512m</tests.heap.size>
<tests.heapdump.path > ${basedir}/logs/</tests.heapdump.path>
<tests.topn > 5</tests.topn>
<execution.hint.file > .local-${elasticsearch.version}-execution-hints.log</execution.hint.file>
<tests.assertion.disabled > false</tests.assertion.disabled>
<tests.verbose > false</tests.verbose>
<tests.seed > </tests.seed>
<tests.bwc > </tests.bwc>
<tests.bwc.path > </tests.bwc.path>
<tests.bwc.version > </tests.bwc.version>
<tests.jvm.argline > </tests.jvm.argline>
<tests.appendseed > </tests.appendseed>
<tests.iters > </tests.iters>
<tests.maxfailures > </tests.maxfailures>
<tests.class > </tests.class>
<tests.method > </tests.method>
<tests.nightly > </tests.nightly>
<tests.badapples > </tests.badapples>
<tests.weekly > </tests.weekly>
<tests.awaitsfix > </tests.awaitsfix>
<tests.timeoutSuite > </tests.timeoutSuite>
<tests.showSuccess > </tests.showSuccess>
<tests.integration > </tests.integration>
<tests.thirdparty > </tests.thirdparty>
<tests.config > </tests.config>
<tests.enable_mock_modules > </tests.enable_mock_modules>
<tests.rest > </tests.rest>
<tests.rest.suite > </tests.rest.suite>
<tests.rest.blacklist > </tests.rest.blacklist>
<tests.rest.spec > </tests.rest.spec>
<tests.network > </tests.network>
<tests.cluster > </tests.cluster>
<tests.filter > </tests.filter>
2015-06-17 12:16:06 -04:00
<tests.rest.load_packaged > </tests.rest.load_packaged>
2015-06-05 07:12:05 -04:00
<env.ES_TEST_LOCAL > </env.ES_TEST_LOCAL>
<tests.security.manager > true</tests.security.manager>
<tests.compatibility > </tests.compatibility>
<tests.ifNoTests > fail</tests.ifNoTests>
2011-12-05 18:05:44 -05:00
</properties>
2015-05-23 00:27:28 -04:00
<repositories >
2015-06-05 07:12:05 -04:00
<repository >
<id > elasticsearch-releases</id>
<url > http://maven.elasticsearch.org/releases</url>
<releases >
<enabled > true</enabled>
</releases>
<snapshots >
<enabled > false</enabled>
</snapshots>
</repository>
2015-05-23 00:27:28 -04:00
<repository >
<id > oss-snapshots</id>
<name > Sonatype OSS Snapshots</name>
<url > https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
2015-06-05 07:12:05 -04:00
<dependencyManagement >
<dependencies >
<dependency >
<groupId > org.elasticsearch</groupId>
<artifactId > dev-tools</artifactId>
<version > ${elasticsearch.version}</version>
</dependency>
2013-11-20 15:45:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.carrotsearch.randomizedtesting</groupId>
<artifactId > randomizedtesting-runner</artifactId>
<version > ${testframework.version}</version>
</dependency>
2012-12-02 16:29:49 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.hamcrest</groupId>
<artifactId > hamcrest-all</artifactId>
<version > 1.3</version>
</dependency>
2011-12-05 18:05:44 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > junit</groupId>
<artifactId > junit</artifactId>
<version > 4.11</version>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.google.jimfs</groupId>
<artifactId > jimfs</artifactId>
<version > 1.0</version>
</dependency>
2015-05-07 06:02:33 -04:00
2015-06-26 20:40:42 -04:00
<dependency >
<groupId > com.twitter</groupId>
<artifactId > jsr166e</artifactId>
<version > 1.1.0</version>
</dependency>
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-test-framework</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.elasticsearch</groupId>
<artifactId > elasticsearch</artifactId>
<version > ${elasticsearch.version}</version>
</dependency>
2015-06-15 11:08:15 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.elasticsearch</groupId>
<artifactId > elasticsearch</artifactId>
<version > ${elasticsearch.version}</version>
<type > test-jar</type>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.apache.httpcomponents</groupId>
<artifactId > httpclient</artifactId>
2015-06-15 03:30:44 -04:00
<version > 4.3.6</version>
2015-06-05 07:12:05 -04:00
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-core</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-backward-codecs</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-analyzers-common</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-queries</artifactId>
<version > ${lucene.maven.version}</version>
<exclusions >
<exclusion >
<groupId > jakarta-regexp</groupId>
<artifactId > jakarta-regexp</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-memory</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-highlighter</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-queryparser</artifactId>
<version > ${lucene.maven.version}</version>
<exclusions >
<exclusion >
<groupId > jakarta-regexp</groupId>
<artifactId > jakarta-regexp</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-suggest</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-join</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<!-- Lucene spatial, make sure when upgrading to work with latest version of jts/spatial4j dependencies -->
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-spatial</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-expressions</artifactId>
<version > ${lucene.maven.version}</version>
<optional > true</optional>
</dependency>
<dependency >
<groupId > com.spatial4j</groupId>
<artifactId > spatial4j</artifactId>
<version > 0.4.1</version>
</dependency>
<dependency >
<groupId > com.vividsolutions</groupId>
<artifactId > jts</artifactId>
<version > 1.13</version>
<exclusions >
<exclusion >
<groupId > xerces</groupId>
<artifactId > xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- needed for templating -->
<dependency >
<groupId > com.github.spullara.mustache.java</groupId>
<artifactId > compiler</artifactId>
<version > 0.8.13</version>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<!-- Used in plugins -->
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-analyzers-phonetic</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-analyzers-kuromoji</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-analyzers-stempel</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-analyzers-icu</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
<dependency >
<groupId > org.apache.lucene</groupId>
<artifactId > lucene-analyzers-smartcn</artifactId>
<version > ${lucene.maven.version}</version>
</dependency>
2014-03-23 03:56:45 -04:00
2015-06-05 07:12:05 -04:00
<!-- START: dependencies that might be shaded -->
<dependency >
<groupId > com.google.guava</groupId>
<artifactId > guava</artifactId>
<version > 18.0</version>
</dependency>
2012-06-18 22:07:11 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.carrotsearch</groupId>
<artifactId > hppc</artifactId>
<version > 0.7.1</version>
</dependency>
2014-05-13 18:42:48 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > joda-time</groupId>
<artifactId > joda-time</artifactId>
<!-- joda 2.0 moved to using volatile fields for datetime -->
<!-- When updating to a new version, make sure to update our copy of BaseDateTime -->
2015-06-15 03:30:44 -04:00
<version > 2.8</version>
2015-06-05 07:12:05 -04:00
</dependency>
<dependency >
<groupId > org.joda</groupId>
<artifactId > joda-convert</artifactId>
<version > 1.2</version>
</dependency>
2014-08-02 11:16:27 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.fasterxml.jackson.core</groupId>
<artifactId > jackson-core</artifactId>
<version > ${jackson.version}</version>
</dependency>
2014-08-20 08:29:09 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.fasterxml.jackson.dataformat</groupId>
<artifactId > jackson-dataformat-smile</artifactId>
<version > ${jackson.version}</version>
</dependency>
2014-08-02 11:16:27 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.fasterxml.jackson.dataformat</groupId>
<artifactId > jackson-dataformat-yaml</artifactId>
<version > ${jackson.version}</version>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.fasterxml.jackson.dataformat</groupId>
<artifactId > jackson-dataformat-cbor</artifactId>
<version > ${jackson.version}</version>
</dependency>
2014-05-06 04:58:41 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > io.netty</groupId>
<artifactId > netty</artifactId>
<version > 3.10.0.Final</version>
</dependency>
2011-12-05 18:05:44 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.ning</groupId>
<artifactId > compress-lzf</artifactId>
<version > 1.0.2</version>
</dependency>
2014-09-30 12:35:55 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > com.tdunning</groupId>
<artifactId > t-digest</artifactId>
<version > 3.0</version>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.apache.commons</groupId>
<artifactId > commons-lang3</artifactId>
<version > 3.3.2</version>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > commons-cli</groupId>
<artifactId > commons-cli</artifactId>
<version > 1.2</version>
</dependency>
2012-02-14 05:49:15 -05:00
2015-06-05 07:12:05 -04:00
<!-- END: dependencies that might be shaded -->
2011-12-05 18:05:44 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.codehaus.groovy</groupId>
<artifactId > groovy-all</artifactId>
<version > 2.4.0</version>
<classifier > indy</classifier>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > log4j</groupId>
<artifactId > log4j</artifactId>
<version > ${log4j.version}</version>
</dependency>
2015-03-30 09:58:34 -04:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > log4j</groupId>
<artifactId > apache-log4j-extras</artifactId>
<version > ${log4j.version}</version>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
<version > ${slf4j.version}</version>
</dependency>
2011-12-05 19:42:25 -05:00
2015-06-05 07:12:05 -04:00
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-log4j12</artifactId>
<version > ${slf4j.version}</version>
</dependency>
<dependency >
<groupId > net.java.dev.jna</groupId>
<artifactId > jna</artifactId>
<version > 4.1.0</version>
<optional > true</optional>
</dependency>
<dependency >
<groupId > org.fusesource</groupId>
<artifactId > sigar</artifactId>
<version > 1.6.4</version>
</dependency>
<!-- We don't use this since the publish pom is then messed up -->
<!--
<dependency >
<groupId > sigar</groupId>
<artifactId > sigar</artifactId>
<version > 1.6.4</version>
<scope > system</scope>
<systemPath > ${basedir}/lib/sigar/sigar-1.6.4.jar</systemPath>
<optional > true</optional>
</dependency>
-->
<!-- For coverage analysis -->
<dependency >
<groupId > org.jacoco</groupId>
<artifactId > org.jacoco.agent</artifactId>
<classifier > runtime</classifier>
<version > 0.6.4.201312101107</version>
</dependency>
</dependencies>
</dependencyManagement>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > buildnumber-maven-plugin</artifactId>
</plugin>
<plugin >
<groupId > com.carrotsearch.randomizedtesting</groupId>
<artifactId > junit4-maven-plugin</artifactId>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-source-plugin</artifactId>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-remote-resources-plugin</artifactId>
</plugin>
<plugin >
<groupId > de.thetaphi</groupId>
<artifactId > forbiddenapis</artifactId>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-antrun-plugin</artifactId>
</plugin>
</plugins>
<pluginManagement >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-assembly-plugin</artifactId>
2015-06-05 13:17:21 -04:00
<version > 2.5.5</version>
2015-06-05 07:12:05 -04:00
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-clean-plugin</artifactId>
<version > 2.6.1</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-deploy-plugin</artifactId>
<version > 2.8.2</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-install-plugin</artifactId>
<version > 2.5.2</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-gpg-plugin</artifactId>
<version > 1.6</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-enforcer-plugin</artifactId>
<version > 1.4</version>
<executions >
<execution >
<id > enforce-versions</id>
<goals >
<goal > enforce</goal>
</goals>
<configuration >
<rules >
<requireJavaVersion >
<version > [${maven.compiler.source},)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
<version > 3.3</version>
<configuration >
<fork > true</fork>
<maxmem > 512m</maxmem>
<!-- REMOVE WHEN UPGRADE:
see https://jira.codehaus.org/browse/MCOMPILER-209 it's a bug where
incremental compilation doesn't work unless it's set to false causeing
recompilation of the entire codebase each time without any changes. Should
be fixed in version > 3.1
-->
<useIncrementalCompilation > false</useIncrementalCompilation>
<compilerArgs >
<arg > -XDignore.symbol.file</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin >
<groupId > com.carrotsearch.randomizedtesting</groupId>
<artifactId > junit4-maven-plugin</artifactId>
<version > ${testframework.version}</version>
<executions >
<execution >
<id > tests</id>
<phase > test</phase>
<goals >
<goal > junit4</goal>
</goals>
<configuration >
<jvm > ${jvm.executable}</jvm>
<argLine > ${tests.jvm.argline}</argLine>
<heartbeat > 10</heartbeat>
<jvmOutputAction > warn</jvmOutputAction>
<leaveTemporary > true</leaveTemporary>
<ifNoTests > ${tests.ifNoTests}</ifNoTests>
<listeners >
<report-ant-xml mavenExtensions= "true"
dir="${project.build.directory}/surefire-reports"/>
<report-text
showThrowable="true"
showStackTraces="true"
showOutput="${tests.output}"
showStatusOk="false"
showStatusError="true"
showStatusFailure="true"
showStatusIgnored="true"
showSuiteSummary="true"
timestamps="false">
<filtertrace >
<!-- custom filters: we carefully only omit test infra noise here -->
<containsstring contains= ".SlaveMain." />
<containsregex pattern= "^(\s+at )(org\.junit\.)" />
<!-- also includes anonymous classes inside these two: -->
<containsregex pattern= "^(\s+at )(com\.carrotsearch\.randomizedtesting.RandomizedRunner)" />
<containsregex pattern= "^(\s+at )(com\.carrotsearch\.randomizedtesting.ThreadLeakControl)" />
<containsregex pattern= "^(\s+at )(com\.carrotsearch\.randomizedtesting.rules\.)" />
<containsregex pattern= "^(\s+at )(org\.apache\.lucene.util\.TestRule)" />
<containsregex pattern= "^(\s+at )(org\.apache\.lucene.util\.AbstractBeforeAfterRule)" />
</filtertrace>
</report-text>
<report-execution-times historyLength= "20" file= "${basedir}/${execution.hint.file}" />
</listeners>
<assertions >
<enable />
<disable package= "${tests.assertion.disabled}" />
<!-- pass org.elasticsearch to run without assertions -->
</assertions>
<parallelism > ${tests.jvms}</parallelism>
<balancers >
<execution-times >
<fileset dir= "${basedir}" includes= "${execution.hint.file}" />
</execution-times>
</balancers>
<includes >
<include > **/*Tests.class</include>
<include > **/*Test.class</include>
</includes>
<excludes >
<exclude > **/Abstract*.class</exclude>
<exclude > **/*StressTest.class</exclude>
</excludes>
<jvmArgs >
<param > -Xmx${tests.heap.size}</param>
<param > -Xms${tests.heap.size}</param>
<param > ${java.permGenSpace}</param>
<param > -Djava.library.path=${project.basedir}/lib/sigar</param>
<param > -XX:MaxDirectMemorySize=512m</param>
<param > -Des.logger.prefix=</param>
<param > -XX:+HeapDumpOnOutOfMemoryError</param>
<param > -XX:HeapDumpPath=${tests.heapdump.path}</param>
</jvmArgs>
<shuffleOnSlave > ${tests.shuffle}</shuffleOnSlave>
<sysouts > ${tests.verbose}</sysouts>
<seed > ${tests.seed}</seed>
<haltOnFailure > ${tests.failfast}</haltOnFailure>
<!-- enforce unique suite names, or reporting stuff can be screwed up -->
<uniqueSuiteNames > true</uniqueSuiteNames>
<systemProperties >
<!-- we use './temp' since this is per JVM and tests are forbidden from writing to CWD -->
<java.io.tmpdir > ./temp</java.io.tmpdir>
<!-- RandomizedTesting library system properties -->
<tests.bwc > ${tests.bwc}</tests.bwc>
<tests.bwc.path > ${tests.bwc.path}</tests.bwc.path>
<tests.bwc.version > ${tests.bwc.version}</tests.bwc.version>
<tests.jvm.argline > ${tests.jvm.argline}</tests.jvm.argline>
<tests.appendseed > ${tests.appendseed}</tests.appendseed>
<tests.iters > ${tests.iters}</tests.iters>
<tests.maxfailures > ${tests.maxfailures}</tests.maxfailures>
<tests.failfast > ${tests.failfast}</tests.failfast>
<tests.class > ${tests.class}</tests.class>
<tests.method > ${tests.method}</tests.method>
<tests.nightly > ${tests.nightly}</tests.nightly>
<tests.verbose > ${tests.verbose}</tests.verbose>
<tests.badapples > ${tests.badapples}</tests.badapples>
<tests.weekly > ${tests.weekly}</tests.weekly>
<tests.awaitsfix > ${tests.awaitsfix}</tests.awaitsfix>
<tests.slow > ${tests.slow}</tests.slow>
<tests.timeoutSuite > ${tests.timeoutSuite}</tests.timeoutSuite>
<tests.showSuccess > ${tests.showSuccess}</tests.showSuccess>
<tests.integration > ${tests.integration}</tests.integration>
<tests.thirdparty > ${tests.thirdparty}</tests.thirdparty>
<tests.config > ${tests.config}</tests.config>
<tests.client.ratio > ${tests.client.ratio}</tests.client.ratio>
<tests.enable_mock_modules > ${tests.enable_mock_modules}</tests.enable_mock_modules>
<tests.assertion.disabled > ${tests.assertion.disabled}</tests.assertion.disabled>
<tests.rest > ${tests.rest}</tests.rest>
<tests.rest.suite > ${tests.rest.suite}</tests.rest.suite>
<tests.rest.blacklist > ${tests.rest.blacklist}</tests.rest.blacklist>
<tests.rest.spec > ${tests.rest.spec}</tests.rest.spec>
<tests.network > ${tests.network}</tests.network>
<tests.cluster > ${tests.cluster}</tests.cluster>
<tests.heap.size > ${tests.heap.size}</tests.heap.size>
<tests.filter > ${tests.filter}</tests.filter>
<tests.version > ${elasticsearch.version}</tests.version>
<tests.locale > ${tests.locale}</tests.locale>
2015-06-17 12:16:06 -04:00
<tests.rest.load_packaged > ${tests.rest.load_packaged}</tests.rest.load_packaged>
2015-06-05 07:12:05 -04:00
<tests.timezone > ${tests.timezone}</tests.timezone>
<project.basedir > ${project.basedir}</project.basedir>
<m2.repository > ${settings.localRepository}</m2.repository>
<es.node.local > ${env.ES_TEST_LOCAL}</es.node.local>
<es.node.mode > ${es.node.mode}</es.node.mode>
<es.logger.level > ${es.logger.level}</es.logger.level>
<tests.security.manager > ${tests.security.manager}</tests.security.manager>
<tests.compatibility > ${tests.compatibility}</tests.compatibility>
<java.awt.headless > true</java.awt.headless>
<!-- true if we are running tests from maven (as opposed to IDE, etc).
allows us to assert certain things work, like libsigar -->
<tests.maven > true</tests.maven>
</systemProperties>
</configuration>
</execution>
</executions>
</plugin>
<!-- disable surefire, we use junit4 -->
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
<version > 2.18.1</version>
<configuration >
<skip > true</skip>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-source-plugin</artifactId>
<version > 2.4</version>
<executions >
<execution >
<id > attach-sources</id>
<goals >
<goal > jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-remote-resources-plugin</artifactId>
<version > 1.5</version>
<configuration >
<resourceBundles >
<resourceBundle > org.elasticsearch:dev-tools:${elasticsearch.version}</resourceBundle>
2015-06-18 10:05:42 -04:00
<resourceBundle > org.elasticsearch:rest-api-spec:${elasticsearch.version}</resourceBundle>
2015-06-05 07:12:05 -04:00
</resourceBundles>
<outputDirectory > ${elasticsearch.tools.directory}</outputDirectory>
<!-- don't include dev - tools in artifacts -->
<attachToMain > false</attachToMain>
<attachToTest > false</attachToTest>
</configuration>
<executions >
<execution >
<goals >
<goal > process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > de.thetaphi</groupId>
<artifactId > forbiddenapis</artifactId>
<version > 1.8</version>
<executions >
<execution >
<id > check-forbidden-apis</id>
<configuration >
<targetVersion > ${maven.compiler.target}</targetVersion>
<!-- disallow undocumented classes like sun.misc.Unsafe: -->
<internalRuntimeForbidden > true</internalRuntimeForbidden>
<!-- if the used Java version is too new, don't fail, just do nothing: -->
<failOnUnsupportedJava > false</failOnUnsupportedJava>
<bundledSignatures >
<!-- This will automatically choose the right signatures based on 'targetVersion': -->
<bundledSignature > jdk-unsafe</bundledSignature>
<bundledSignature > jdk-deprecated</bundledSignature>
<bundledSignature > jdk-system-out</bundledSignature>
</bundledSignatures>
<signaturesFiles >
<signaturesFile > ${elasticsearch.tools.directory}/forbidden/core-signatures.txt</signaturesFile>
<signaturesFile > ${elasticsearch.tools.directory}/forbidden/all-signatures.txt</signaturesFile>
<signaturesFile > ${elasticsearch.tools.directory}/forbidden/third-party-${elasticsearch.thirdparty.config}-signatures.txt</signaturesFile>
</signaturesFiles>
<signatures > ${forbidden.signatures}</signatures>
<suppressAnnotations > <annotation > **.SuppressForbidden</annotation> </suppressAnnotations>
</configuration>
<phase > compile</phase>
<goals >
<goal > check</goal>
</goals>
</execution>
<execution >
<id > check-forbidden-test-apis</id>
<configuration >
<targetVersion > ${maven.compiler.target}</targetVersion>
<!-- disallow undocumented classes like sun.misc.Unsafe: -->
<internalRuntimeForbidden > true</internalRuntimeForbidden>
<!-- if the used Java version is too new, don't fail, just do nothing: -->
<failOnUnsupportedJava > false</failOnUnsupportedJava>
<bundledSignatures >
<!-- This will automatically choose the right signatures based on 'targetVersion': -->
<bundledSignature > jdk-unsafe</bundledSignature>
<bundledSignature > jdk-deprecated</bundledSignature>
</bundledSignatures>
<signaturesFiles >
<signaturesFile > ${elasticsearch.tools.directory}/forbidden/test-signatures.txt</signaturesFile>
<signaturesFile > ${elasticsearch.tools.directory}/forbidden/all-signatures.txt</signaturesFile>
</signaturesFiles>
<signatures > ${forbidden.test.signatures}</signatures>
<suppressAnnotations > <annotation > **.SuppressForbidden</annotation> </suppressAnnotations>
</configuration>
<phase > test-compile</phase>
<goals >
<goal > testCheck</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<!-- We just declare which plugin version to use. Each project can have then its own settings -->
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-shade-plugin</artifactId>
2015-06-12 07:56:35 -04:00
<version > 2.4</version>
2015-06-05 07:12:05 -04:00
</plugin>
<plugin >
<!-- We just declare which plugin version to use. Each project can have then its own settings -->
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-resources-plugin</artifactId>
<version > 2.7</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-site-plugin</artifactId>
<version > 3.4</version>
<configuration >
<siteDirectory > ${elasticsearch.tools.directory}/site</siteDirectory>
</configuration>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > buildnumber-maven-plugin</artifactId>
<version > 1.3</version>
<executions >
<execution >
<phase > validate</phase>
<goals >
<goal > create</goal>
</goals>
</execution>
</executions>
<configuration >
<doCheck > false</doCheck>
<doUpdate > false</doUpdate>
</configuration>
</plugin>
<plugin >
<!-- We just declare which plugin version to use. Each project can have then its own settings -->
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-dependency-plugin</artifactId>
<version > 2.10</version>
</plugin>
<plugin >
<!-- We just declare which plugin version to use. Each project can have then its own settings -->
<!-- some infos https://github.com/tcurdt/jdeb/blob/master/docs/maven.md -->
<groupId > org.vafer</groupId>
<artifactId > jdeb</artifactId>
<version > 1.3</version>
</plugin>
<plugin >
<!-- We just declare which plugin version to use. Each project can have then its own settings -->
<groupId > org.codehaus.mojo</groupId>
<artifactId > rpm-maven-plugin</artifactId>
<version > 2.1.2</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jar-plugin</artifactId>
<version > 2.5</version>
<configuration >
<archive >
<manifest >
<addDefaultImplementationEntries > true</addDefaultImplementationEntries>
</manifest>
2015-05-23 08:37:50 -04:00
<manifestEntries >
2015-06-05 07:12:05 -04:00
<X-Build-Branch > ${scmBranch}</X-Build-Branch>
<X-Build-Number > ${buildNumber}</X-Build-Number>
<X-Build-Time > ${timestamp}</X-Build-Time>
<X-Compile-Elasticsearch-Version > ${elasticsearch.version}</X-Compile-Elasticsearch-Version>
<X-Compile-Lucene-Version > ${lucene.version}</X-Compile-Lucene-Version>
<X-Compile-Source-JDK > ${maven.compiler.source}</X-Compile-Source-JDK>
<X-Compile-Target-JDK > ${maven.compiler.target}</X-Compile-Target-JDK>
2015-05-23 08:37:50 -04:00
</manifestEntries>
2015-06-05 07:12:05 -04:00
</archive>
</configuration>
</plugin>
2015-03-30 09:58:34 -04:00
2015-06-05 07:12:05 -04:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > license-maven-plugin</artifactId>
<version > 1.8</version>
</plugin>
2011-12-08 03:48:00 -05:00
2015-06-05 07:12:05 -04:00
<plugin >
<groupId > com.mycila</groupId>
<artifactId > license-maven-plugin</artifactId>
<version > 2.5</version>
<configuration >
<header > ${elasticsearch.license.header}</header>
<headerDefinitions >
<headerDefinition > ${elasticsearch.license.headerDefinition}</headerDefinition>
</headerDefinitions>
<includes >
<include > src/main/java/org/elasticsearch/**/*.java</include>
<include > src/test/java/org/elasticsearch/**/*.java</include>
</includes>
</configuration>
<executions >
<execution >
<id > check-license-headers</id>
<phase > compile</phase>
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
</plugin>
2015-03-30 09:58:34 -04:00
2015-06-05 07:12:05 -04:00
<!-- Eclipse IDE specific settings -->
<!-- make m2e stfu -->
<plugin >
<groupId > org.eclipse.m2e</groupId>
<artifactId > lifecycle-mapping</artifactId>
<version > 1.0.0</version>
<configuration >
<lifecycleMappingMetadata >
<pluginExecutions >
<!-- copy - dependency plugin -->
<pluginExecution >
<pluginExecutionFilter >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-dependency-plugin</artifactId>
<versionRange > [1.0.0,)</versionRange>
<goals >
<goal > copy-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action >
<execute />
</action>
</pluginExecution>
<!-- forbidden - apis plugin -->
<pluginExecution >
<pluginExecutionFilter >
<groupId > de.thetaphi</groupId>
<artifactId > forbiddenapis</artifactId>
<versionRange > [1.0.0,)</versionRange>
<goals >
<goal > testCheck</goal>
<goal > check</goal>
</goals>
</pluginExecutionFilter>
<action >
<execute />
</action>
</pluginExecution>
<!-- exec - maven plugin -->
<pluginExecution >
<pluginExecutionFilter >
<artifactId > exec-maven-plugin</artifactId>
<groupId > org.codehaus.mojo</groupId>
<versionRange > [1.0.0,)</versionRange>
<goals >
<goal > exec</goal>
</goals>
</pluginExecutionFilter>
<action >
<execute />
</action>
</pluginExecution>
<!-- copy - dependency plugin -->
<pluginExecution >
<pluginExecutionFilter >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-enforcer-plugin</artifactId>
<versionRange > [1.0.0,)</versionRange>
<goals >
<goal > enforce</goal>
</goals>
</pluginExecutionFilter>
<action >
<execute />
</action>
</pluginExecution>
<pluginExecution >
<pluginExecutionFilter >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-antrun-plugin</artifactId>
<versionRange > [1.0.0,)</versionRange>
<goals >
<goal > run</goal>
</goals>
</pluginExecutionFilter>
<action >
<ignore />
</action>
</pluginExecution>
<pluginExecution >
<pluginExecutionFilter >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-resources-plugin</artifactId>
<versionRange > [1.0.0,)</versionRange>
<goals >
<goal > copy-resources</goal>
</goals>
</pluginExecutionFilter>
<action >
<ignore />
</action>
</pluginExecution>
<pluginExecution >
<pluginExecutionFilter >
<groupId > com.mycila</groupId>
<artifactId > license-maven-plugin</artifactId>
<versionRange > [1.0.0,)</versionRange>
<goals >
<goal > check</goal>
</goals>
</pluginExecutionFilter>
<action >
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-eclipse-plugin</artifactId>
<version > 2.9</version>
<configuration >
<buildOutputDirectory > eclipse-build</buildOutputDirectory>
<downloadSources > true</downloadSources>
2015-06-08 09:39:17 -04:00
<additionalConfig >
<file >
<name > .settings/org.eclipse.core.resources.prefs</name>
<content >
< ![CDATA[eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding//src/test/resources=UTF-8
encoding/<project > =UTF-8
]]>
</content>
</file>
<file >
<name > .settings/org.eclipse.jdt.core.prefs</name>
<content >
< ![CDATA[eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=enabled
org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore
org.eclipse.jdt.core.compiler.annotation.nullable=org.elasticsearch.common.Nullable
org.eclipse.jdt.core.compiler.annotation.nullanalysis=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning
org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning
org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=warning
org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning
org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning
org.eclipse.jdt.core.compiler.source=1.7
org.eclipse.jdt.core.formatter.lineSplit=140
org.eclipse.jdt.core.formatter.tabulation.char=space
org.eclipse.jdt.core.formatter.tabulation.size=4
]]>
</content>
</file>
<file >
<name > .settings/org.eclipse.jdt.ui.prefs</name>
<content >
< ![CDATA[eclipse.preferences.version=1
formatter_settings_version=12
# Intellij IDEA import order
org.eclipse.jdt.ui.importorder=;com;org;java;javax;\#;
# License header
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?> <templates > <template a u t o i n s e r t \ = " f a l s e " c o n t e x t \ = " g e t t e r c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r g e t t e r m e t h o d " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . g e t t e r c o m m e n t " n a m e \ = " g e t t e r c o m m e n t " > /**\n *\n */</template> <template a u t o i n s e r t \ = " f a l s e " c o n t e x t \ = " s e t t e r c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r s e t t e r m e t h o d " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . s e t t e r c o m m e n t " n a m e \ = " s e t t e r c o m m e n t " > /**\n *\n */</template> <template a u t o i n s e r t \ = " t r u e " c o n t e x t \ = " c o n s t r u c t o r c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r c r e a t e d c o n s t r u c t o r s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . c o n s t r u c t o r c o m m e n t " n a m e \ = " c o n s t r u c t o r c o m m e n t " > /**\n * ${tags}\n */</template> <template a u t o i n s e r t \ = " t r u e " c o n t e x t \ = " f i l e c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r c r e a t e d J a v a f i l e s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . f i l e c o m m e n t " n a m e \ = " f i l e c o m m e n t " > /**\n *\n */</template> <template a u t o i n s e r t \ = " f a l s e " c o n t e x t \ = " t y p e c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r c r e a t e d t y p e s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . t y p e c o m m e n t " n a m e \ = " t y p e c o m m e n t " > /**\n *\n */</template> <template a u t o i n s e r t \ = " t r u e " c o n t e x t \ = " f i e l d c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r f i e l d s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . f i e l d c o m m e n t " n a m e \ = " f i e l d c o m m e n t " > /**\n *\n */</template> <template a u t o i n s e r t \ = " t r u e " c o n t e x t \ = " m e t h o d c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r n o n - o v e r r i d i n g m e t h o d s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . m e t h o d c o m m e n t " n a m e \ = " m e t h o d c o m m e n t " > /**\n * ${tags}\n */</template> <template a u t o i n s e r t \ = " f a l s e " c o n t e x t \ = " o v e r r i d e c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r o v e r r i d i n g m e t h o d s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . o v e r r i d e c o m m e n t " n a m e \ = " o v e r r i d e c o m m e n t " > /*\n *\n */</template> <template a u t o i n s e r t \ = " t r u e " c o n t e x t \ = " d e l e g a t e c o m m e n t _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o m m e n t f o r d e l e g a t e m e t h o d s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . d e l e g a t e c o m m e n t " n a m e \ = " d e l e g a t e c o m m e n t " > /**\n * ${tags}\n * ${see_to_target}\n */</template> <template a u t o i n s e r t \ = " f a l s e " c o n t e x t \ = " n e w t y p e _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " N e w l y c r e a t e d f i l e s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . n e w t y p e " n a m e \ = " n e w t y p e " > ${filecomment}\n/*\n * Licensed to Elasticsearch under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright\n * ownership. Elasticsearch licenses this file to you under\n * the Apache License, Version 2.0 (the "License"); you may\n * not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing,\n * software distributed under the License is distributed on an\n * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n * KIND, either express or implied. See the License for the\n * specific language governing permissions and limitations\n * under the License.\n */\n\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template> <template a u t o i n s e r t \ = " t r u e " c o n t e x t \ = " c l a s s b o d y _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o d e i n n e w c l a s s t y p e b o d i e s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . c l a s s b o d y " n a m e \ = " c l a s s b o d y " > \n</template> <template a u t o i n s e r t \ = " t r u e " c o n t e x t \ = " i n t e r f a c e b o d y _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o d e i n n e w i n t e r f a c e t y p e b o d i e s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . i n t e r f a c e b o d y " n a m e \ = " i n t e r f a c e b o d y " > \n</template> <template a u t o i n s e r t \ = " t r u e " c o n t e x t \ = " e n u m b o d y _ c o n t e x t " d e l e t e d \ = " f a l s e " d e s c r i p t i o n \ = " C o d e i n n e w e n u m t y p e b o d i e s " e n a b l e d \ = " t r u e " i d \ = " o r g . e c l i p s e . j d t . u i . t e x t . c o d e t e m p l a t e s . e n u m b o d y " n a m e \ = " e n u m b o
]]>
</content>
</file>
</additionalConfig>
2015-06-05 07:12:05 -04:00
</configuration>
</plugin>
2015-03-30 09:58:34 -04:00
2015-06-05 07:12:05 -04:00
<!-- Quality plugins (was static plugins) -->
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jxr-plugin</artifactId>
<version > 2.5</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-pmd-plugin</artifactId>
<version > 3.3</version>
<configuration >
<rulesets >
<ruleset > ${elasticsearch.tools.directory}/pmd/custom.xml</ruleset>
</rulesets>
<targetJdk > ${maven.compiler.target}</targetJdk>
</configuration>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > findbugs-maven-plugin</artifactId>
<version > 3.0.0</version>
<configuration >
<xmlOutput > true</xmlOutput>
<xmlOutputDirectory > target/site</xmlOutputDirectory>
<fork > true</fork>
<maxHeap > 2048</maxHeap>
<timeout > 1800000</timeout>
<onlyAnalyze > org.elasticsearch.-</onlyAnalyze>
</configuration>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-project-info-reports-plugin</artifactId>
<version > 2.7</version>
</plugin>
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
<version > 0.7.2.201409121644</version>
<executions >
<execution >
<id > default-prepare-agent</id>
<goals >
<goal > prepare-agent</goal>
</goals>
</execution>
<execution >
<id > default-report</id>
<phase > prepare-package</phase>
<goals >
<goal > report</goal>
</goals>
</execution>
<execution >
<id > default-check</id>
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-antrun-plugin</artifactId>
<version > 1.8</version>
<executions >
2015-06-17 12:06:00 -04:00
<execution >
<id > check-license</id>
<phase > verify</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<target >
<condition property= "licenses.exists" >
<available file= "${basedir}/licenses" type= "dir" />
</condition>
<echo taskName= "license check" > Running license check</echo>
<exec failonerror= "${licenses.exists}" executable= "perl" dir= "${elasticsearch.tools.directory}/license-check" >
<arg value= "check_license_and_sha.pl" />
<arg value= "--check" />
<arg value= "${basedir}" />
</exec>
</target>
</configuration>
</execution>
2015-06-05 07:12:05 -04:00
<execution >
<id > print-jvm</id>
<phase > validate</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<target >
<echo taskname= "JVM" > Using ${java.runtime.name} ${java.runtime.version} ${java.vendor}</echo>
</target>
</configuration>
</execution>
<execution >
<id > set-permgen</id>
<phase > validate</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<target >
<!-- if we are on java 1.7.* we set perm gen space since some tests need it otherwise we just inject a dummy value -->
<condition property= "java.permGenSpace" value= "-XX:MaxPermSize=128m" else= "-Dsome.dummy.value=" >
<matches pattern= "1\.7\..+$" string= "${java.runtime.version}" />
</condition>
</target>
<exportAntProperties > true</exportAntProperties>
</configuration>
</execution>
<execution >
<id > check-invalid-patterns</id>
<phase > validate</phase>
<goals >
<goal > run</goal>
</goals>
<configuration >
<target unless= "${validate.skip}" >
<pathconvert pathsep= "${line.separator}" dirsep= "/" property= "validate.patternsFound" setonempty= "false" >
<fileset dir= "${basedir}" >
<include name= "**/*.java" />
<include name= "**/*.py" />
<include name= "**/*.txt" />
<include name= "**/*.xml" />
<include name= "**/*.rb" />
<include name= "**/*.pl" />
<exclude name= "**/org/elasticsearch/cluster/routing/shard_routes.txt" />
<exclude name= "**/target/**/*" />
<exclude name= "**/.metadata/**/*" />
<exclude name= "**/.idea/**/*" />
<exclude name= "**/eclipse-build/**/*" />
<or >
<containsregexp expression= "\bno(n|)commit\b" casesensitive= "no" />
<containsregexp expression= "\t" casesensitive= "no" />
</or>
</fileset>
<map from= "${basedir}${file.separator}" to= "* " />
</pathconvert>
<fail if= "validate.patternsFound" > The following files contain tabs or
nocommits:${line.separator}${validate.patternsFound}
</fail>
</target>
</configuration>
</execution>
<execution >
<phase > generate-test-resources</phase>
<id > create-heapdump-directory</id>
<configuration >
<target >
<echo taskname= "heapdump" message= "Creating heapdump directory" />
<mkdir dir= "${tests.heapdump.path}" />
</target>
</configuration>
<goals >
<goal > run</goal>
</goals>
</execution>
<execution >
<id > tests-top-hints</id>
<phase > test</phase>
<configuration >
<skip > ${skipTests}</skip>
<!-- don't run if we skip the tests -->
<failOnError > false</failOnError>
<target >
<property name= "runtime_classpath" refid= "maven.runtime.classpath" />
<property name= "test_classpath" refid= "maven.test.classpath" />
<property name= "plugin_classpath" refid= "maven.plugin.classpath" />
<taskdef resource= "com/carrotsearch/junit4/antlib.xml" >
<classpath >
<pathelement path= "${plugin_classpath}" />
<pathelement path= "${runtime_classpath}" />
<pathelement path= "${test_classpath}" />
</classpath>
</taskdef>
<tophints max= "${tests.topn}" >
<file file= "${basedir}/${execution.hint.file}" />
</tophints>
</target>
</configuration>
<goals >
<goal > run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin >
<!-- We just declare which plugin version to use. Each project can have then its own settings -->
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-invoker-plugin</artifactId>
<version > 1.10</version>
</plugin>
<plugin >
<!-- We just declare which plugin version to use. Each project can have then its own settings -->
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-javadoc-plugin</artifactId>
<version > 2.10.3</version>
</plugin>
<plugin >
<!-- We just declare which plugin version to use. Each project can have then its own settings -->
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-verifier-plugin</artifactId>
<version > 1.1</version>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-checkstyle-plugin</artifactId>
<version > 2.15</version>
</plugin>
</plugins>
</pluginManagement>
2011-12-05 18:05:44 -05:00
</build>
2014-02-07 19:18:31 -05:00
<profiles >
2015-06-05 07:12:05 -04:00
<profile >
<id > default</id>
<activation >
<activeByDefault > true</activeByDefault>
</activation>
<build >
<plugins >
<plugin >
<groupId > com.mycila</groupId>
<artifactId > license-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
2014-08-29 03:01:05 -04:00
<!-- license profile, to generate third party license file -->
<profile >
<id > license</id>
<activation >
<property >
<name > license.generation</name>
<value > true</value>
</property>
</activation>
<!-- not including license - maven - plugin is sufficent to expose default license -->
</profile>
2015-06-05 07:12:05 -04:00
<!-- omits noise -->
<profile >
<id > pom</id>
<activation >
<activeByDefault > false</activeByDefault>
<file >
<missing > ${basedir}/src</missing>
</file>
</activation>
<build >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
<id > create-heapdump-directory</id>
<phase > none</phase>
</execution>
<execution >
<id > tests-top-hints</id>
<phase > none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- skips validation checks -->
<profile >
<id > dev</id>
<build >
<plugins >
<plugin >
<groupId > de.thetaphi</groupId>
<artifactId > forbiddenapis</artifactId>
<executions >
<execution >
<id > check-forbidden-apis</id>
<phase > none</phase>
</execution>
<execution >
<id > check-forbidden-test-apis</id>
<phase > none</phase>
</execution>
</executions>
</plugin>
<plugin >
<groupId > com.mycila</groupId>
<artifactId > license-maven-plugin</artifactId>
<executions >
<execution >
<id > check-license-headers</id>
<phase > none</phase>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-antrun-plugin</artifactId>
<executions >
<execution >
<id > check-invalid-patterns</id>
<phase > none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- code coverage build -->
<profile >
<id > coverage</id>
<activation >
<property >
<name > tests.coverage</name>
<value > true</value>
</property>
</activation>
<dependencies >
<dependency >
<!-- must be on the classpath -->
<groupId > org.jacoco</groupId>
<artifactId > org.jacoco.agent</artifactId>
<classifier > runtime</classifier>
<scope > test</scope>
</dependency>
</dependencies>
<properties >
<tests.security.manager > false</tests.security.manager> <!-- security policy doesn't have appropriate permissions for instrumentation -->
</properties>
<build >
<plugins >
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>
<!-- static analysis -->
<profile >
<id > static</id>
<activation >
<property >
<name > tests.static</name>
<value > true</value>
</property>
</activation>
<properties >
<tests.security.manager > false</tests.security.manager> <!-- security policy doesn't have appropriate permissions for instrumentation -->
</properties>
<build >
<plugins >
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > findbugs-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<reporting >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jxr-plugin</artifactId>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-pmd-plugin</artifactId>
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > findbugs-maven-plugin</artifactId>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-project-info-reports-plugin</artifactId>
<version > 2.7</version>
<reportSets >
<reportSet >
<reports >
<report > index</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>
</profile>
2014-02-07 19:18:31 -05:00
</profiles>
2015-06-05 07:12:05 -04:00
<modules >
<module > dev-tools</module>
2015-06-18 10:05:42 -04:00
<module > rest-api-spec</module>
2015-06-05 07:12:05 -04:00
<module > plugins</module>
2015-06-05 07:12:05 -04:00
<module > core</module>
2015-06-05 07:12:05 -04:00
</modules>
2013-01-22 06:21:37 -05:00
</project>