2014-07-07 05:30:28 -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">
|
2015-07-14 06:49:02 -04:00
|
|
|
|
2014-07-07 05:30:28 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-shield</artifactId>
|
2015-07-14 06:49:02 -04:00
|
|
|
<name>Elasticsearch X-Plugins - Shield</name>
|
2015-07-22 21:57:30 -04:00
|
|
|
<description>Elasticsearch Shield (security)</description>
|
2014-12-05 04:39:59 -05:00
|
|
|
|
2014-07-07 05:30:28 -04:00
|
|
|
<parent>
|
2015-07-07 09:42:12 -04:00
|
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
2015-07-14 06:49:02 -04:00
|
|
|
<artifactId>x-plugins</artifactId>
|
|
|
|
<version>2.0.0-beta1-SNAPSHOT</version>
|
2014-07-07 05:30:28 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
2015-07-22 09:31:51 -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.shield.ShieldPlugin</elasticsearch.plugin.classname>
|
|
|
|
<!-- TODO: fix plugin dependencies for full isolation -->
|
|
|
|
<elasticsearch.plugin.isolated>false</elasticsearch.plugin.isolated>
|
2015-07-17 08:17:38 -04:00
|
|
|
<tests.rest.blacklist>indices.get/10_basic/*allow_no_indices*,cat.count/10_basic/Test cat count output,cat.aliases/10_basic/Empty cluster,indices.segments/10_basic/no segments test,indices.clear_cache/10_basic/clear_cache test,indices.status/10_basic/Indices status test,cat.indices/10_basic/Test cat indices output,cat.recovery/10_basic/Test cat recovery output,cat.shards/10_basic/Test cat shards output,termvector/20_issue7121/*,index/10_with_id/Index with ID,indices.get_alias/20_emtpy/*,cat.segments/10_basic/Test cat segments output,indices.put_settings/10_basic/Test indices settings allow_no_indices,indices.put_settings/10_basic/Test indices settings ignore_unavailable,indices.refresh/10_basic/Indices refresh test no-match wildcard,indices.stats/10_index/Index - star*,indices.recovery/10_basic/Indices recovery test*,template/30_render_search_template/*,indices.shard_stores/10_basic/no indices test</tests.rest.blacklist>
|
2015-07-15 13:31:12 -04:00
|
|
|
<!-- TODO: refactor -->
|
|
|
|
<elasticsearch.integ.antfile>${basedir}/dev-tools/integration-tests.xml</elasticsearch.integ.antfile>
|
2014-07-07 05:30:28 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- test deps -->
|
2014-07-22 12:06:54 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-07-14 06:49:02 -04:00
|
|
|
|
2015-04-20 10:57:42 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.jimfs</groupId>
|
|
|
|
<artifactId>jimfs</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2015-07-14 06:49:02 -04:00
|
|
|
|
2014-12-05 02:49:36 -05:00
|
|
|
<!-- real dependencies -->
|
2015-06-12 08:45:00 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-license-plugin</artifactId>
|
2015-07-14 06:49:02 -04:00
|
|
|
<version>${project.version}</version>
|
2015-07-14 10:12:08 -04:00
|
|
|
<scope>provided</scope>
|
2015-06-12 08:45:00 -04:00
|
|
|
</dependency>
|
2015-07-14 06:49:02 -04:00
|
|
|
|
2015-02-12 15:24:42 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>dk.brics.automaton</groupId>
|
|
|
|
<artifactId>automaton</artifactId>
|
|
|
|
<version>1.11-8</version>
|
|
|
|
</dependency>
|
2015-07-14 06:49:02 -04:00
|
|
|
|
2015-02-06 08:24:41 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.unboundid</groupId>
|
|
|
|
<artifactId>unboundid-ldapsdk</artifactId>
|
|
|
|
<version>2.3.8</version>
|
|
|
|
</dependency>
|
2015-07-14 06:49:02 -04:00
|
|
|
|
2014-07-07 05:30:28 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
2015-06-15 13:40:24 -04:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
2014-07-07 05:30:28 -04:00
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
2015-01-23 09:10:18 -05:00
|
|
|
<attach>false</attach>
|
2014-07-07 05:30:28 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2015-05-26 13:18:26 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-eclipse-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>
|
|
|
|
<groupId>org.elasticsearch</groupId>
|
|
|
|
<artifactId>elasticsearch-license-plugin</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<type>zip</type>
|
|
|
|
<overWrite>true</overWrite>
|
|
|
|
</artifactItem>
|
|
|
|
</artifactItems>
|
2015-07-28 10:52:49 -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-07-07 05:30:28 -04:00
|
|
|
</plugins>
|
2015-05-26 13:18:26 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.mycila</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<!-- BCrypt -->
|
|
|
|
<exclude>src/main/java/org/elasticsearch/shield/authc/support/BCrypt.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-06-17 15:10:35 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>de.thetaphi</groupId>
|
|
|
|
<artifactId>forbiddenapis</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>check-forbidden-test-apis</id>
|
|
|
|
<configuration>
|
|
|
|
<signaturesFiles combine.children="append">
|
|
|
|
<signaturesFile>test-signatures.txt</signaturesFile>
|
|
|
|
</signaturesFiles>
|
|
|
|
</configuration>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>testCheck</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-05-26 13:18:26 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2014-07-07 05:30:28 -04:00
|
|
|
</build>
|
|
|
|
|
2015-07-22 12:23:18 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>deploy-internal</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<attach>true</attach>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2014-07-22 05:20:41 -04:00
|
|
|
</project>
|