diff --git a/FIPS/pom.xml b/FIPS/pom.xml
index 9071dd0bd..e7b0f6ccf 100644
--- a/FIPS/pom.xml
+++ b/FIPS/pom.xml
@@ -567,10 +567,7 @@
META-INF/DEPENDENCIES
META-INF/maven/**
META-INF/services/com.fasterxml.*
-
-
- META-INF/versions/17/**
- META-INF/versions/19/**
+ META-INF/versions/9/module-info.*
META-INF/*.xml
META-INF/*.SF
META-INF/*.DSA
@@ -618,6 +615,37 @@
+
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+
+
+ repack
+
+ run
+
+ package
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ci/scripts/check_content.sh b/ci/scripts/check_content.sh
index d2922fe7a..a9c0768b6 100755
--- a/ci/scripts/check_content.sh
+++ b/ci/scripts/check_content.sh
@@ -12,3 +12,8 @@ if jar tvf $DIR/../../target/snowflake-jdbc${package_modifier}.jar | awk '{prin
echo "[ERROR] JDBC jar includes class not under the snowflake namespace"
exit 1
fi
+
+if jar tvf $DIR/../../target/snowflake-jdbc${package_modifier}.jar | awk '{print $8}' | grep -E "^META-INF/versions/.*.class" | grep -v -E "^META-INF/versions/.*/(net|com)/snowflake"; then
+ echo "[ERROR] JDBC jar includes multi release classes not under the snowflake namespace"
+ exit 1
+fi
diff --git a/pom.xml b/pom.xml
index e28976451..146b1367f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -167,7 +167,6 @@
groupId,artifactId
true
true
- groupId,artifactId
true
stop
strict
@@ -609,33 +608,6 @@
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- repack
-
- run
-
- package
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
org.apache.maven.plugins
@@ -697,7 +669,6 @@
META-INF/NOTICE*
META-INF/DEPENDENCIES
META-INF/maven/**
- META-INF/services/com.fasterxml.*
META-INF/*.xml
META-INF/*.SF
META-INF/*.DSA
@@ -781,33 +752,6 @@
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- repack
-
- run
-
- package
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
org.apache.maven.plugins
@@ -1010,6 +954,7 @@
META-INF/DEPENDENCIES
META-INF/maven/**
META-INF/services/com.fasterxml.*
+ META-INF/versions/9/module-info.*
META-INF/*.xml
META-INF/*.SF
META-INF/*.DSA
@@ -1059,6 +1004,46 @@
+
+
+
+ org.apache.maven.plugins
+ maven-antrun-plugin
+
+
+ repack
+
+ run
+
+ package
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
org.codehaus.mojo
buildnumber-maven-plugin