Skip to content

Commit

Permalink
WIP upgrade tempto deps
Browse files Browse the repository at this point in the history
  • Loading branch information
aaneja committed Oct 24, 2024
1 parent 3cd3e81 commit 642c536
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 9 deletions.
26 changes: 21 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
<!-- Changing joda version changes tzdata which must match deployed JVM tzdata
Do not change this without also making sure it matches -->
<dep.joda.version>2.12.7</dep.joda.version>
<dep.tempto.version>1.53</dep.tempto.version>
<dep.tempto.version>jdk8_snapshot</dep.tempto.version>
<dep.testng.version>7.5</dep.testng.version>
<dep.assertj-core.version>3.8.0</dep.assertj-core.version>
<dep.logback.version>1.2.13</dep.logback.version>
Expand Down Expand Up @@ -1997,7 +1997,7 @@
</dependency>

<dependency>
<groupId>io.prestodb.tempto</groupId>
<groupId>com.github.aaneja.tempto</groupId>
<artifactId>tempto-core</artifactId>
<version>${dep.tempto.version}</version>
<exclusions>
Expand All @@ -2009,23 +2009,31 @@
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</exclusion>
<exclusion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>io.prestodb.tempto</groupId>
<groupId>com.github.aaneja.tempto</groupId>
<artifactId>tempto-ldap</artifactId>
<version>${dep.tempto.version}</version>
<exclusions>
<exclusion>
<groupId>com.datastax.cassandra</groupId>
<artifactId>cassandra-driver-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>io.prestodb.tempto</groupId>
<groupId>com.github.aaneja.tempto</groupId>
<artifactId>tempto-kafka</artifactId>
<version>${dep.tempto.version}</version>
<exclusions>
Expand All @@ -2037,18 +2045,26 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>io.prestodb.tempto</groupId>
<groupId>com.github.aaneja.tempto</groupId>
<artifactId>tempto-runner</artifactId>
<version>${dep.tempto.version}</version>
<exclusions>
<exclusion>
<groupId>com.datastax.cassandra</groupId>
<artifactId>cassandra-driver-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
</exclusion>
</exclusions>
</dependency>

Expand Down
44 changes: 40 additions & 4 deletions presto-product-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,34 @@
<scala.version>2.12.2</scala.version>
</properties>

<profiles>
<profile>
<id>java17</id>
<activation>
<jdk>17</jdk>
</activation>
<properties>
<air.test.jvm.additional-arguments>
--add-opens java.base/java.io=ALL-UNNAMED
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.lang.ref=ALL-UNNAMED
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.nio=ALL-UNNAMED
--add-opens java.base/java.security=ALL-UNNAMED
--add-opens java.base/javax.security.auth=ALL-UNNAMED
--add-opens java.base/javax.security.auth.login=ALL-UNNAMED
--add-opens java.base/java.text=ALL-UNNAMED
--add-opens java.base/java.util=ALL-UNNAMED
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED
--add-opens java.base/java.util.regex=ALL-UNNAMED
--add-opens java.base/jdk.internal.loader=ALL-UNNAMED
--add-opens java.base/sun.security.action=ALL-UNNAMED
</air.test.jvm.additional-arguments>
</properties>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.avro</groupId>
Expand Down Expand Up @@ -45,19 +73,19 @@
</exclusions>
</dependency>
<dependency>
<groupId>io.prestodb.tempto</groupId>
<groupId>com.github.aaneja.tempto</groupId>
<artifactId>tempto-core</artifactId>
</dependency>
<dependency>
<groupId>io.prestodb.tempto</groupId>
<groupId>com.github.aaneja.tempto</groupId>
<artifactId>tempto-ldap</artifactId>
</dependency>
<dependency>
<groupId>io.prestodb.tempto</groupId>
<groupId>com.github.aaneja.tempto</groupId>
<artifactId>tempto-kafka</artifactId>
</dependency>
<dependency>
<groupId>io.prestodb.tempto</groupId>
<groupId>com.github.aaneja.tempto</groupId>
<artifactId>tempto-runner</artifactId>
</dependency>
<dependency>
Expand Down Expand Up @@ -179,6 +207,14 @@
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down

0 comments on commit 642c536

Please sign in to comment.