2014-08-12 08:55:10 -04: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>
|
|
|
|
|
2014-10-24 07:07:36 -04:00
|
|
|
<groupId>org.elasticsearch</groupId>
|
2015-03-24 08:06:06 -04:00
|
|
|
<artifactId>elasticsearch-watcher</artifactId>
|
2015-06-18 05:18:26 -04:00
|
|
|
<version>2.0.0-beta1-SNAPSHOT</version>
|
2014-10-24 07:07:36 -04:00
|
|
|
|
2015-04-29 12:00:56 -04:00
|
|
|
<scm>
|
|
|
|
<connection>scm:git:git@github.com:elastic/elasticsearch-watcher.git</connection>
|
|
|
|
<developerConnection>scm:git:git@github.com:elastic/elasticsearch-watcher.git</developerConnection>
|
|
|
|
<url>http://github.com/elastic/elasticsearch-watcher</url>
|
|
|
|
</scm>
|
|
|
|
|
2014-11-07 08:24:56 -05:00
|
|
|
<parent>
|
2015-06-15 08:53:03 -04:00
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-plugin</artifactId>
|
|
|
|
<version>2.0.0-SNAPSHOT</version>
|
2014-11-07 08:24:56 -05:00
|
|
|
</parent>
|
2014-08-12 08:55:10 -04:00
|
|
|
<properties>
|
2015-06-15 08:53:03 -04:00
|
|
|
<elasticsearch.license.header>dev-tools/elasticsearch_license_header.txt</elasticsearch.license.header>
|
|
|
|
<elasticsearch.license.headerDefinition>dev-tools/license_header_definition.xml</elasticsearch.license.headerDefinition>
|
|
|
|
<license.plugin.version>2.0.0-SNAPSHOT</license.plugin.version>
|
|
|
|
<shield.plugin.version>2.0.0-SNAPSHOT</shield.plugin.version>
|
2015-06-17 14:52:16 -04:00
|
|
|
<tests.rest.load_packaged>false</tests.rest.load_packaged>
|
2015-06-18 04:24:18 -04:00
|
|
|
<tests.timewarp>true</tests.timewarp>
|
2014-08-12 08:55:10 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2014-11-07 08:29:56 -05:00
|
|
|
<!-- Test dependencies -->
|
2015-02-09 19:06:48 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.subethamail</groupId>
|
|
|
|
<artifactId>subethasmtp</artifactId>
|
|
|
|
<version>3.1.7</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2014-11-07 08:29:56 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
<version>1.3</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-02-20 19:49:41 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>1.9.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency> <!--required for mockito-->
|
|
|
|
<groupId>org.objenesis</groupId>
|
|
|
|
<artifactId>objenesis</artifactId>
|
|
|
|
<version>2.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-03-26 18:03:31 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp</groupId>
|
|
|
|
<artifactId>mockwebserver</artifactId>
|
|
|
|
<version>2.3.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-03-27 10:11:38 -04:00
|
|
|
<dependency> <!-- required for rest tests -->
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>4.3.5</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-expressions</artifactId>
|
|
|
|
<version>${lucene.maven.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2015-05-06 15:50:18 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.17</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2015-06-17 16:05:12 -04:00
|
|
|
<!-- needed for tests that use templating -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.spullara.mustache.java</groupId>
|
|
|
|
<artifactId>compiler</artifactId>
|
|
|
|
<version>0.8.13</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2014-11-07 08:29:56 -05:00
|
|
|
<!-- Regular dependencies -->
|
|
|
|
|
2014-11-07 08:24:56 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
<version>${elasticsearch.version}</version>
|
2015-03-25 11:49:18 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-license-plugin</artifactId>
|
2015-06-15 08:53:03 -04:00
|
|
|
<version>${license.plugin.version}</version>
|
2015-03-25 11:49:18 -04:00
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-shield</artifactId>
|
2015-06-15 08:53:03 -04:00
|
|
|
<version>${shield.plugin.version}</version>
|
2015-03-25 11:49:18 -04:00
|
|
|
<optional>true</optional>
|
2014-11-07 08:24:56 -05:00
|
|
|
</dependency>
|
|
|
|
|
2015-04-17 09:45:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
|
|
|
|
<artifactId>owasp-java-html-sanitizer</artifactId>
|
|
|
|
<version>r239</version>
|
|
|
|
</dependency>
|
|
|
|
|
2014-11-05 10:06:36 -05:00
|
|
|
<dependency>
|
2015-06-12 15:38:02 -04:00
|
|
|
<groupId>com.sun.mail</groupId>
|
|
|
|
<artifactId>javax.mail</artifactId>
|
|
|
|
<version>1.5.3</version>
|
2014-10-24 06:49:33 -04:00
|
|
|
</dependency>
|
|
|
|
|
2014-11-05 10:06:36 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
<artifactId>activation</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
</dependency>
|
2014-08-12 08:55:10 -04:00
|
|
|
</dependencies>
|
2015-03-25 11:49:18 -04:00
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-shield</artifactId>
|
2015-06-15 08:53:03 -04:00
|
|
|
<version>${shield.plugin.version}</version>
|
2015-03-25 11:49:18 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-license-plugin</artifactId>
|
2015-06-15 08:53:03 -04:00
|
|
|
<version>${license.plugin.version}</version>
|
2015-03-25 11:49:18 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.spatial4j</groupId>
|
|
|
|
<artifactId>spatial4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2014-10-24 06:49:33 -04:00
|
|
|
<repositories>
|
2015-03-25 11:49:18 -04:00
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-releases</id>
|
|
|
|
<url>http://maven.elasticsearch.org/releases</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>daily</updatePolicy>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-snapshots</id>
|
|
|
|
<url>http://maven.elasticsearch.org/snapshots</url>
|
|
|
|
<releases>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</releases>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
</snapshots>
|
|
|
|
</repository>
|
2014-08-12 13:57:28 -04:00
|
|
|
<repository>
|
2014-10-24 06:49:33 -04:00
|
|
|
<id>maven2-repository.dev.java.net</id>
|
|
|
|
<name>Java.net Repository for Maven</name>
|
|
|
|
<url>http://download.java.net/maven/2/</url>
|
|
|
|
<layout>default</layout>
|
2014-08-12 13:57:28 -04:00
|
|
|
</repository>
|
2015-06-17 09:15:17 -04:00
|
|
|
<repository>
|
|
|
|
<id>oss-snapshots</id>
|
|
|
|
<name>Sonatype OSS Snapshots</name>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
</repository>
|
2014-10-24 06:49:33 -04:00
|
|
|
</repositories>
|
2015-03-25 11:49:18 -04:00
|
|
|
|
2014-08-12 08:55:10 -04:00
|
|
|
<build>
|
2015-01-25 14:47:19 -05:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2015-03-27 10:11:38 -04:00
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>${basedir}/src/test/resources</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*.*</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>${basedir}/rest-api-spec</directory>
|
|
|
|
<targetPath>rest-api-spec</targetPath>
|
|
|
|
<includes>
|
|
|
|
<include>api/*.json</include>
|
|
|
|
<include>test/**/*.yaml</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
2014-08-12 08:55:10 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2015-06-15 08:53:03 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
2014-08-12 08:55:10 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
2015-06-17 16:05:12 -04:00
|
|
|
<attach>false</attach>
|
2014-08-12 08:55:10 -04:00
|
|
|
</configuration>
|
2015-06-18 04:24:18 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
|
|
<artifactId>junit4-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemProperties>
|
|
|
|
<tests.timewarp>${tests.timewarp}</tests.timewarp>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
2014-08-12 08:55:10 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2014-10-24 13:16:03 -04:00
|
|
|
<profiles>
|
2015-05-20 07:36:36 -04:00
|
|
|
<profile>
|
|
|
|
<id>deploy-internal</id>
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-internal-releases</id>
|
|
|
|
<name>Elasticsearch Internal Releases</name>
|
|
|
|
<url>http://maven.elasticsearch.org/artifactory/internal-releases</url>
|
|
|
|
</repository>
|
|
|
|
<snapshotRepository>
|
|
|
|
<id>elasticsearch-internal-snapshots</id>
|
|
|
|
<name>Elasticsearch Internal Snapshots</name>
|
|
|
|
<url>http://maven.elasticsearch.org/artifactory/internal-snapshots</url>
|
|
|
|
</snapshotRepository>
|
|
|
|
</distributionManagement>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>deploy-public</id>
|
|
|
|
<distributionManagement>
|
|
|
|
<repository>
|
|
|
|
<id>elasticsearch-public-releases</id>
|
|
|
|
<name>Elasticsearch Public Releases</name>
|
|
|
|
<url>http://maven.elasticsearch.org/artifactory/public-releases</url>
|
|
|
|
</repository>
|
|
|
|
</distributionManagement>
|
|
|
|
</profile>
|
2014-11-07 05:38:43 -05:00
|
|
|
<profile>
|
|
|
|
<id>default</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
</profile>
|
|
|
|
|
2014-10-24 13:16:03 -04:00
|
|
|
<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>
|
|
|
|
<version>0.6.4.201312101107</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<version>0.6.4.201312101107</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>
|
|
|
|
<configuration>
|
|
|
|
<excludes/>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2014-08-12 08:55:10 -04:00
|
|
|
</project>
|