mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-11 15:35:05 +00:00
When https://github.com/elastic/elasticsearch/pull/12879 will be merged, this commit should be merged as well. ``` [INFO] Reactor Summary: [INFO] [INFO] Elasticsearch Commercial Plugin Build Resources .... SUCCESS [ 0.228 s] [INFO] Elasticsearch X-Plugins - Parent POM ............... SUCCESS [ 0.282 s] [INFO] X-Plugins: License: Parent POM ..................... SUCCESS [ 0.089 s] [INFO] X-Plugins: License: Core ........................... SUCCESS [ 0.118 s] [INFO] X-Plugins: License: Licensor ....................... SUCCESS [ 0.150 s] [INFO] X-Plugins: License: Plugin API ..................... SUCCESS [ 0.106 s] [INFO] X-Plugins: License: Plugin ......................... SUCCESS [ 0.112 s] [INFO] X-Plugins: Shield .................................. SUCCESS [ 0.234 s] [INFO] X-Plugins: Watcher ................................. SUCCESS [ 0.264 s] [INFO] X-Plugins: Marvel .................................. SUCCESS [ 0.113 s] [INFO] QA: Parent POM ..................................... SUCCESS [ 0.097 s] [INFO] QA: Smoke Test X-Plugins ........................... SUCCESS [ 0.107 s] [INFO] QA: Shield core REST tests ......................... SUCCESS [ 0.093 s] [INFO] QA: Smoke Test Watcher's Shield integration ........ SUCCESS [ 0.109 s] ``` Original commit: elastic/x-pack-elasticsearch@e9871261cf
153 lines
5.6 KiB
XML
153 lines
5.6 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>
|
|
|
|
<artifactId>shield</artifactId>
|
|
<name>X-Plugins: Shield</name>
|
|
<description>Elasticsearch Shield (security)</description>
|
|
|
|
<parent>
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
|
<artifactId>x-plugins</artifactId>
|
|
<version>2.1.0-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<properties>
|
|
<!-- no integration tests for now -->
|
|
<skip.integ.tests>true</skip.integ.tests>
|
|
<!-- TODO: try to avoid this... -->
|
|
<elasticsearch.assembly.descriptor>${basedir}/src/main/assemblies/plugin.xml</elasticsearch.assembly.descriptor>
|
|
<elasticsearch.plugin.classname>org.elasticsearch.shield.ShieldPlugin</elasticsearch.plugin.classname>
|
|
<!-- TODO: fix plugin dependencies for full isolation -->
|
|
<elasticsearch.plugin.isolated>false</elasticsearch.plugin.isolated>
|
|
<!-- TODO: refactor -->
|
|
<elasticsearch.integ.antfile>${basedir}/dev-tools/integration-tests.xml</elasticsearch.integ.antfile>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- test deps -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.jimfs</groupId>
|
|
<artifactId>jimfs</artifactId>
|
|
<version>1.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- real dependencies -->
|
|
<dependency>
|
|
<groupId>org.elasticsearch.plugin</groupId>
|
|
<artifactId>license</artifactId>
|
|
<version>${elasticsearch.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dk.brics.automaton</groupId>
|
|
<artifactId>automaton</artifactId>
|
|
<version>1.11-8</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.unboundid</groupId>
|
|
<artifactId>unboundid-ldapsdk</artifactId>
|
|
<version>2.3.8</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-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.plugin</groupId>
|
|
<artifactId>license</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>zip</type>
|
|
<overWrite>true</overWrite>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<useBaseVersion>true</useBaseVersion>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
<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>
|
|
<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>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
</project>
|