2018-03-03 17:32:42 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2019-05-28 20:14:09 -04:00
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2018-03-03 17:32:42 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-elasticsearch-bundle</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2018-03-03 17:32:42 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>nifi-elasticsearch-client-service</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2018-07-08 14:51:12 -04:00
|
|
|
<properties>
|
2021-10-04 16:59:07 -04:00
|
|
|
<!-- use with integration-tests only -->
|
2020-11-16 08:03:50 -05:00
|
|
|
<es.int.version>5.6.16</es.int.version>
|
2021-10-04 16:59:07 -04:00
|
|
|
<es.int.script.name>setup-5.script</es.int.script.name>
|
|
|
|
<es.int.type.name>faketype</es.int.type.name>
|
2021-10-07 06:17:28 -04:00
|
|
|
<es.int.path.conf>src/test/resources/conf-5/</es.int.path.conf>
|
2021-10-04 16:59:07 -04:00
|
|
|
<es.int.clusterName>testCluster</es.int.clusterName>
|
|
|
|
<es.int.transportPort>9500</es.int.transportPort>
|
|
|
|
<es.int.httpPort>9400</es.int.httpPort>
|
|
|
|
<es.int.timeout>90</es.int.timeout>
|
|
|
|
<es.int.logLevel>ERROR</es.int.logLevel>
|
2018-07-08 14:51:12 -04:00
|
|
|
</properties>
|
|
|
|
|
2018-03-03 17:32:42 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-lookup-service-api</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>provided</scope>
|
2018-03-03 17:32:42 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-api</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>provided</scope>
|
2018-03-03 17:32:42 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-utils</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2018-03-03 17:32:42 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-distributed-cache-client-service-api</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2018-03-03 17:32:42 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-record</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2018-03-03 17:32:42 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2021-10-07 06:17:28 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-ssl-context-service-api</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-11-18 17:06:46 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-proxy-configuration-api</artifactId>
|
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2021-10-07 06:17:28 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-elasticsearch-client-service-api</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-avro-record-utils</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-schema-registry-service-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-record-path</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2018-03-03 17:32:42 -05:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2021-03-16 16:33:27 -04:00
|
|
|
<version>${jackson.version}</version>
|
2018-03-03 17:32:42 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2021-10-07 06:17:28 -04:00
|
|
|
<version>2.11.0</version>
|
2018-03-03 17:32:42 -05:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.stephenc.findbugs</groupId>
|
|
|
|
<artifactId>findbugs-annotations</artifactId>
|
|
|
|
<version>1.3.9-1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2021-10-07 06:17:28 -04:00
|
|
|
<version>3.12.0</version>
|
2018-03-03 17:32:42 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2021-10-07 06:17:28 -04:00
|
|
|
<groupId>com.jayway.jsonpath</groupId>
|
|
|
|
<artifactId>json-path</artifactId>
|
|
|
|
<version>2.6.0</version>
|
2018-03-03 17:32:42 -05:00
|
|
|
</dependency>
|
2018-04-07 06:03:01 -04:00
|
|
|
<dependency>
|
2021-10-07 06:17:28 -04:00
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
<version>4.5.13</version>
|
2018-04-07 06:03:01 -04:00
|
|
|
</dependency>
|
2021-10-07 06:17:28 -04:00
|
|
|
|
2018-04-07 06:03:01 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.elasticsearch.client</groupId>
|
2021-10-07 06:17:28 -04:00
|
|
|
<artifactId>elasticsearch-rest-client</artifactId>
|
|
|
|
<!-- stopped at 7.13.4 as it is the last version prior to Elastic forcing the client to check it is connecting
|
|
|
|
to an Elastic-provided Elasticsearch instead of an instance provided by someone else (e.g. AWS OpenSearch)
|
|
|
|
see: https://opensearch.org/blog/community/2021/08/community-clients/ for more info.
|
|
|
|
|
2021-11-18 17:06:46 -05:00
|
|
|
Note: the low-level elasticsearch-rest-client remains licensed with Apache 2.0
|
|
|
|
(https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/_license.html) even after the move
|
2021-10-07 06:17:28 -04:00
|
|
|
of the main Elasticsearch product and elasticsearch-rest-high-level-client to Elastic 2.0/SSPL 1.0 in v7.11.0+ -->
|
2021-11-18 17:06:46 -05:00
|
|
|
<version>7.13.4</version>
|
2018-04-07 06:03:01 -04:00
|
|
|
<scope>compile</scope>
|
2018-05-27 11:19:43 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.vividsolutions</groupId>
|
|
|
|
<artifactId>jts</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2018-04-07 06:03:01 -04:00
|
|
|
</dependency>
|
2021-10-07 06:17:28 -04:00
|
|
|
|
|
|
|
<!-- test dependencies -->
|
2018-04-06 21:38:07 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2021-10-07 06:17:28 -04:00
|
|
|
<artifactId>nifi-standard-web-test-utils</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>test</scope>
|
2018-04-06 21:38:07 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2021-10-07 06:17:28 -04:00
|
|
|
<artifactId>nifi-security-utils</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>test</scope>
|
2019-10-20 08:08:09 -04:00
|
|
|
</dependency>
|
2019-10-28 15:55:26 -04:00
|
|
|
<dependency>
|
2018-04-06 21:38:07 -04:00
|
|
|
<groupId>org.apache.nifi</groupId>
|
2021-10-07 06:17:28 -04:00
|
|
|
<artifactId>nifi-mock</artifactId>
|
2021-11-03 11:53:37 -04:00
|
|
|
<version>1.16.0-SNAPSHOT</version>
|
2021-10-07 06:17:28 -04:00
|
|
|
<scope>test</scope>
|
2018-04-06 21:38:07 -04:00
|
|
|
</dependency>
|
2019-06-13 18:05:30 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-ssl-context-service</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2021-10-04 16:59:07 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.maven</groupId>
|
|
|
|
<artifactId>maven-artifact</artifactId>
|
|
|
|
<version>3.6.3</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
NIFI-5254 Upgraded Groovy to version 2.5.4
Updated pom files regarding groovy dependencies. groovy-all was changed to a pom type dependency
Added Groovy Bintray as a plugin repository in root pom
Upgraded spock-core to version 1.3-groovy-2.5 and added exclusion of groovy dependencies to force spock to use the version from dependencyManagement
Updated groovy-eclipse-batch to use the groovy.version property to determine the version
Updated groovy-eclipse-compiler to 3.4.0-01
Updated maven-compiler-plugin to use maven.compiler.source and maven.compiler.target properties for source and target configuration properties
Removed configuration and dependencies sections from nifi-toolkit-admin and nifi-toolkit-encrypt-config maven-compiler-plugin configurations so that the configuration from the root pom's maven-compiler-plugin is inherited
Removed dependencyManagement from nifi-jetty module, version of groovy modules will be inherited from root pom
Removed maven-compiler-plugin configuration from nifi-toolkit-api so that the configuration from the root pom's maven-compiler-plugin is inherited
Updated spock-core dependencyManagement to 1.3-groovy-2.5
Fixed AESSensitivePropertyProviderTest issue with Groovy creating KEY_256_HEX slice of the wrong size due to BigDecimal being used as the result of the division; using intdiv to force an integer result creates the correctly sized array
Added groovy-json test dependency to nifi-web-security
Removed maven-compiler-plugin configuration from nifi-lookup-services, nifi-mock-record-utils, and nifi-web-utils so that the configuration from the root pom's maven-compiler-plugin is inherited
Updated root pom pluginManagement to specify version 3.8.0 of maven-compiler-plugin
Added maven-compiler-plugin config to nifi-toolkit-admin and nifi-toolkit-encrypt-config to use groovy-eclipse-compiler during the compile phase so that the groovy-based tools are compiled
Addressed deprecated CliBuilder and OptionAccessor usage in nifi-toolkit-encrypt-config, those classes were moved from groovy.util to groovy.cli.commons
Removed getInner() usage from nifi-toolkit-encrypt-config, method no longer exists causing the tests to crash
Updated CryptographicHashAttributeTest to use java.time classes instead of java.util.Date
Updated nifi root POM's groovy-test dependency to be test-scoped
Added properties for specifying groovy versions for several modules: nifi, nifi-groovyx-bundle, nifi-scripting-bundle, nifi-toolkit
Established dependency management for groovy-all:pom:2.5.4, and added that dependency to several modules: nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-admin, nifi-toolkit-encrypt-config
Added groovy version property usage to several modules that established a dependency on a groovy submodule that was not listed in its own or inherited dependency management
Removed unused build-helper-maven-plugin from nifi-toolkit-api's POM
Removed unnecessary groovy-eclipse-compiler build plugin config from nifi-web-utils' POM to use the inherited config for that plugin
Updated several modules' NOTICEs to include appropriate Groovy NOTICE content
Updated to list groovy-all:pom:2.5.4 and its transitive submodule dependencies to nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, and nifi-toolkit-assembly NOTICEs
Added missing groovy-all:jar:2.1.6 NOTICE to nifi-hive-nar and nifi-hive_1_1-nar NOTICEs
Added missing groovy-all:jar:2.4.11 NOTICE to nifi-hive3-nar NOTICE
Updated to list groovy-all:jar:2.4.16 nifi-other-graph-services-nar NOTICE
Removed Groovy NOTICE content from nifi-record-serialization-services-nar NOTICE, no Groovy modules are included in the NAR
NIFI-5254 Updated several modules' NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with Groovy modules which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-hive-nar, nifi-hive3-nar, nifi-hive_1_1-nar, nifi-other-graph-services-nar, nifi-scripting-nar, nifi-toolkit-assembly
NIFI-5254 Updated NOTICEs and LICENSEs to include appropriate content from the LICENSEs and NOTICEs bundled with modules used by Groovy 2.5.4 which in turn are bundled with NiFi binary artifacts: nifi-assembly, nifi-groovyx-nar, nifi-scripting-nar, nifi-toolkit-assembly.
The following modules' LICENSE and NOTICE content were added: Apache Ant, Apache Commons CLI, JLine, JUnit Platform/Jupiter
This closes #3547
Signed-off-by: Mike Thomsen <mthomsen@apache.org>
2019-06-24 14:35:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
<artifactId>groovy-json</artifactId>
|
|
|
|
<version>${nifi.groovy.version}</version>
|
|
|
|
<scope>test</scope>
|
2021-10-04 16:59:07 -04:00
|
|
|
</dependency>
|
2018-03-03 17:32:42 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<profiles>
|
2021-10-07 06:17:28 -04:00
|
|
|
<profile>
|
|
|
|
<id>integration-tests</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<!-- use 3.0.0-M3 due to a classpath/class loader issue in -M5, expected to be fixed in M6+ -->
|
|
|
|
<version>3.0.0-M3</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.alexcojocaru</groupId>
|
|
|
|
<artifactId>elasticsearch-maven-plugin</artifactId>
|
|
|
|
<version>6.19</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2018-07-08 14:51:12 -04:00
|
|
|
<profile>
|
2021-10-04 16:59:07 -04:00
|
|
|
<!-- use with elasticsearch-oss only (-default can be used if x-pack-ml permissions fixed) -->
|
|
|
|
<id>elasticsearch-6</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
2018-07-08 14:51:12 -04:00
|
|
|
<properties>
|
2021-10-07 06:17:28 -04:00
|
|
|
<es.int.version>6.8.19</es.int.version>
|
2021-10-04 16:59:07 -04:00
|
|
|
<es.int.type.name>_doc</es.int.type.name>
|
|
|
|
<es.int.script.name>setup-6.script</es.int.script.name>
|
2021-11-03 11:53:32 -04:00
|
|
|
<es.int.path.conf />
|
2018-07-08 14:51:12 -04:00
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
2021-10-04 16:59:07 -04:00
|
|
|
<!-- use with elasticsearch-oss or elasticsearch-default -->
|
|
|
|
<id>elasticsearch-7</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
2018-07-08 14:51:12 -04:00
|
|
|
<properties>
|
2021-10-04 16:59:07 -04:00
|
|
|
<es.int.version>7.10.2</es.int.version>
|
|
|
|
<es.int.script.name>setup-7.script</es.int.script.name>
|
2021-11-03 11:53:32 -04:00
|
|
|
<es.int.type.name />
|
|
|
|
<es.int.path.conf />
|
2018-07-08 14:51:12 -04:00
|
|
|
</properties>
|
|
|
|
</profile>
|
2021-10-04 16:59:07 -04:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<!-- OSS Elasticsearch (no XPack features); required for ES 5.x or < 6.3-->
|
|
|
|
<id>elasticsearch-oss</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<type_name>${es.int.type.name}</type_name>
|
|
|
|
<es_version>${es.int.version}</es_version>
|
|
|
|
<es_flavour>oss</es_flavour>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.alexcojocaru</groupId>
|
|
|
|
<artifactId>elasticsearch-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<clusterName>${es.int.clusterName}</clusterName>
|
|
|
|
<transportPort>${es.int.transportPort}</transportPort>
|
|
|
|
<httpPort>${es.int.httpPort}</httpPort>
|
|
|
|
<version>${es.int.version}</version>
|
|
|
|
<timeout>${es.int.timeout}</timeout>
|
|
|
|
<logLevel>${es.int.logLevel}</logLevel>
|
|
|
|
<pathInitScript>${project.basedir}/src/test/resources/${es.int.script.name}</pathInitScript>
|
|
|
|
<keepExistingData>false</keepExistingData>
|
2021-10-07 06:17:28 -04:00
|
|
|
<pathConf>${es.int.path.conf}</pathConf>
|
2021-10-04 16:59:07 -04:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-elasticsearch</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>runforked</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-elasticsearch</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
|
2018-03-03 17:32:42 -05:00
|
|
|
<profile>
|
2021-10-04 16:59:07 -04:00
|
|
|
<!-- Elasticsearch (default) with XPack (only for ES 6.3+ although there are XPack permission problems in 6.x startup) -->
|
|
|
|
<id>elasticsearch-default</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
</activation>
|
2018-03-03 17:32:42 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2018-07-08 14:51:12 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
2021-10-04 16:59:07 -04:00
|
|
|
<type_name>${es.int.type.name}</type_name>
|
|
|
|
<es_version>${es.int.version}</es_version>
|
|
|
|
<es_flavour>default</es_flavour>
|
2018-07-08 14:51:12 -04:00
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-03-03 17:32:42 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.alexcojocaru</groupId>
|
|
|
|
<artifactId>elasticsearch-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2021-10-04 16:59:07 -04:00
|
|
|
<flavour>default</flavour>
|
|
|
|
<clusterName>${es.int.clusterName}</clusterName>
|
|
|
|
<transportPort>${es.int.transportPort}</transportPort>
|
|
|
|
<httpPort>${es.int.httpPort}</httpPort>
|
2018-07-08 14:51:12 -04:00
|
|
|
<version>${es.int.version}</version>
|
2021-10-04 16:59:07 -04:00
|
|
|
<timeout>${es.int.timeout}</timeout>
|
|
|
|
<logLevel>${es.int.logLevel}</logLevel>
|
|
|
|
<pathInitScript>${project.basedir}/src/test/resources/${es.int.script.name}</pathInitScript>
|
|
|
|
<keepExistingData>false</keepExistingData>
|
2018-03-03 17:32:42 -05:00
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-elasticsearch</id>
|
|
|
|
<phase>pre-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>runforked</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-elasticsearch</id>
|
|
|
|
<phase>post-integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
</project>
|