diff --git a/athena-snowflake/assembly.xml b/athena-snowflake/assembly.xml
new file mode 100644
index 0000000000..bf2e166451
--- /dev/null
+++ b/athena-snowflake/assembly.xml
@@ -0,0 +1,30 @@
+
+ zip
+
+ false
+
+
+ zip
+
+
+
+ ${project.basedir}/conf
+
+
+
+ ${project.build.directory}/classes
+ /
+
+
+
+
+
+ lib
+
+ ${project.groupId}:${project.artifactId}:jar:*
+
+
+
+
\ No newline at end of file
diff --git a/athena-snowflake/athena-snowflake.yaml b/athena-snowflake/athena-snowflake.yaml
index 8f4bae23fe..28ae4e133b 100644
--- a/athena-snowflake/athena-snowflake.yaml
+++ b/athena-snowflake/athena-snowflake.yaml
@@ -66,7 +66,7 @@ Resources:
default: !Ref DefaultConnectionString
FunctionName: !Ref LambdaFunctionName
Handler: "com.amazonaws.athena.connectors.snowflake.SnowflakeMuxCompositeHandler"
- CodeUri: "./target/athena-snowflake-2022.47.1.jar"
+ CodeUri: "./target/athena-snowflake.zip"
Description: "Enables Amazon Athena to communicate with Snowflake using JDBC"
Runtime: java11
Timeout: !Ref LambdaTimeout
diff --git a/athena-snowflake/pom.xml b/athena-snowflake/pom.xml
index c55045b4f6..ef2046e7d8 100644
--- a/athena-snowflake/pom.xml
+++ b/athena-snowflake/pom.xml
@@ -68,39 +68,21 @@
org.apache.maven.plugins
- maven-shade-plugin
- ${mvn.shade.plugin.version}
-
- false
-
-
- *:*
-
- META-INF/*.SF
- META-INF/*.DSA
- META-INF/*.RSA
-
-
-
-
-
-
-
-
-
-
-
- com.github.edwgiz
- maven-shade-plugin.log4j2-cachefile-transformer
- ${log4j2.cachefile.transformer.version}
-
-
+ maven-assembly-plugin
+ 3.6.0
package
- shade
+ single
+
+ false
+
+ assembly.xml
+
+ ${project.artifactId}
+