diff --git a/plugin/trino-accumulo/pom.xml b/plugin/trino-accumulo/pom.xml index 4c82483f46ca..ea49b64b3c2f 100644 --- a/plugin/trino-accumulo/pom.xml +++ b/plugin/trino-accumulo/pom.xml @@ -324,6 +324,7 @@ + org.apache.maven.plugins maven-dependency-plugin diff --git a/plugin/trino-bigquery/pom.xml b/plugin/trino-bigquery/pom.xml index b808a1063a77..680797856300 100644 --- a/plugin/trino-bigquery/pom.xml +++ b/plugin/trino-bigquery/pom.xml @@ -424,7 +424,6 @@ arrow-git.properties - about.html diff --git a/plugin/trino-delta-lake/pom.xml b/plugin/trino-delta-lake/pom.xml index d4caf3d5bdf3..014c15cea47c 100644 --- a/plugin/trino-delta-lake/pom.xml +++ b/plugin/trino-delta-lake/pom.xml @@ -442,18 +442,7 @@ - org.basepom.maven - duplicate-finder-maven-plugin - - - - mime.types - about.html - - - - - + org.apache.maven.plugins maven-dependency-plugin diff --git a/plugin/trino-exchange-filesystem/pom.xml b/plugin/trino-exchange-filesystem/pom.xml index 6458e91536e3..d2660a958e4a 100644 --- a/plugin/trino-exchange-filesystem/pom.xml +++ b/plugin/trino-exchange-filesystem/pom.xml @@ -14,7 +14,6 @@ ${project.parent.basedir} - 2.20.48 1.2.11 @@ -27,13 +26,6 @@ ${azurejavasdk.version} import - - software.amazon.awssdk - bom - pom - ${awsjavasdk.version} - import - diff --git a/plugin/trino-hive/pom.xml b/plugin/trino-hive/pom.xml index 6776023bf366..8608cf996efd 100644 --- a/plugin/trino-hive/pom.xml +++ b/plugin/trino-hive/pom.xml @@ -513,18 +513,6 @@ - - - org.basepom.maven - duplicate-finder-maven-plugin - - - - mime.types - about.html - - - diff --git a/plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveMetadata.java b/plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveMetadata.java index bacf9581e1b1..9bea8b2f9ef0 100644 --- a/plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveMetadata.java +++ b/plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveMetadata.java @@ -166,7 +166,6 @@ import static com.google.common.collect.Iterables.concat; import static com.google.common.collect.Iterables.getOnlyElement; import static io.trino.hdfs.ConfigurationUtils.toJobConf; -import static io.trino.memory.context.AggregatedMemoryContext.newSimpleAggregatedMemoryContext; import static io.trino.plugin.hive.HiveAnalyzeProperties.getColumnNames; import static io.trino.plugin.hive.HiveAnalyzeProperties.getPartitionList; import static io.trino.plugin.hive.HiveApplyProjectionUtil.extractSupportedProjectedColumns; @@ -1910,7 +1909,7 @@ private void createEmptyFiles(ConnectorSession session, Path path, Table table, TrinoOutputFile trinoOutputFile = fileSystem.newOutputFile(Location.of(path.toString()).appendPath(fileName)); try { // create empty file - trinoOutputFile.create(newSimpleAggregatedMemoryContext()).close(); + trinoOutputFile.create().close(); } catch (IOException e) { throw new TrinoException(HIVE_WRITER_CLOSE_ERROR, "Error write empty file to Hive", e); diff --git a/plugin/trino-hudi/pom.xml b/plugin/trino-hudi/pom.xml index 563fd31af5f9..ff5702704612 100644 --- a/plugin/trino-hudi/pom.xml +++ b/plugin/trino-hudi/pom.xml @@ -467,9 +467,6 @@ duplicate-finder-maven-plugin - - mime.types - about.html log4j.properties log4j-surefire.properties diff --git a/plugin/trino-iceberg/pom.xml b/plugin/trino-iceberg/pom.xml index cb8329e4fb71..5faacf88a849 100644 --- a/plugin/trino-iceberg/pom.xml +++ b/plugin/trino-iceberg/pom.xml @@ -529,13 +529,8 @@ duplicate-finder-maven-plugin - - mime.types - about.html iceberg-build.properties mozilla/public-suffix-list.txt - - google/protobuf/.*\.proto$ diff --git a/plugin/trino-phoenix5/pom.xml b/plugin/trino-phoenix5/pom.xml index d0997d1f633a..ddce7f284432 100644 --- a/plugin/trino-phoenix5/pom.xml +++ b/plugin/trino-phoenix5/pom.xml @@ -390,7 +390,6 @@ mrapp-generated-classpath - about.html assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties diff --git a/pom.xml b/pom.xml index 2c2173daaaae..53ed1c9677ac 100644 --- a/pom.xml +++ b/pom.xml @@ -54,6 +54,7 @@ 1.11.1 ${dep.airlift.version} 1.12.464 + 2.20.65 0.11.5 21.9.0.0 1.14 @@ -1907,6 +1908,14 @@ snakeyaml 2.0 + + + software.amazon.awssdk + bom + pom + ${dep.aws-sdk-v2.version} + import + @@ -2104,6 +2113,21 @@ dependencies.properties + + + + com.amazonaws + aws-java-sdk-s3 + + + software.amazon.awssdk + sdk-core + + + + mime.types + + diff --git a/testing/trino-benchto-benchmarks/pom.xml b/testing/trino-benchto-benchmarks/pom.xml index 783a63c7cd0a..b5fc7a3bb63d 100644 --- a/testing/trino-benchto-benchmarks/pom.xml +++ b/testing/trino-benchto-benchmarks/pom.xml @@ -56,6 +56,7 @@ + org.apache.maven.plugins maven-assembly-plugin diff --git a/testing/trino-faulttolerant-tests/pom.xml b/testing/trino-faulttolerant-tests/pom.xml index 344f8685d770..1cbeae6a2fa3 100644 --- a/testing/trino-faulttolerant-tests/pom.xml +++ b/testing/trino-faulttolerant-tests/pom.xml @@ -460,13 +460,8 @@ duplicate-finder-maven-plugin - - mime.types - about.html iceberg-build.properties mozilla/public-suffix-list.txt - - google/protobuf/.*\.proto$ diff --git a/testing/trino-tests/pom.xml b/testing/trino-tests/pom.xml index 5b02d47d7eea..7f3365571637 100644 --- a/testing/trino-tests/pom.xml +++ b/testing/trino-tests/pom.xml @@ -405,13 +405,8 @@ duplicate-finder-maven-plugin - - mime.types - about.html iceberg-build.properties mozilla/public-suffix-list.txt - - google/protobuf/.*\.proto$