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>
|
|
|
|
|
2015-08-17 13:47:10 -04:00
|
|
|
<artifactId>shield</artifactId>
|
|
|
|
<name>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>
|
2015-09-04 10:30:11 -04:00
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
2014-07-07 05:30:28 -04:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<properties>
|
2015-08-13 06:21:50 -04:00
|
|
|
<!-- no integration tests for now -->
|
|
|
|
<skip.integ.tests>true</skip.integ.tests>
|
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-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>
|
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-08-12 14:55:26 -04:00
|
|
|
<version>${elasticsearch.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>
|
2015-07-23 10:35:40 -04:00
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2014-07-07 05:30:28 -04:00
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
</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>
|
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 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>
|
|
|
|
|
2014-07-22 05:20:41 -04:00
|
|
|
</project>
|