From 42dcadc67493c2b0cd839272b0900d8cadcb7d86 Mon Sep 17 00:00:00 2001 From: Jithendar Trianz Date: Fri, 25 Oct 2024 13:28:08 +0530 Subject: [PATCH] Add profiles for jdk 17 in some pom files --- athena-federation-sdk/pom.xml | 29 ++++++++++++++++++++++++++++- athena-hbase/pom.xml | 26 ++++++++++++++++++++++++-- athena-neptune/pom.xml | 23 ++++++++++++++++++++++- athena-timestream/pom.xml | 23 ++++++++++++++++++++++- athena-vertica/pom.xml | 23 ++++++++++++++++++++++- 5 files changed, 118 insertions(+), 6 deletions(-) diff --git a/athena-federation-sdk/pom.xml b/athena-federation-sdk/pom.xml index 87411e381..c9069efbc 100644 --- a/athena-federation-sdk/pom.xml +++ b/athena-federation-sdk/pom.xml @@ -314,7 +314,6 @@ maven-surefire-plugin ${surefire.failsafe.version} - --add-opens=java.base/java.nio=ALL-UNNAMED slow @@ -442,4 +441,32 @@ + + + java17 + + 17 + + + + + maven-surefire-plugin + ${surefire.failsafe.version} + + --add-opens=java.base/java.nio=ALL-UNNAMED + + slow + + + + + + + + + diff --git a/athena-hbase/pom.xml b/athena-hbase/pom.xml index ec81ca1c4..538ebb83a 100644 --- a/athena-hbase/pom.xml +++ b/athena-hbase/pom.xml @@ -139,8 +139,7 @@ maven-surefire-plugin ${surefire.failsafe.version} - - -Xmx4g --add-opens=java.base/java.nio=ALL-UNNAMED + -Xmx4g *IntegTest @@ -148,4 +147,27 @@ + + + java17 + + 17 + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${surefire.failsafe.version} + + -Xmx4g --add-opens=java.base/java.nio=ALL-UNNAMED + + *IntegTest + + + + + + + diff --git a/athena-neptune/pom.xml b/athena-neptune/pom.xml index 889f28020..7646814ac 100644 --- a/athena-neptune/pom.xml +++ b/athena-neptune/pom.xml @@ -167,7 +167,6 @@ org.apache.maven.plugins maven-surefire-plugin - --add-opens=java.base/java.nio=ALL-UNNAMED ${publishing} @@ -213,4 +212,26 @@ + + + java17 + + 17 + + + + + org.apache.maven.plugins + maven-surefire-plugin + + --add-opens=java.base/java.nio=ALL-UNNAMED + + ${publishing} + + + + + + + diff --git a/athena-timestream/pom.xml b/athena-timestream/pom.xml index 18811336c..30bbf19ae 100644 --- a/athena-timestream/pom.xml +++ b/athena-timestream/pom.xml @@ -98,7 +98,6 @@ org.apache.maven.plugins maven-surefire-plugin - --add-opens=java.base/java.nio=ALL-UNNAMED ${publishing} @@ -144,4 +143,26 @@ + + + java17 + + 17 + + + + + org.apache.maven.plugins + maven-surefire-plugin + + --add-opens=java.base/java.nio=ALL-UNNAMED + + ${publishing} + + + + + + + diff --git a/athena-vertica/pom.xml b/athena-vertica/pom.xml index 5c46d0c46..edfa5b58b 100644 --- a/athena-vertica/pom.xml +++ b/athena-vertica/pom.xml @@ -88,7 +88,6 @@ org.apache.maven.plugins maven-surefire-plugin - --add-opens=java.base/java.nio=ALL-UNNAMED ${publishing} @@ -141,4 +140,26 @@ + + + java17 + + 17 + + + + + org.apache.maven.plugins + maven-surefire-plugin + + --add-opens=java.base/java.nio=ALL-UNNAMED + + ${publishing} + + + + + + +