diff --git a/e2e-jar-test/pom.xml b/e2e-jar-test/pom.xml
index 1050d0967..9a140aaeb 100644
--- a/e2e-jar-test/pom.xml
+++ b/e2e-jar-test/pom.xml
@@ -1,65 +1,65 @@
- 4.0.0
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ 4.0.0
- net.snowflake.snowflake-ingest-java-e2e-jar-test
- parent
- 1.0-SNAPSHOT
- pom
+ net.snowflake.snowflake-ingest-java-e2e-jar-test
+ parent
+ 1.0-SNAPSHOT
+ pom
- snowflake-ingest-sdk-e2e-test
+ snowflake-ingest-sdk-e2e-test
-
- standard
- fips
- core
-
+
+ standard
+ fips
+ core
+
-
+
-
-
- net.snowflake.snowflake-ingest-java-e2e-jar-test
- core
- ${project.version}
-
+
+
+ net.snowflake.snowflake-ingest-java-e2e-jar-test
+ core
+ ${project.version}
+
-
- net.snowflake
- snowflake-ingest-sdk
- 2.0.4-SNAPSHOT
-
+
+ net.snowflake
+ snowflake-ingest-sdk
+ 2.0.4
+
-
- net.snowflake
- snowflake-jdbc-fips
- 3.13.30
-
+
+ net.snowflake
+ snowflake-jdbc-fips
+ 3.13.30
+
-
- org.bouncycastle
- bc-fips
- 1.0.2.4
-
+
+ org.bouncycastle
+ bc-fips
+ 1.0.2.4
+
-
- org.slf4j
- slf4j-simple
- 1.7.36
-
+
+ org.slf4j
+ slf4j-simple
+ 1.7.36
+
-
- com.fasterxml.jackson.core
- jackson-databind
- 2.14.0
-
+
+ com.fasterxml.jackson.core
+ jackson-databind
+ 2.14.0
+
-
- junit
- junit
- 4.13.2
- test
-
-
-
+
+ junit
+ junit
+ 4.13.2
+ test
+
+
+
diff --git a/pom.xml b/pom.xml
index 9789e9e09..90f5ccbb5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
net.snowflake
snowflake-ingest-sdk
- 2.0.4-SNAPSHOT
+ 2.0.4
jar
Snowflake Ingest SDK
Snowflake Ingest SDK
@@ -779,9 +779,9 @@
failFast
+ The list of allowed licenses. If you see the build failing due to "There are some forbidden licenses used, please
+ check your dependencies", verify the conditions of the license and add the reference to it here.
+ -->
Apache License 2.0
BSD 2-Clause License
@@ -899,9 +899,9 @@
+ Copy all project dependencies to target/dependency-jars. License processing Python script will look here for
+ license files of SDK dependencies.
+ -->
org.apache.maven.plugins
maven-dependency-plugin
@@ -923,9 +923,9 @@
+ Compile the list of SDK dependencies in 'compile' and 'runtime' scopes.
+ This list is an entry point for the license processing python script.
+ -->
org.apache.maven.plugins
maven-dependency-plugin
@@ -1108,9 +1108,9 @@
+ Plugin executes license processing Python script, which copies third party license files into the directory
+ target/generated-licenses-info/META-INF/third-party-licenses, which is then included in the shaded JAR.
+ -->
org.codehaus.mojo
exec-maven-plugin
diff --git a/src/main/java/net/snowflake/ingest/connection/RequestBuilder.java b/src/main/java/net/snowflake/ingest/connection/RequestBuilder.java
index 6936bc52a..77443e7b8 100644
--- a/src/main/java/net/snowflake/ingest/connection/RequestBuilder.java
+++ b/src/main/java/net/snowflake/ingest/connection/RequestBuilder.java
@@ -110,7 +110,7 @@ public class RequestBuilder {
// Don't change!
public static final String CLIENT_NAME = "SnowpipeJavaSDK";
- public static final String DEFAULT_VERSION = "2.0.4-SNAPSHOT";
+ public static final String DEFAULT_VERSION = "2.0.4";
public static final String JAVA_USER_AGENT = "JAVA";
@@ -351,6 +351,7 @@ private static String getDefaultUserAgent() {
private static String buildCustomUserAgent(String additionalUserAgentInfo) {
return USER_AGENT.trim() + " " + additionalUserAgentInfo;
}
+
/** A simple POJO for generating our POST body to the insert endpoint */
private static class IngestRequest {
// the list of files we're loading