mirror of https://github.com/apache/nifi.git
134 lines
6.6 KiB
XML
134 lines
6.6 KiB
XML
<?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. -->
|
|
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<artifactId>nifi-standard-shared-bom</artifactId>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>nifi-elasticsearch-bundle</artifactId>
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
|
<module>nifi-elasticsearch-test-utils</module>
|
|
<module>nifi-elasticsearch-client-service-api</module>
|
|
<module>nifi-elasticsearch-client-service-api-nar</module>
|
|
<module>nifi-elasticsearch-client-service</module>
|
|
<module>nifi-elasticsearch-client-service-nar</module>
|
|
<module>nifi-elasticsearch-restapi-nar</module>
|
|
<module>nifi-elasticsearch-restapi-processors</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<!-- pinned 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.
|
|
|
|
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
|
|
of the main Elasticsearch product and elasticsearch-rest-high-level-client to Elastic 2.0/SSPL 1.0 in v7.11.0+ -->
|
|
<elasticsearch.client.version>7.13.4</elasticsearch.client.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-elasticsearch-processors</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.nifi</groupId>
|
|
<artifactId>nifi-elasticsearch-restapi-processors</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
<artifactId>elasticsearch-rest-client</artifactId>
|
|
<version>${elasticsearch.client.version}</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.vividsolutions</groupId>
|
|
<artifactId>jts</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.elasticsearch.client</groupId>
|
|
<artifactId>elasticsearch-rest-client-sniffer</artifactId>
|
|
<version>${elasticsearch.client.version}</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<profiles>
|
|
<!-- currently used by nifi-elasticsearch-client-service and nifi-elasticsearch-restapi-processors -->
|
|
<profile>
|
|
<id>integration-tests</id>
|
|
<activation>
|
|
<activeByDefault>false</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<!-- also update the default Elasticsearch version in nifi-elasticsearch-test-utils#src/main/java/org/apache/nifi/elasticsearch/integration/AbstractElasticsearchITBase.java-->
|
|
<elasticsearch_docker_image>8.10.3</elasticsearch_docker_image>
|
|
<elasticsearch.elastic.password>s3cret</elasticsearch.elastic.password>
|
|
</properties>
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<configuration>
|
|
<systemPropertyVariables>
|
|
<elasticsearch.endpoint>http://localhost:9200</elasticsearch.endpoint>
|
|
<elasticsearch.testcontainers.enabled>true</elasticsearch.testcontainers.enabled>
|
|
<elasticsearch.docker.image>docker.elastic.co/elasticsearch/elasticsearch:${elasticsearch_docker_image}</elasticsearch.docker.image>
|
|
<elasticsearch.elastic_user.password>${elasticsearch.elastic.password}</elasticsearch.elastic_user.password>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>elasticsearch6</id>
|
|
<properties>
|
|
<elasticsearch_docker_image>6.8.23</elasticsearch_docker_image>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>elasticsearch7</id>
|
|
<properties>
|
|
<elasticsearch_docker_image>7.17.14</elasticsearch_docker_image>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|