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">
|
|
|
|
<name>alerting-plugin</name>
|
|
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
2014-10-24 07:07:36 -04:00
|
|
|
<groupId>org.elasticsearch</groupId>
|
2014-10-24 07:09:28 -04:00
|
|
|
<artifactId>elasticsearch-alerts</artifactId>
|
2014-10-24 07:07:36 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
|
2014-08-12 08:55:10 -04:00
|
|
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
2014-11-05 10:06:36 -05:00
|
|
|
<elasticsearch.version>1.4.0</elasticsearch.version>
|
|
|
|
<lucene.version>4.10.2</lucene.version>
|
2014-08-12 08:55:10 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
2014-10-24 06:49:33 -04:00
|
|
|
|
|
|
|
<dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
<artifactId>quartz</artifactId>
|
|
|
|
<version>2.2.1</version>
|
2014-10-24 06:49:33 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
<artifactId>quartz-jobs</artifactId>
|
|
|
|
<version>2.2.1</version>
|
2014-10-24 06:49:33 -04:00
|
|
|
</dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
|
2014-10-24 06:49:33 -04:00
|
|
|
<dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>1.2.16</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Otherwise we can't see quartz logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
<version>1.7.7</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<version>1.7.7</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>mail</artifactId>
|
|
|
|
<version>1.4.4</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>
|
|
|
|
|
|
|
|
<!-- Test dependencies -->
|
|
|
|
|
2014-10-24 06:49:33 -04:00
|
|
|
<dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-test-framework</artifactId>
|
|
|
|
<version>${lucene.version}</version>
|
|
|
|
<scope>test</scope>
|
2014-10-24 06:49:33 -04:00
|
|
|
</dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
|
2014-10-24 06:49:33 -04:00
|
|
|
<dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
<version>1.3.RC2</version>
|
|
|
|
<scope>test</scope>
|
2014-10-24 06:49:33 -04:00
|
|
|
</dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
|
2014-10-24 12:18:42 -04:00
|
|
|
<dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
<version>1.3.RC2</version>
|
|
|
|
<scope>test</scope>
|
2014-10-24 12:18:42 -04:00
|
|
|
</dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
|
2014-10-24 06:49:33 -04:00
|
|
|
<dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
<groupId>com.carrotsearch.randomizedtesting</groupId>
|
|
|
|
<artifactId>randomizedtesting-runner</artifactId>
|
|
|
|
<version>2.1.10</version>
|
|
|
|
<scope>test</scope>
|
2014-10-24 06:49:33 -04:00
|
|
|
</dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
|
2014-10-24 06:49:33 -04:00
|
|
|
<dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
2014-08-12 08:55:10 -04:00
|
|
|
</dependency>
|
2014-11-05 10:06:36 -05:00
|
|
|
|
2014-11-05 10:13:22 -05:00
|
|
|
<!-- Provided dependencies -->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch</artifactId>
|
|
|
|
<version>${elasticsearch.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-core</artifactId>
|
|
|
|
<version>${lucene.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2014-08-12 08:55:10 -04:00
|
|
|
</dependencies>
|
2014-10-24 06:49:33 -04:00
|
|
|
<repositories>
|
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>
|
2014-10-24 06:49:33 -04:00
|
|
|
</repositories>
|
2014-08-12 08:55:10 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<version>1.3.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-versions</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<requireJavaVersion>
|
|
|
|
<version>[1.7,)</version>
|
|
|
|
</requireJavaVersion>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>${basedir}/src/main/assemblies/plugin.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
|
|
|
<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>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2014-10-24 13:16:03 -04:00
|
|
|
<profiles>
|
2014-11-07 05:38:43 -05:00
|
|
|
<profile>
|
|
|
|
<id>default</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mycila</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<configuration>
|
|
|
|
<header>dev-tools/elasticsearch_license_header.txt</header>
|
|
|
|
<headerDefinitions>
|
|
|
|
<headerDefinition>dev-tools/license_header_definition.xml</headerDefinition>
|
|
|
|
</headerDefinitions>
|
|
|
|
<includes>
|
|
|
|
<include>src/main/java/org/elasticsearch/**/*.java</include>
|
|
|
|
<include>src/test/java/org/elasticsearch/**/*.java</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>check</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</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>
|