Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 33 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,22 @@
<module>presto-sql-helpers/presto-native-sql-invoked-functions-plugin</module>
</modules>

<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>

<dependencyManagement>
<dependencies>

Expand Down Expand Up @@ -1087,9 +1103,23 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<version>3.0.0-10</version>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
<version>iceberg-java17-2</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions presto-delta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions presto-hive-function-namespace/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
</dependency>

<dependency>
Expand Down
19 changes: 17 additions & 2 deletions presto-hive-metastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,22 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-nop</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down Expand Up @@ -304,6 +318,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${dep.slf4j.version}</version>
<scope>test</scope>
</dependency>

Expand Down
4 changes: 2 additions & 2 deletions presto-hive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions presto-hudi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
</dependency>

<dependency>
Expand Down
4 changes: 2 additions & 2 deletions presto-iceberg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.parquet</groupId>
Expand Down
4 changes: 2 additions & 2 deletions presto-native-execution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
<scope>test</scope>
</dependency>

Expand Down
4 changes: 4 additions & 0 deletions presto-native-sidecar-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,13 @@
Changing its scope causes Maven to flag it as unused, leading to build failures.
We add it here to keep it in compile scope while only using it directly in tests.-->
<ignoredUnusedDeclaredDependency>org.jetbrains:annotations</ignoredUnusedDeclaredDependency>
<!-- The JitPack fork replaces the original hive-apache artifact, causing dependency analyzer confusion -->
<ignoredUnusedDeclaredDependency>com.github.Joe-Abraham:presto-hive-apache</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
<ignoredUsedUndeclaredDependencies>
<ignoredUsedUndeclaredDependency>com.facebook.airlift.drift:drift-codec:jar</ignoredUsedUndeclaredDependency>
<!-- The original hive-apache comes as a transitive dependency but is replaced by the JitPack fork -->
<ignoredUsedUndeclaredDependency>com.facebook.presto.hive:hive-apache:jar</ignoredUsedUndeclaredDependency>
</ignoredUsedUndeclaredDependencies>
<ignoredNonTestScopedDependencies>
<ignoredNonTestScopedDependency>com.facebook.airlift:log-manager</ignoredNonTestScopedDependency>
Expand Down
4 changes: 2 additions & 2 deletions presto-orc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@

<!-- for testing -->
<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
<scope>test</scope>
</dependency>

Expand Down
10 changes: 8 additions & 2 deletions presto-parquet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,14 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
18 changes: 16 additions & 2 deletions presto-product-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
</dependency>
</dependencies>

Expand Down Expand Up @@ -253,6 +253,20 @@
<target>${project.build.targetJdk}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredUnusedDeclaredDependencies>
<!-- The JitPack fork replaces the original hive-apache artifact, causing dependency analyzer confusion -->
<ignoredUnusedDeclaredDependency>com.github.Joe-Abraham:presto-hive-apache</ignoredUnusedDeclaredDependency>
</ignoredUnusedDeclaredDependencies>
<ignoredUsedUndeclaredDependencies>
<!-- The original hive-apache comes as a transitive dependency but is replaced by the JitPack fork -->
<ignoredUsedUndeclaredDependency>com.facebook.presto.hive:hive-apache:jar</ignoredUsedUndeclaredDependency>
</ignoredUsedUndeclaredDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions presto-rcfile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
</dependency>

<dependency>
<groupId>com.facebook.presto.hive</groupId>
<artifactId>hive-apache</artifactId>
<groupId>com.github.Joe-Abraham</groupId>
<artifactId>presto-hive-apache</artifactId>
<scope>test</scope>
</dependency>

Expand Down
Loading