From 094ab6613f8e09baab4c1af8407a1ec9a21583e0 Mon Sep 17 00:00:00 2001 From: bipinprasad Date: Wed, 2 Aug 2023 09:21:16 -0700 Subject: [PATCH] [STORM-3939] Remove gitact build for JDK 8, set class format to JDK11, and allow introspection as needed. --- .github/workflows/maven.yaml | 2 +- external/storm-blobstore-migration/pom.xml | 4 +-- external/storm-cassandra/pom.xml | 30 +--------------------- pom.xml | 8 +++--- storm-server/pom.xml | 24 +---------------- 5 files changed, 9 insertions(+), 59 deletions(-) diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml index 2e51aefe3ac..a426d9b69ed 100644 --- a/.github/workflows/maven.yaml +++ b/.github/workflows/maven.yaml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - java: [ 8, 11, 17 ] + java: [ 11, 17 ] module: [ Client, Server, Core, External, Check-Updated-License-Files, Integration-Test ] experimental: [false] fail-fast: false diff --git a/external/storm-blobstore-migration/pom.xml b/external/storm-blobstore-migration/pom.xml index 14155ca917a..0ec323b6e54 100644 --- a/external/storm-blobstore-migration/pom.xml +++ b/external/storm-blobstore-migration/pom.xml @@ -107,8 +107,8 @@ limitations under the License. maven-compiler-plugin - 1.8 - 1.8 + ${maven.compiler.source} + ${maven.compiler.target} diff --git a/external/storm-cassandra/pom.xml b/external/storm-cassandra/pom.xml index a08f5af5edc..e2125c4ebf1 100644 --- a/external/storm-cassandra/pom.xml +++ b/external/storm-cassandra/pom.xml @@ -36,32 +36,9 @@ 16.0.1 3.3 3.1.2 - + --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.math=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.nio=ALL-UNNAMED --add-opens java.base/jdk.internal.misc=ALL-UNNAMED - - - - java-17-or-higher - - [17,) - - - - --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.math=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.nio=ALL-UNNAMED --add-opens java.base/jdk.internal.misc=ALL-UNNAMED - - - - java-11-to-below-17 - - [11,17) - - - --illegal-access=warn - - - - fhuss @@ -187,11 +164,6 @@ org.apache.maven.plugins maven-surefire-plugin - ${storm-cassandra.test.introspection.argLine} -Xmx3g -XX:+HeapDumpOnOutOfMemoryError true IntegrationTest | ${java.unit.test.exclude.groups} diff --git a/pom.xml b/pom.xml index 2c4ebddf73f..eb626ffcbe8 100644 --- a/pom.xml +++ b/pom.xml @@ -279,7 +279,7 @@ - 1.8 + 11 ${maven.compiler.target} false false @@ -1258,7 +1258,7 @@ maven-pmd-plugin 3.16.0 - 1.8 + ${maven.compiler.target} storm/pmd-ruleset.xml @@ -1431,8 +1431,8 @@ org.apache.maven.plugins maven-compiler-plugin - 1.8 - 1.8 + ${maven.compiler.source} + ${maven.compiler.target} diff --git a/storm-server/pom.xml b/storm-server/pom.xml index dbddae927fb..3ec91738936 100644 --- a/storm-server/pom.xml +++ b/storm-server/pom.xml @@ -29,30 +29,9 @@ storm-server - + --add-opens java.base/java.lang=ALL-UNNAMED - - - java-17-or-higher - - [17,) - - - --add-opens java.base/java.lang=ALL-UNNAMED - - - - java-11-to-below-17 - - [11,17) - - - --illegal-access=warn - - - - org.apache.storm @@ -194,7 +173,6 @@ maven-surefire-plugin 1 - ${storm-server.test.introspection.argLine} -Xmx3g -XX:+HeapDumpOnOutOfMemoryError