diff --git a/lib/trino-memory-context/pom.xml b/lib/trino-memory-context/pom.xml index c28ae5a21443..d3a5b9ba263c 100644 --- a/lib/trino-memory-context/pom.xml +++ b/lib/trino-memory-context/pom.xml @@ -18,11 +18,6 @@ - - io.airlift - units - - com.google.code.findbugs jsr305 @@ -41,6 +36,12 @@ test + + io.airlift + units + test + + org.assertj assertj-core diff --git a/lib/trino-record-decoder/pom.xml b/lib/trino-record-decoder/pom.xml index 635cb37211c8..b684bd55a742 100644 --- a/lib/trino-record-decoder/pom.xml +++ b/lib/trino-record-decoder/pom.xml @@ -23,21 +23,11 @@ trino-spi - - io.airlift - json - - io.airlift slice - - com.fasterxml.jackson.core - jackson-annotations - - com.fasterxml.jackson.core jackson-databind @@ -79,6 +69,13 @@ avro + + + com.fasterxml.jackson.core + jackson-annotations + runtime + + org.xerial.snappy snappy-java @@ -92,6 +89,12 @@ test + + io.airlift + json + test + + io.airlift testing diff --git a/plugin/trino-base-jdbc/pom.xml b/plugin/trino-base-jdbc/pom.xml index 0198aff02312..335e8f54eeac 100644 --- a/plugin/trino-base-jdbc/pom.xml +++ b/plugin/trino-base-jdbc/pom.xml @@ -58,11 +58,6 @@ log - - io.airlift - log-manager - - io.airlift slice @@ -142,7 +137,12 @@ runtime - + + io.airlift + log-manager + runtime + + com.fasterxml.jackson.core jackson-databind diff --git a/plugin/trino-bigquery/pom.xml b/plugin/trino-bigquery/pom.xml index 90536086efbe..9425189bf8d1 100644 --- a/plugin/trino-bigquery/pom.xml +++ b/plugin/trino-bigquery/pom.xml @@ -220,6 +220,13 @@ avro + + + io.airlift + log-manager + runtime + + io.trino diff --git a/plugin/trino-cassandra/pom.xml b/plugin/trino-cassandra/pom.xml index 6612ca0eada8..5042119275b6 100644 --- a/plugin/trino-cassandra/pom.xml +++ b/plugin/trino-cassandra/pom.xml @@ -32,11 +32,6 @@ bootstrap - - io.airlift - concurrent - - io.airlift configuration @@ -52,12 +47,6 @@ log - - - io.airlift - log-manager - - io.airlift security @@ -114,6 +103,19 @@ jmxutils + + + io.airlift + concurrent + runtime + + + + io.airlift + log-manager + runtime + + io.trino diff --git a/plugin/trino-clickhouse/pom.xml b/plugin/trino-clickhouse/pom.xml index 80f2e80a426d..700ff3e07c2d 100644 --- a/plugin/trino-clickhouse/pom.xml +++ b/plugin/trino-clickhouse/pom.xml @@ -33,11 +33,6 @@ configuration - - io.airlift - log - - com.clickhouse clickhouse-jdbc @@ -69,6 +64,19 @@ javax.inject + + + io.airlift + log + runtime + + + + io.airlift + log-manager + runtime + + io.trino diff --git a/plugin/trino-druid/pom.xml b/plugin/trino-druid/pom.xml index 65b2cbb49e57..31c13a20383e 100644 --- a/plugin/trino-druid/pom.xml +++ b/plugin/trino-druid/pom.xml @@ -23,21 +23,6 @@ trino-base-jdbc - - io.airlift - log - - - - io.airlift - units - - - - com.fasterxml.jackson.core - jackson-databind - - com.google.guava guava @@ -48,11 +33,6 @@ guice - - com.squareup.okhttp3 - okhttp - - javax.inject javax.inject @@ -72,6 +52,31 @@ + + + io.airlift + log + runtime + + + + io.airlift + log-manager + runtime + + + + io.airlift + units + runtime + + + + com.fasterxml.jackson.core + jackson-databind + runtime + + io.trino @@ -142,6 +147,12 @@ test + + com.squareup.okhttp3 + okhttp + test + + javax.ws.rs javax.ws.rs-api diff --git a/plugin/trino-example-http/pom.xml b/plugin/trino-example-http/pom.xml index bd6650a24d9a..9b906e0d265b 100644 --- a/plugin/trino-example-http/pom.xml +++ b/plugin/trino-example-http/pom.xml @@ -37,11 +37,6 @@ json - - com.fasterxml.jackson.core - jackson-databind - - com.google.guava guava @@ -62,6 +57,13 @@ validation-api + + + com.fasterxml.jackson.core + jackson-databind + runtime + + io.trino diff --git a/plugin/trino-geospatial/pom.xml b/plugin/trino-geospatial/pom.xml index ab0a5158f710..256f455fc4a1 100644 --- a/plugin/trino-geospatial/pom.xml +++ b/plugin/trino-geospatial/pom.xml @@ -33,23 +33,26 @@ - com.fasterxml.jackson.core - jackson-databind + com.google.guava + guava - com.google.guava - guava + org.locationtech.jts + jts-core + - it.unimi.dsi - fastutil + com.fasterxml.jackson.core + jackson-databind + runtime - org.locationtech.jts - jts-core + it.unimi.dsi + fastutil + runtime diff --git a/plugin/trino-hive-hadoop2/pom.xml b/plugin/trino-hive-hadoop2/pom.xml index b2e0a41f92fd..9ea3a50c0365 100644 --- a/plugin/trino-hive-hadoop2/pom.xml +++ b/plugin/trino-hive-hadoop2/pom.xml @@ -33,11 +33,6 @@ guava - - com.qubole.rubix - rubix-presto-shaded - - io.trino.hadoop @@ -45,6 +40,12 @@ runtime + + com.qubole.rubix + rubix-presto-shaded + runtime + + org.alluxio alluxio-shaded-client diff --git a/plugin/trino-http-event-listener/pom.xml b/plugin/trino-http-event-listener/pom.xml index 570d9ef063da..909a6588eb8b 100644 --- a/plugin/trino-http-event-listener/pom.xml +++ b/plugin/trino-http-event-listener/pom.xml @@ -58,16 +58,6 @@ units - - com.fasterxml.jackson.core - jackson-core - - - - com.fasterxml.jackson.core - jackson-databind - - com.google.guava guava @@ -79,24 +69,25 @@ - com.squareup.okhttp3 - okhttp + javax.inject + javax.inject - com.squareup.okio - okio - 1.17.2 + javax.validation + validation-api - javax.inject - javax.inject + com.fasterxml.jackson.core + jackson-core + runtime - javax.validation - validation-api + com.fasterxml.jackson.core + jackson-databind + runtime @@ -137,6 +128,19 @@ test + + com.squareup.okhttp3 + okhttp + test + + + + com.squareup.okio + okio + 1.17.2 + test + + org.testng testng diff --git a/plugin/trino-iceberg/pom.xml b/plugin/trino-iceberg/pom.xml index f7f6080ce64c..2736b403892a 100644 --- a/plugin/trino-iceberg/pom.xml +++ b/plugin/trino-iceberg/pom.xml @@ -79,11 +79,6 @@ log - - io.airlift - stats - - io.airlift units @@ -99,11 +94,6 @@ aws-java-sdk-glue - - com.amazonaws - aws-java-sdk-s3 - - com.fasterxml.jackson.core jackson-core @@ -199,6 +189,18 @@ runtime + + io.airlift + stats + runtime + + + + com.amazonaws + aws-java-sdk-s3 + runtime + + io.trino diff --git a/plugin/trino-jmx/pom.xml b/plugin/trino-jmx/pom.xml index 40be796f2d83..393830582e0d 100644 --- a/plugin/trino-jmx/pom.xml +++ b/plugin/trino-jmx/pom.xml @@ -37,11 +37,6 @@ configuration - - io.airlift - json - - io.airlift log @@ -52,11 +47,6 @@ units - - com.fasterxml.jackson.core - jackson-databind - - com.google.guava guava @@ -82,6 +72,19 @@ validation-api + + + io.airlift + json + runtime + + + + com.fasterxml.jackson.core + jackson-databind + runtime + + io.trino diff --git a/plugin/trino-kafka/pom.xml b/plugin/trino-kafka/pom.xml index c4aaf8317a95..bcf17f6b25b7 100644 --- a/plugin/trino-kafka/pom.xml +++ b/plugin/trino-kafka/pom.xml @@ -78,12 +78,6 @@ jackson-databind - - com.google.code.findbugs - jsr305 - true - - com.google.guava guava diff --git a/plugin/trino-kafka/src/test/java/io/trino/plugin/kafka/TestKafkaConnectorTest.java b/plugin/trino-kafka/src/test/java/io/trino/plugin/kafka/TestKafkaConnectorTest.java index 38e2bf5050b4..e5e9d49a1032 100644 --- a/plugin/trino-kafka/src/test/java/io/trino/plugin/kafka/TestKafkaConnectorTest.java +++ b/plugin/trino-kafka/src/test/java/io/trino/plugin/kafka/TestKafkaConnectorTest.java @@ -30,8 +30,6 @@ import org.testng.annotations.DataProvider; import org.testng.annotations.Test; -import javax.annotation.Nullable; - import java.nio.ByteBuffer; import java.util.List; import java.util.Map; @@ -247,7 +245,7 @@ private void createMessagesWithHeader(String topicName) getProducerProperties()); } - private static ProducerRecord setHeader(ProducerRecord record, String key, @Nullable String value) + private static ProducerRecord setHeader(ProducerRecord record, String key, String value) { record.headers() .add(key, value != null ? value.getBytes(UTF_8) : null); diff --git a/plugin/trino-kudu/pom.xml b/plugin/trino-kudu/pom.xml index 39082e90421a..01accd2a50a7 100644 --- a/plugin/trino-kudu/pom.xml +++ b/plugin/trino-kudu/pom.xml @@ -43,12 +43,6 @@ log - - io.airlift - log-manager - compile - - io.airlift units @@ -101,6 +95,13 @@ + + + io.airlift + log-manager + runtime + + io.trino @@ -201,7 +202,6 @@ test - org.testng testng diff --git a/plugin/trino-local-file/pom.xml b/plugin/trino-local-file/pom.xml index c5a927520549..087c6ea19c84 100644 --- a/plugin/trino-local-file/pom.xml +++ b/plugin/trino-local-file/pom.xml @@ -33,16 +33,6 @@ configuration - - io.airlift - json - - - - com.fasterxml.jackson.core - jackson-databind - - com.google.guava guava @@ -58,6 +48,19 @@ javax.inject + + + io.airlift + json + runtime + + + + com.fasterxml.jackson.core + jackson-databind + runtime + + io.trino diff --git a/plugin/trino-mysql/pom.xml b/plugin/trino-mysql/pom.xml index 5319e96878df..271e8e399306 100644 --- a/plugin/trino-mysql/pom.xml +++ b/plugin/trino-mysql/pom.xml @@ -78,6 +78,13 @@ jdbi3-core + + + io.airlift + log-manager + runtime + + io.trino diff --git a/plugin/trino-oracle/pom.xml b/plugin/trino-oracle/pom.xml index b1e2d072bf12..558551acd3c3 100644 --- a/plugin/trino-oracle/pom.xml +++ b/plugin/trino-oracle/pom.xml @@ -33,11 +33,6 @@ configuration - - io.airlift - log - - io.airlift units @@ -75,9 +70,11 @@ validation-api + - net.jodah - failsafe + io.airlift + log + runtime @@ -93,6 +90,12 @@ runtime + + net.jodah + failsafe + runtime + + io.trino diff --git a/plugin/trino-phoenix/pom.xml b/plugin/trino-phoenix/pom.xml index d83954116771..a897667f9c50 100644 --- a/plugin/trino-phoenix/pom.xml +++ b/plugin/trino-phoenix/pom.xml @@ -49,11 +49,6 @@ log - - com.fasterxml.jackson.core - jackson-databind - - com.google.code.findbugs jsr305 @@ -117,6 +112,12 @@ + + com.fasterxml.jackson.core + jackson-databind + runtime + + io.trino diff --git a/plugin/trino-phoenix5/pom.xml b/plugin/trino-phoenix5/pom.xml index 92d4dd8a5d3e..6bd0a34d4c73 100644 --- a/plugin/trino-phoenix5/pom.xml +++ b/plugin/trino-phoenix5/pom.xml @@ -49,11 +49,6 @@ log - - com.fasterxml.jackson.core - jackson-databind - - com.google.code.findbugs jsr305 @@ -116,6 +111,12 @@ + + com.fasterxml.jackson.core + jackson-databind + runtime + + io.trino diff --git a/plugin/trino-pinot/pom.xml b/plugin/trino-pinot/pom.xml index 1afaad2db6ea..b8793bfbead6 100755 --- a/plugin/trino-pinot/pom.xml +++ b/plugin/trino-pinot/pom.xml @@ -34,6 +34,11 @@ jersey-common 2.30 + + org.osgi + org.osgi.core + 6.0.0 + @@ -83,11 +88,6 @@ log - - io.airlift - testing - - io.airlift units @@ -146,12 +146,6 @@ validation-api - - - org.apache.avro - avro - - org.apache.helix helix-core @@ -229,6 +223,10 @@ org.apache.kafka kafka_2.10 + + org.osgi + org.osgi.core + commons-beanutils commons-beanutils-core @@ -415,12 +413,25 @@ jmxutils + + + io.airlift + log-manager + runtime + + org.antlr antlr4-runtime runtime + + org.apache.avro + avro + runtime + + org.apache.commons commons-lang3 @@ -492,6 +503,12 @@ + + io.airlift + testing + test + + io.confluent kafka-avro-serializer diff --git a/plugin/trino-postgresql/pom.xml b/plugin/trino-postgresql/pom.xml index 898820ada520..246a3dfaae70 100644 --- a/plugin/trino-postgresql/pom.xml +++ b/plugin/trino-postgresql/pom.xml @@ -28,11 +28,6 @@ trino-plugin-toolkit - - io.airlift - concurrent - - io.airlift configuration @@ -43,11 +38,6 @@ log - - io.airlift - units - - com.google.guava guava @@ -84,6 +74,12 @@ + + io.airlift + concurrent + runtime + + io.airlift json @@ -96,6 +92,12 @@ runtime + + io.airlift + units + runtime + + io.trino diff --git a/plugin/trino-raptor-legacy/pom.xml b/plugin/trino-raptor-legacy/pom.xml index 24cb9458529b..3dd82babe4a3 100644 --- a/plugin/trino-raptor-legacy/pom.xml +++ b/plugin/trino-raptor-legacy/pom.xml @@ -88,11 +88,6 @@ log - - io.airlift - node - - io.airlift stats @@ -183,6 +178,12 @@ runtime + + io.airlift + node + runtime + + io.trino diff --git a/plugin/trino-redis/pom.xml b/plugin/trino-redis/pom.xml index e3738f690145..5a5b0667d1dd 100644 --- a/plugin/trino-redis/pom.xml +++ b/plugin/trino-redis/pom.xml @@ -53,16 +53,6 @@ units - - com.fasterxml.jackson.core - jackson-core - - - - com.fasterxml.jackson.core - jackson-databind - - com.google.code.findbugs jsr305 @@ -112,6 +102,18 @@ runtime + + com.fasterxml.jackson.core + jackson-core + runtime + + + + com.fasterxml.jackson.core + jackson-databind + runtime + + io.trino diff --git a/plugin/trino-redshift/pom.xml b/plugin/trino-redshift/pom.xml index 3daf4a0914e2..081143b50606 100644 --- a/plugin/trino-redshift/pom.xml +++ b/plugin/trino-redshift/pom.xml @@ -29,11 +29,6 @@ 2.0.0.5 - - com.google.guava - guava - - com.google.inject guice @@ -44,6 +39,13 @@ javax.inject + + + com.google.guava + guava + runtime + + io.trino diff --git a/plugin/trino-singlestore/pom.xml b/plugin/trino-singlestore/pom.xml index a6bbe370421c..3030ab2ea6d3 100644 --- a/plugin/trino-singlestore/pom.xml +++ b/plugin/trino-singlestore/pom.xml @@ -69,6 +69,13 @@ validation-api + + + io.airlift + log-manager + runtime + + io.trino diff --git a/plugin/trino-sqlserver/pom.xml b/plugin/trino-sqlserver/pom.xml index 7b3688efef95..74a29e6a6f9e 100644 --- a/plugin/trino-sqlserver/pom.xml +++ b/plugin/trino-sqlserver/pom.xml @@ -48,11 +48,6 @@ log - - io.airlift - units - - com.google.guava guava @@ -83,6 +78,20 @@ jdbi3-core + + + io.airlift + log-manager + runtime + + + + io.airlift + units + runtime + + + io.trino trino-spi diff --git a/plugin/trino-thrift-testing-server/pom.xml b/plugin/trino-thrift-testing-server/pom.xml index 2676adb72b73..22199e2a89be 100644 --- a/plugin/trino-thrift-testing-server/pom.xml +++ b/plugin/trino-thrift-testing-server/pom.xml @@ -32,6 +32,16 @@ io.trino trino-testing + + + org.assertj + assertj-core + + + org.testng + testng + + @@ -114,12 +124,13 @@ org.assertj assertj-core + test - org.testng testng + test diff --git a/plugin/trino-thrift/pom.xml b/plugin/trino-thrift/pom.xml index 5cbee4f99438..6e25a8733a5a 100644 --- a/plugin/trino-thrift/pom.xml +++ b/plugin/trino-thrift/pom.xml @@ -48,11 +48,6 @@ configuration - - io.airlift - log - - io.airlift stats @@ -73,11 +68,6 @@ drift-client - - io.airlift.drift - drift-codec - - io.airlift.drift drift-protocol @@ -120,12 +110,24 @@ + + io.airlift + log + runtime + + io.airlift log-manager runtime + + io.airlift.drift + drift-codec + runtime + + io.trino diff --git a/pom.xml b/pom.xml index 876f5b5d3199..7fad5c50fb0e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ io.airlift airbase - 122 + 123 io.trino diff --git a/testing/trino-benchmark/pom.xml b/testing/trino-benchmark/pom.xml index a1832d1c8e45..648fbd896f03 100644 --- a/testing/trino-benchmark/pom.xml +++ b/testing/trino-benchmark/pom.xml @@ -22,11 +22,6 @@ trino-main - - io.trino - trino-memory - - io.trino trino-parser @@ -108,6 +103,12 @@ + + io.trino + trino-memory + test + + io.trino trino-testing-services diff --git a/testing/trino-tests/pom.xml b/testing/trino-tests/pom.xml index 5e8f79bc1f21..a7740fa571f8 100644 --- a/testing/trino-tests/pom.xml +++ b/testing/trino-tests/pom.xml @@ -17,160 +17,82 @@ - - io.trino - trino-client - - - - io.trino - trino-exchange - - - - io.trino - trino-main - - - - io.trino - trino-main - test-jar - - - - io.trino - trino-plugin-toolkit - - - - io.trino - trino-spi - - - - io.trino - trino-testing - - - - io.trino - trino-testing-services - - - - org.openjdk.jmh - jmh-core - - - - - - io.trino - trino-tpch - - - - io.trino.tpch - tpch - - + io.airlift - bootstrap + concurrent + runtime io.airlift - concurrent + configuration + runtime io.airlift - configuration + http-client + runtime io.airlift json + runtime io.airlift log + runtime io.airlift - node + log-manager + runtime io.airlift - testing + node + runtime io.airlift units + runtime com.google.code.findbugs jsr305 + runtime com.google.guava guava + runtime com.google.inject guice - - - - com.squareup.okhttp3 - okhttp - - - - javax.inject - javax.inject - - - - joda-time - joda-time - - - - org.assertj - assertj-core - - - - org.testng - testng - - - - - io.airlift - http-client runtime - io.airlift - log-manager + com.h2database + h2 runtime - com.h2database - h2 + javax.inject + javax.inject runtime @@ -192,7 +114,6 @@ provided - io.trino trino-base-jdbc @@ -212,6 +133,31 @@ test + + io.trino + trino-client + test + + + + io.trino + trino-exchange + test + + + + io.trino + trino-main + test + + + + io.trino + trino-main + test-jar + test + + io.trino trino-memory @@ -225,6 +171,12 @@ test + + io.trino + trino-plugin-toolkit + test + + io.trino trino-resource-group-managers @@ -238,12 +190,72 @@ test + + io.trino + trino-spi + test + + + + io.trino + trino-testing + test + + + + io.trino + trino-testing-services + test + + io.trino trino-tpcds test + + io.trino + trino-tpch + test + + + + io.trino.tpch + tpch + test + + + + io.airlift + bootstrap + test + + + + io.airlift + testing + test + + + + com.squareup.okhttp3 + okhttp + test + + + + joda-time + joda-time + test + + + + org.assertj + assertj-core + test + + org.openjdk.jmh @@ -256,5 +268,11 @@ jmh-generator-annprocess test + + + org.testng + testng + test +