165 lines
5.8 KiB
XML
165 lines
5.8 KiB
XML
<?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</groupId>
|
|
<artifactId>elasticsearch-watcher</artifactId>
|
|
<name>Elasticsearch X-Plugins - Watcher</name>
|
|
|
|
<parent>
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
|
<artifactId>x-plugins</artifactId>
|
|
<version>2.0.0-beta1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<properties>
|
|
<elasticsearch.integ.antfile>dev-tools/integration-tests.xml</elasticsearch.integ.antfile>
|
|
<tests.rest.load_packaged>false</tests.rest.load_packaged>
|
|
<tests.timewarp>true</tests.timewarp>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Test dependencies -->
|
|
<dependency>
|
|
<groupId>org.subethamail</groupId>
|
|
<artifactId>subethasmtp</artifactId>
|
|
<version>3.1.7</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.squareup.okhttp</groupId>
|
|
<artifactId>mockwebserver</artifactId>
|
|
<version>2.3.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Regular dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch-license-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch-shield</artifactId>
|
|
<version>${project.version}</version>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.googlecode.owasp-java-html-sanitizer</groupId>
|
|
<artifactId>owasp-java-html-sanitizer</artifactId>
|
|
<version>r239</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.sun.mail</groupId>
|
|
<artifactId>javax.mail</artifactId>
|
|
<version>1.5.3</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.activation</groupId>
|
|
<artifactId>activation</artifactId>
|
|
<version>1.1.1</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<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>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
<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>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
<artifactId>junit4-maven-plugin</artifactId>
|
|
<configuration>
|
|
<systemProperties>
|
|
<tests.timewarp>${tests.timewarp}</tests.timewarp>
|
|
</systemProperties>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
</plugin>
|
|
<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>
|
|
<groupId>org.elasticsearch</groupId>
|
|
<artifactId>elasticsearch-license-plugin</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
<overWrite>true</overWrite>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|