trino-elasticsearch
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.trino</groupId> <artifactId>trino-elasticsearch</artifactId> <version>431</version> </dependency>
<?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> <parent> <groupId>io.trino</groupId> <artifactId>trino-root</artifactId> <version>431</version> <relativePath>../../pom.xml</relativePath> </parent> <artifactId>trino-elasticsearch</artifactId> <packaging>trino-plugin</packaging> <description>Trino - Elasticsearch Connector</description> <properties> <air.main.basedir>${project.parent.basedir}</air.main.basedir> <dep.elasticsearch.version>6.8.23</dep.elasticsearch.version> <air.test.parallel>instances</air.test.parallel> </properties> <dependencies> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-core</artifactId> <exclusions> <!-- org.elasticsearch:elasticsearch:6.8.23 brings in version 4.5.13 (vs 4.5.2) --> <exclusion> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-sts</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> </dependency> <dependency> <groupId>dev.failsafe</groupId> <artifactId>failsafe</artifactId> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>bootstrap</artifactId> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>concurrent</artifactId> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>configuration</artifactId> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>json</artifactId> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>log</artifactId> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>stats</artifactId> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>units</artifactId> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-plugin-toolkit</artifactId> </dependency> <dependency> <groupId>jakarta.annotation</groupId> <artifactId>jakarta.annotation-api</artifactId> </dependency> <dependency> <groupId>jakarta.validation</groupId> <artifactId>jakarta.validation-api</artifactId> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpasyncclient</artifactId> <version>4.1.2</version> <exclusions> <!-- Brings in duplicate classes already in org.slf4j:jcl-over-slf4j (from io.airlift:log-manager) --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.14</version> <exclusions> <!-- Brings in duplicate classes already in org.slf4j:jcl-over-slf4j (from io.airlift:log-manager) --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.4.16</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore-nio</artifactId> <version>4.4.16</version> </dependency> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>${dep.elasticsearch.version}</version> <exclusions> <exclusion> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> </exclusion> <!-- trino-main brings in 8.4.1 (vs 7.7.3) --> <exclusion> <groupId>org.apache.lucene</groupId> <artifactId>lucene-analyzers-common</artifactId> </exclusion> <!-- Brings in duplicate classes already in net.java.dev.jna:jna --> <exclusion> <groupId>org.elasticsearch</groupId> <artifactId>jna</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch-core</artifactId> <version>${dep.elasticsearch.version}</version> </dependency> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch-x-content</artifactId> <version>${dep.elasticsearch.version}</version> <exclusions> <exclusion> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-client</artifactId> <version>${dep.elasticsearch.version}</version> <exclusions> <!-- Brings in duplicate classes already in org.slf4j:jcl-over-slf4j (from io.airlift:log-manager) --> <exclusion> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <version>${dep.elasticsearch.version}</version> <exclusions> <exclusion> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.weakref</groupId> <artifactId>jmxutils</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>slice</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-api</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>io.opentelemetry</groupId> <artifactId>opentelemetry-context</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-spi</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.openjdk.jol</groupId> <artifactId>jol-core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>log-manager</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>node</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>http-server</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>junit-extensions</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.airlift</groupId> <artifactId>testing</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-client</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-jmx</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-main</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-main</artifactId> <type>test-jar</type> <scope>test</scope> <exclusions> <exclusion> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-testing</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-testing-services</artifactId> <scope>test</scope> <exclusions> <exclusion> <!-- conflicts with elasticsearch client dependency --> <groupId>org.openjdk.jmh</groupId> <artifactId>jmh-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>io.trino</groupId> <artifactId>trino-tpch</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.trino.tpch</groupId> <artifactId>tpch</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty.toolchain</groupId> <artifactId>jetty-jakarta-servlet-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>elasticsearch</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>nginx</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <configuration> <rules> <requireUpperBoundDeps> <excludes combine.children="append"> <!-- trino-main depends on 8.4.1 while org.elasticsearch:elasticsearch:6.8.23 depends on 7.7.3 --> <exclude>org.apache.lucene:lucene-core</exclude> </excludes> </requireUpperBoundDeps> </rules> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <configuration> <ignoredNonTestScopedDependencies> <!-- TODO: https://issues.apache.org/jira/browse/MDEP-791 --> <!-- elasticsearch-x-content is required in compile scope by org.elasticsearch:elasticsearch --> <ignoredNonTestScopedDependency>org.elasticsearch:elasticsearch-x-content</ignoredNonTestScopedDependency> </ignoredNonTestScopedDependencies> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <dependencies> <!-- allow both JUnit and TestNG --> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit-platform</artifactId> <version>${dep.plugin.surefire.version}</version> </dependency> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-testng</artifactId> <version>${dep.plugin.surefire.version}</version> </dependency> </dependencies> </plugin> </plugins> </build> </project>