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>
|
|
|
|
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>watcher</artifactId>
|
|
|
|
<name>X-Plugins: Watcher</name>
|
2015-07-22 21:57:30 -04:00
|
|
|
<description>Elasticsearch Watcher</description>
|
2015-04-29 12:00:56 -04:00
|
|
|
|
2014-11-07 08:24:56 -05:00
|
|
|
<parent>
|
2015-07-09 00:40:11 -04:00
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-07-14 06:49:02 -04:00
|
|
|
<artifactId>x-plugins</artifactId>
|
2015-09-04 10:30:11 -04:00
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
2014-11-07 08:24:56 -05:00
|
|
|
</parent>
|
2015-07-09 00:40:11 -04:00
|
|
|
|
2014-08-12 08:55:10 -04:00
|
|
|
<properties>
|
2015-07-22 09:49:57 -04:00
|
|
|
<!-- TODO: try to avoid this... -->
|
|
|
|
<elasticsearch.assembly.descriptor>${basedir}/src/main/assemblies/plugin.xml</elasticsearch.assembly.descriptor>
|
2015-07-22 08:49:20 -04:00
|
|
|
<elasticsearch.plugin.classname>org.elasticsearch.watcher.WatcherPlugin</elasticsearch.plugin.classname>
|
|
|
|
<!-- TODO: fix plugin dependencies for full isolation -->
|
|
|
|
<elasticsearch.plugin.isolated>false</elasticsearch.plugin.isolated>
|
2015-07-14 09:45:06 -04:00
|
|
|
<elasticsearch.integ.antfile>dev-tools/integration-tests.xml</elasticsearch.integ.antfile>
|
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>
|
2015-08-11 18:09:05 -04:00
|
|
|
<tests.rest.blacklist>hijack/10_basic/*</tests.rest.blacklist>
|
2015-09-09 15:43:56 -04:00
|
|
|
<xlint.options>-Xlint:-deprecation,-rawtypes,-serial,-unchecked</xlint.options>
|
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>
|
|
|
|
|
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-07-08 05:04:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2014-11-07 08:29:56 -05:00
|
|
|
<!-- Regular dependencies -->
|
|
|
|
|
2015-03-25 11:49:18 -04:00
|
|
|
<dependency>
|
2015-08-06 09:46:48 -04:00
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>license</artifactId>
|
2015-07-14 06:49:02 -04:00
|
|
|
<version>${project.version}</version>
|
2015-07-14 11:32:44 -04:00
|
|
|
<scope>provided</scope>
|
2015-03-25 11:49:18 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2015-08-06 09:46:48 -04:00
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>shield</artifactId>
|
2015-07-14 06:49:02 -04:00
|
|
|
<version>${project.version}</version>
|
2015-08-07 07:57:30 -04:00
|
|
|
<scope>provided</scope>
|
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>
|
2015-06-19 05:45:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.subethamail</groupId>
|
|
|
|
<artifactId>subethasmtp</artifactId>
|
|
|
|
<version>3.1.7</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
2015-03-25 11:49:18 -04:00
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
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>
|
2015-08-10 06:51:08 -04:00
|
|
|
<!-- REST API specifications copied from main Elasticsearch specs
|
|
|
|
because they are required to execute the Watcher REST tests -->
|
|
|
|
<testResource>
|
|
|
|
<directory>${elasticsearch.tools.directory}/rest-api-spec</directory>
|
|
|
|
<targetPath>rest-api-spec</targetPath>
|
|
|
|
<includes>
|
|
|
|
<!-- required by the test framework -->
|
|
|
|
<include>api/info.json</include>
|
|
|
|
<include>api/cluster.health.json</include>
|
|
|
|
<include>api/cluster.state.json</include>
|
|
|
|
<!-- used by Watcher REST tests -->
|
|
|
|
<include>api/index.json</include>
|
|
|
|
<include>api/get.json</include>
|
|
|
|
<include>api/delete.json</include>
|
|
|
|
<include>api/delete-by-query.json</include>
|
|
|
|
<include>api/bulk.json</include>
|
|
|
|
<include>api/update.json</include>
|
|
|
|
<include>api/search.json</include>
|
|
|
|
<include>api/indices.delete.json</include>
|
|
|
|
<include>api/indices.refresh.json</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
2015-08-11 18:09:05 -04:00
|
|
|
<!-- REST API specification and test suites -->
|
|
|
|
<!-- Copied this from plugins parent module, because filtering needs to be enabled -->
|
|
|
|
<testResource>
|
|
|
|
<directory>${project.basedir}/rest-api-spec</directory>
|
|
|
|
<targetPath>rest-api-spec</targetPath>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<includes>
|
|
|
|
<include>api/*.json</include>
|
|
|
|
<include>test/**/*.yaml</include>
|
|
|
|
</includes>
|
|
|
|
</testResource>
|
2015-03-27 10:11:38 -04:00
|
|
|
</testResources>
|
2014-08-12 08:55:10 -04:00
|
|
|
<plugins>
|
2015-06-18 04:24:18 -04:00
|
|
|
<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>
|
2015-07-14 09:53:09 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
</plugin>
|
2015-07-15 13:31:12 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>integ-setup-dependencies</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<artifactItems combine.children="append">
|
|
|
|
<artifactItem>
|
2015-08-06 09:46:48 -04:00
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>license</artifactId>
|
2015-07-15 13:31:12 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
2015-07-28 11:35:20 -04:00
|
|
|
<useBaseVersion>true</useBaseVersion>
|
2015-07-15 13:31:12 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
</plugin>
|
2014-08-12 08:55:10 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|