From 848ac9ca8bfd670025ba715c691f9387f1ca2eb1 Mon Sep 17 00:00:00 2001 From: Toby Zhang Date: Thu, 12 Sep 2024 16:52:32 +0000 Subject: [PATCH 1/4] 2.2.2 release --- e2e-jar-test/pom.xml | 164 +- pom.xml | 2697 +++++++++-------- .../ingest/connection/RequestBuilder.java | 2 +- 3 files changed, 1438 insertions(+), 1425 deletions(-) diff --git a/e2e-jar-test/pom.xml b/e2e-jar-test/pom.xml index 0d36340f7..cd8475e6d 100644 --- a/e2e-jar-test/pom.xml +++ b/e2e-jar-test/pom.xml @@ -1,97 +1,97 @@ - 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 - - core - fips - standard - + + core + fips + standard + - + - + - - com.fasterxml.jackson.core - jackson-databind - 2.17.2 - + + com.fasterxml.jackson.core + jackson-databind + 2.17.2 + - - net.snowflake - snowflake-ingest-sdk - 2.2.1-SNAPSHOT - + + net.snowflake + snowflake-ingest-sdk + 2.2.2 + - - net.snowflake - snowflake-jdbc-fips - 3.18.0 - - - net.snowflake.snowflake-ingest-java-e2e-jar-test - core - ${project.version} - + + net.snowflake + snowflake-jdbc-fips + 3.18.0 + + + net.snowflake.snowflake-ingest-java-e2e-jar-test + core + ${project.version} + - - org.bouncycastle - bc-fips - 1.0.2.5 - + + org.bouncycastle + bc-fips + 1.0.2.5 + - - org.slf4j - slf4j-simple - 1.7.36 - + + org.slf4j + slf4j-simple + 1.7.36 + - - junit - junit - 4.13.2 - test - - - + + junit + junit + 4.13.2 + test + + + - - - - com.github.ekryd.sortpom - sortpom-maven-plugin - 3.0.1 - - false - false - true - scope,groupId,artifactId - groupId,artifactId - true - true - groupId,artifactId - true - stop - strict - - - - - verify - - validate - - - - - + + + + com.github.ekryd.sortpom + sortpom-maven-plugin + 3.0.1 + + false + false + true + scope,groupId,artifactId + groupId,artifactId + true + true + groupId,artifactId + true + stop + strict + + + + + verify + + validate + + + + + diff --git a/pom.xml b/pom.xml index b7763631a..d9948e408 100644 --- a/pom.xml +++ b/pom.xml @@ -1,1379 +1,1392 @@ - 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-sdk - 2.2.1-SNAPSHOT - jar - Snowflake Ingest SDK - Snowflake Ingest SDK - https://www.snowflake.net/ + + net.snowflake + snowflake-ingest-sdk + 2.2.2 + jar + Snowflake Ingest SDK + Snowflake Ingest SDK + https://www.snowflake.net/ - - - The Apache Software License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - + + + The Apache Software License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + - - - Snowflake Support Team - snowflake-java@snowflake.net - Snowflake Computing - https://www.snowflake.net - - + + + Snowflake Support Team + snowflake-java@snowflake.net + Snowflake Computing + https://www.snowflake.net + + - - scm:git:git://github.com/snowflakedb/snowflake-ingest-java - https://github.com/snowflakedb/snowflake-ingest-java/tree/master - + + scm:git:git://github.com/snowflakedb/snowflake-ingest-java + https://github.com/snowflakedb/snowflake-ingest-java/tree/master + - - - 1.78.1 - 1.9.13 - 1.15 - 3.2.2 - 1.26.0 - 2.10.1 - 2.15.1 - 3.14.0 - 1.3.3 - 1.11.0 - 2.17.2 - 32.0.1-jre - 3.3.6 - true - 0.8.5 - ${project.build.directory}/dependency-jars - ${project.build.directory}/dependency-list.txt - ${project.build.directory}/generated-licenses-info - ${license.processing.resourcesRoot}/META-INF/third-party-licenses - 1.8 - 1.8 - 2.4.9 - 4.1.94.Final - 9.37.3 - 3.1 - 1.14.1 - 2.0.9 - UTF-8 - 4.27.2 - net.snowflake.ingest.internal - 1.7.36 - 1.1.10.5 - 3.18.0 - 0.13.0 - + + + 1.78.1 + 1.9.13 + 1.15 + 3.2.2 + 1.26.0 + 2.10.1 + 2.15.1 + 3.14.0 + 1.3.3 + 1.11.0 + 2.17.2 + 32.0.1-jre + 3.3.6 + true + 0.8.5 + ${project.build.directory}/dependency-jars + + ${project.build.directory}/dependency-list.txt + + ${project.build.directory}/generated-licenses-info + + ${license.processing.resourcesRoot}/META-INF/third-party-licenses + + 1.8 + 1.8 + 2.4.9 + 4.1.94.Final + 9.37.3 + 3.1 + 1.14.1 + 2.0.9 + UTF-8 + 4.27.2 + net.snowflake.ingest.internal + 1.7.36 + 1.1.10.5 + 3.18.0 + 0.13.0 + - - - - com.fasterxml.jackson - jackson-bom - ${fasterxml.version} - pom - import - - - com.google.guava - guava - ${guava.version} - - - com.google.protobuf - protobuf-java - ${protobuf.version} - - - com.nimbusds - nimbus-jose-jwt - ${nimbusds.version} - - - commons-codec - commons-codec - ${commonscodec.version} - - - commons-collections - commons-collections - ${commonscollections.version} - - - commons-io - commons-io - ${commonsio.version} - - - commons-logging - commons-logging - ${commonslogging.version} - - - io.netty - netty-buffer - ${netty.version} - - - io.netty - netty-common - ${netty.version} - - - net.minidev - json-smart - ${net.minidev.version} - - - net.snowflake - snowflake-jdbc - ${snowjdbc.version} - - - org.apache.commons - commons-compress - ${commonscompress.version} - - - org.apache.commons - commons-configuration2 - ${commonsconfiguration2.version} - - - org.apache.commons - commons-lang3 - ${commonslang3.version} - - - org.apache.commons - commons-text - ${commonstext.version} - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - ch.qos.reload4j - reload4j - - - com.github.pjfanning - jersey-json - - - com.jcraft - jsch - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-server - - - com.sun.jersey - jersey-servlet - - - commons-logging - commons-logging - - - dnsjava - dnsjava - - - io.dropwizard.metrics - metrics-core - - - javax.activation - activation - - - javax.servlet - javax.servlet-api - - - javax.servlet.jsp - jsp-api - - - org.apache.avro - avro - - - org.apache.curator - curator-client - - - org.apache.curator - curator-recipes - - - org.apache.hadoop - hadoop-auth - - - org.apache.httpcomponents - httpclient - - - org.apache.kerby - kerb-core - - - org.apache.zookeeper - zookeeper - - - org.eclipse.jetty - jetty-server - - - org.eclipse.jetty - jetty-servlet - - - org.eclipse.jetty - jetty-util - - - org.eclipse.jetty - jetty-webapp - - - org.slf4j - slf4j-log4j12 - - - org.slf4j - slf4j-reload4j - - - - - org.apache.parquet - parquet-column - ${parquet.version} - - - org.apache.parquet - parquet-common - ${parquet.version} - - - org.apache.parquet - parquet-hadoop - ${parquet.version} - - - org.apache.yetus - audience-annotations - ${yetus.version} - - - org.bouncycastle - bcpkix-jdk18on - ${bouncycastle.version} - - - org.bouncycastle - bcprov-jdk18on - ${bouncycastle.version} - - - org.codehaus.jackson - jackson-core-asl - ${codehaus.version} - - - org.codehaus.jackson - jackson-jaxrs - ${codehaus.version} - - - org.codehaus.jackson - jackson-xc - ${codehaus.version} - - - org.codehaus.jettison - jettison - 1.5.4 - - - org.codehaus.woodstox - stax2-api - 4.2.1 - - - org.objenesis - objenesis - ${objenesis.version} - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.xerial.snappy - snappy-java - ${snappy.version} - - - - - junit - junit - 4.13.2 - test - - - net.bytebuddy - byte-buddy - 1.14.9 - test - - - net.bytebuddy - byte-buddy-agent - 1.14.9 - test - - - org.apache.hadoop - hadoop-mapreduce-client-core - ${hadoop.version} - test - - - jakarta.xml.bind - jakarta.xml.bind-api - - - javax.xml.bind - jaxb-api - - - org.slf4j - slf4j-reload4j - - - org.slf4j - slf4j-simple - - - - - org.mockito - mockito-core - 3.7.7 - test - - - org.openjdk.jmh - jmh-core - 1.34 - test - - - org.openjdk.jmh - jmh-generator-annprocess - 1.34 - test - - - - - - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-core - - - - com.fasterxml.jackson.core - jackson-databind - - - - - - com.github.ben-manes.caffeine - caffeine - 2.9.3 - - - - com.google.errorprone - error_prone_annotations - - - org.checkerframework - checker-qual - - - - - com.google.code.findbugs - jsr305 - 3.0.2 - - - com.google.guava - guava - - - - - com.nimbusds - nimbus-jose-jwt - - - commons-codec - commons-codec - - - commons-io - commons-io - + + + + com.fasterxml.jackson + jackson-bom + ${fasterxml.version} + pom + import + + + com.google.guava + guava + ${guava.version} + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + com.nimbusds + nimbus-jose-jwt + ${nimbusds.version} + + + commons-codec + commons-codec + ${commonscodec.version} + + + commons-collections + commons-collections + ${commonscollections.version} + + + commons-io + commons-io + ${commonsio.version} + + + commons-logging + commons-logging + ${commonslogging.version} + + + io.netty + netty-buffer + ${netty.version} + + + io.netty + netty-common + ${netty.version} + + + net.minidev + json-smart + ${net.minidev.version} + + + net.snowflake + snowflake-jdbc + ${snowjdbc.version} + + + org.apache.commons + commons-compress + ${commonscompress.version} + + + org.apache.commons + commons-configuration2 + ${commonsconfiguration2.version} + + + org.apache.commons + commons-lang3 + ${commonslang3.version} + + + org.apache.commons + commons-text + ${commonstext.version} + + + org.apache.hadoop + hadoop-common + ${hadoop.version} + + + ch.qos.reload4j + reload4j + + + com.github.pjfanning + jersey-json + + + com.jcraft + jsch + + + com.sun.jersey + jersey-core + + + com.sun.jersey + jersey-server + + + com.sun.jersey + jersey-servlet + + + commons-logging + commons-logging + + + dnsjava + dnsjava + + + io.dropwizard.metrics + metrics-core + + + javax.activation + activation + + + javax.servlet + javax.servlet-api + + + javax.servlet.jsp + jsp-api + + + org.apache.avro + avro + + + org.apache.curator + curator-client + + + org.apache.curator + curator-recipes + + + org.apache.hadoop + hadoop-auth + + + org.apache.httpcomponents + httpclient + + + org.apache.kerby + kerb-core + + + org.apache.zookeeper + zookeeper + + + org.eclipse.jetty + jetty-server + + + org.eclipse.jetty + jetty-servlet + + + org.eclipse.jetty + jetty-util + + + org.eclipse.jetty + jetty-webapp + + + org.slf4j + slf4j-log4j12 + + + org.slf4j + slf4j-reload4j + + + + + org.apache.parquet + parquet-column + ${parquet.version} + + + org.apache.parquet + parquet-common + ${parquet.version} + + + org.apache.parquet + parquet-hadoop + ${parquet.version} + + + org.apache.yetus + audience-annotations + ${yetus.version} + + + org.bouncycastle + bcpkix-jdk18on + ${bouncycastle.version} + + + org.bouncycastle + bcprov-jdk18on + ${bouncycastle.version} + + + org.codehaus.jackson + jackson-core-asl + ${codehaus.version} + + + org.codehaus.jackson + jackson-jaxrs + ${codehaus.version} + + + org.codehaus.jackson + jackson-xc + ${codehaus.version} + + + org.codehaus.jettison + jettison + 1.5.4 + + + org.codehaus.woodstox + stax2-api + 4.2.1 + + + org.objenesis + objenesis + ${objenesis.version} + + + org.slf4j + slf4j-api + ${slf4j.version} + + + org.xerial.snappy + snappy-java + ${snappy.version} + - - - io.dropwizard.metrics - metrics-core - 4.1.22 - + + + junit + junit + 4.13.2 + test + + + net.bytebuddy + byte-buddy + 1.14.9 + test + + + net.bytebuddy + byte-buddy-agent + 1.14.9 + test + + + org.apache.hadoop + hadoop-mapreduce-client-core + ${hadoop.version} + test + + + jakarta.xml.bind + jakarta.xml.bind-api + + + javax.xml.bind + jaxb-api + + + org.slf4j + slf4j-reload4j + + + org.slf4j + slf4j-simple + + + + + org.mockito + mockito-core + 3.7.7 + test + + + org.openjdk.jmh + jmh-core + 1.34 + test + + + org.openjdk.jmh + jmh-generator-annprocess + 1.34 + test + + + - - - io.dropwizard.metrics - metrics-jmx - 4.1.22 - + + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-core + + + + com.fasterxml.jackson.core + jackson-databind + - - - io.dropwizard.metrics - metrics-jvm - 4.1.22 - - - io.netty - netty-common - - - net.bytebuddy - byte-buddy-agent - - - - net.snowflake - snowflake-jdbc - - - org.apache.commons - commons-compress - + + + + com.github.ben-manes.caffeine + caffeine + 2.9.3 + + + + com.google.errorprone + error_prone_annotations + + + org.checkerframework + checker-qual + + + + + com.google.code.findbugs + jsr305 + 3.0.2 + + + com.google.guava + guava + - - - org.apache.commons - commons-configuration2 - - - org.apache.hadoop - hadoop-common - - - org.apache.hadoop - hadoop-mapreduce-client-core - - - - org.apache.parquet - parquet-column - - - org.apache.parquet - parquet-common - - - - javax.annotation - javax.annotation-api - - - - - org.apache.parquet - parquet-hadoop - + + + com.nimbusds + nimbus-jose-jwt + + + commons-codec + commons-codec + + + commons-io + commons-io + - - org.bouncycastle - bcpkix-jdk18on - - - org.bouncycastle - bcprov-jdk18on - - - org.slf4j - slf4j-api - - - com.github.luben - zstd-jni - 1.5.6-2 - runtime - - - com.google.protobuf - protobuf-java - runtime - - - org.xerial.snappy - snappy-java - runtime - + + + io.dropwizard.metrics + metrics-core + 4.1.22 + - - - junit - junit - test - - - org.apache.commons - commons-lang3 - test - - - org.hamcrest - hamcrest-core - 1.3 - test - - - org.mockito - mockito-core - test - - - org.openjdk.jmh - jmh-core - test - - - org.openjdk.jmh - jmh-generator-annprocess - test - - - org.powermock - powermock-api-mockito2 - ${powermock.version} - test - - - org.powermock - powermock-core - ${powermock.version} - test - - - org.powermock - powermock-module-junit4 - ${powermock.version} - test - - - - org.slf4j - slf4j-simple - ${slf4j.version} - test - - + + + io.dropwizard.metrics + metrics-jmx + 4.1.22 + - - ${project.artifactId} - - - true - src/main/resources - - - ${license.processing.resourcesRoot} - - + + + io.dropwizard.metrics + metrics-jvm + 4.1.22 + + + io.netty + netty-common + + + net.bytebuddy + byte-buddy-agent + + + + net.snowflake + snowflake-jdbc + + + org.apache.commons + commons-compress + - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.6.0 - - - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.4.1 - - - com.google.cloud.tools - linkage-checker-enforcer-rules - 1.5.13 - - - org.codehaus.mojo - extra-enforcer-rules - 1.3 - + + + org.apache.commons + commons-configuration2 + + + org.apache.hadoop + hadoop-common + + + org.apache.hadoop + hadoop-mapreduce-client-core + + + + org.apache.parquet + parquet-column + + + org.apache.parquet + parquet-common + + - org.eclipse.aether - aether-util + javax.annotation + javax.annotation-api - - - - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 3.0.0-M5 - - - org.apache.maven.plugins - maven-surefire-plugin - 3.2.5 - - - org.codehaus.mojo - exec-maven-plugin - 3.2.0 - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - ${jacoco.skip.instrument} - - **/*SnowflakeStreamingIngestExample* - **/*SnowflakeIngestBasicExample* - **/*IngestExampleHelper* - - - - - pre-unit-test - - prepare-agent - - - target/jacoco-ut.exec - - - - post-unit-test - - report - - test - - target/jacoco-ut.exec - target/jacoco-ut - - - - - - - - - com.github.ekryd.sortpom - sortpom-maven-plugin - 3.0.1 - - false - false - true - scope,groupId,artifactId - groupId,artifactId - true - true - groupId,artifactId - true - stop - strict - - - - - verify - - validate - - - - - maven-assembly-plugin - - - - true - net.snowflake.ingest.SimpleIngestManager - - - - jar-with-dependencies - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - true - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-dependency-plugin - - - analyze - - analyze-only - - - true - true - - - org.apache.commons:commons-compress - org.apache.commons:commons-configuration2 - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-best-practices - - enforce - - - - - - META-INF/versions/*/org/bouncycastle/* - META-INF/versions/*/com/fasterxml/jackson/core/io/doubleparser/* - - true - true - - - - - - - - - - enforce-maven - - enforce - - - - - 3.5 - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - - jar - - - -Xdoclint:none - 8 - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/TestSimpleIngestLocal.java - - - - - org.codehaus.mojo - license-maven-plugin - 2.0.1 - - failFast - - - Apache License 2.0 - BSD 2-Clause License - 3-Clause BSD License - The MIT License - EDL 1.0 - The Go license - Bouncy Castle Licence - - test,provided,system - true - - Apache License 2.0 - |The Apache License, Version 2.0 - |The Apache Software License, Version 2.0 - |Apache-2.0 - |Apache License, Version 2.0 - |Apache 2.0 - |Apache License V2.0 - BSD 2-Clause License - |The BSD License - The MIT License|MIT License - 3-Clause BSD License|BSD-3-Clause - - - - - add-third-party - - add-third-party - - package - - - - - + + + + org.apache.parquet + parquet-hadoop + - - - checkLinkageErrors - - - - not-shadeDep - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-linkage-checker - - enforce - - - none - - - - - true - ${basedir}/linkage-checker-exclusion-rules.xml - WARN - - - - - - - - - - + + org.bouncycastle + bcpkix-jdk18on + + + org.bouncycastle + bcprov-jdk18on + + + org.slf4j + slf4j-api + + + com.github.luben + zstd-jni + 1.5.6-2 + runtime + + + com.google.protobuf + protobuf-java + runtime + + + org.xerial.snappy + snappy-java + runtime + - - + + + junit + junit + test + + + org.apache.commons + commons-lang3 + test + + + org.hamcrest + hamcrest-core + 1.3 + test + + + org.mockito + mockito-core + test + + + org.openjdk.jmh + jmh-core + test + + + org.openjdk.jmh + jmh-generator-annprocess + test + + + org.powermock + powermock-api-mockito2 + ${powermock.version} + test + + + org.powermock + powermock-core + ${powermock.version} + test + + + org.powermock + powermock-module-junit4 + ${powermock.version} + test + + + + org.slf4j + slf4j-simple + ${slf4j.version} + test + + - - - - - checkShadedContent - - false - - - - - org.codehaus.mojo - exec-maven-plugin - - - check-shaded-content - - exec - - verify - - ${basedir}/scripts/check_content.sh - - - - - - - - - shadeDep - - - !not-shadeDep - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - - - list - - generate-resources - - runtime - ${license.processing.dependencyListFile} - - - - - copy-dependencies - - copy-dependencies - - generate-resources - - ${license.processing.dependencyJarsDir} - false - false - true - - - - + + ${project.artifactId} + + + true + src/main/resources + + + ${license.processing.resourcesRoot} + + - - - org.apache.maven.plugins - maven-shade-plugin - 3.5.2 - - - - net.snowflake:snowflake-jdbc - org.slf4j:slf4j-api - com.github.luben:zstd-jni - - - - - com.nimbusds - ${shadeBase}.com.nimbusds - - - org.bouncycastle - ${shadeBase}.org.bouncycastle - - - net.jcip - ${shadeBase}.net.jcip - - - net.minidev - ${shadeBase}.net.minidev - - - org.objectweb - ${shadeBase}.org.objectweb - - - com.fasterxml - ${shadeBase}.fasterxml - - - org.apache - ${shadeBase}.apache - - - org.xbill - ${shadeBase}.org.xbill - - - org.xerial - ${shadeBase}.org.xerial - - - io.netty - ${shadeBase}.io.netty - - - com.google - ${shadeBase}.com.google - - - com.github.benmanes - ${shadeBase}.com.github.benmanes - - - - shaded.parquet - ${shadeBase}.shaded.parquet - - - org.codehaus - ${shadeBase}.org.codehaus - - - com.jcraft - ${shadeBase}.com.jcraft - - - org.eclipse - ${shadeBase}.org.eclipse - - - org.checkerframework - ${shadeBase}.org.checkerframework - - - com.codahale - ${shadeBase}.com.codahale - - - com.ctc - ${shadeBase}.com.ctc - - - com.thoughtworks - ${shadeBase}.com.thoughtworks - - - - codegen - ${shadeBase}.codegen - - - javax.annotation - ${shadeBase}.javax.annotation - - - javax.activation - ${shadeBase}.javax.activation - - - io.airlift.compress - ${shadeBase}.io.airlift.compress - - - - - *:* - - assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties - about.html - mozilla/public-suffix-list.txt + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.6.0 + + + maven-deploy-plugin + + true + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.4.1 + + + com.google.cloud.tools + linkage-checker-enforcer-rules + 1.5.13 + + + org.codehaus.mojo + extra-enforcer-rules + 1.3 + + + org.eclipse.aether + aether-util + + + + + - META-INF/LICENSE* - META-INF/NOTICE* - META-INF/DEPENDENCIES - META-INF/maven/** - META-INF/services/com.fasterxml.* - META-INF/*.xml - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - google/protobuf/**/*.proto - - - - commons-logging:commons-logging - - org/apache/commons/logging/impl/AvalonLogger.class - - - - org.slf4j:slf4j-simple - - org/slf4j/** - - - - - - - - - - - - shade - - package - - - - - - org.codehaus.mojo - exec-maven-plugin - - - process-third-party-licenses - - exec - - generate-resources - - python3 - - ${project.basedir}/scripts/process_licenses.py - ${license.processing.dependencyListFile} - ${license.processing.dependencyJarsDir} - ${license.processing.targetDir} - - - - - - - - - - ossrh-deploy - - - ossrh-deploy - - - + + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0-M5 + + + org.apache.maven.plugins + maven-surefire-plugin + 3.2.5 + + + org.codehaus.mojo + exec-maven-plugin + 3.2.0 + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${jacoco.skip.instrument} + + **/*SnowflakeStreamingIngestExample* + **/*SnowflakeIngestBasicExample* + **/*IngestExampleHelper* + + + + + pre-unit-test + + prepare-agent + + + target/jacoco-ut.exec + + + + post-unit-test + + report + + test + + target/jacoco-ut.exec + target/jacoco-ut + + + + + + - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - - sign-and-deploy-file - - deploy + + com.github.ekryd.sortpom + sortpom-maven-plugin + 3.0.1 - target/${project.artifactId}.jar - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2 - generated_public_pom.xml - target/${project.artifactId}-javadoc.jar - target/${project.artifactId}-sources.jar - ${env.GPG_KEY_ID} - ${env.GPG_KEY_PASSPHRASE} + false + false + true + scope,groupId,artifactId + groupId,artifactId + true + true + groupId,artifactId + true + stop + strict - - - - - - - - snapshot-deploy - - - snapshot-deploy - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - - sign-and-deploy-file - - deploy + + + + verify + + validate + + + + + maven-assembly-plugin - target/${project.artifactId}.jar - snapshot - https://nexus.int.snowflakecomputing.com/repository/Snapshots/ - generated_public_pom.xml - target/${project.artifactId}-javadoc.jar - target/${project.artifactId}-sources.jar - ${env.GPG_KEY_ID} - ${env.GPG_KEY_PASSPHRASE} + + + true + net.snowflake.ingest.SimpleIngestManager + + + + jar-with-dependencies + - - - - - - - - ghActionsIT - - - ghActionsIT - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - integration-test - - - - verify_github_actions_it - - verify - - verify - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - ${jacoco.skip.instrument} - - - - pre-unit-test - - prepare-agent - - - target/jacoco-ut.exec - - - - post-unit-test - - report - - test + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + true - target/jacoco-ut.exec - target/jacoco-ut + 1.8 + 1.8 - - - pre-integration-test - - prepare-agent - - pre-integration-test + + + org.apache.maven.plugins + maven-dependency-plugin + + + analyze + + analyze-only + + + true + true + + + org.apache.commons:commons-compress + org.apache.commons:commons-configuration2 + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-best-practices + + enforce + + + + + + META-INF/versions/*/org/bouncycastle/* + META-INF/versions/*/com/fasterxml/jackson/core/io/doubleparser/* + + + true + true + + + + + + + + + + enforce-maven + + enforce + + + + + 3.5 + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + -Xdoclint:none + 8 + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-surefire-plugin - target/jacoco-it.exec + + **/TestSimpleIngestLocal.java + - - - post-integration-test - - report - - post-integration-test + + + org.codehaus.mojo + license-maven-plugin + 2.0.1 - target/jacoco-it.exec - target/jacoco-it + failFast + + + Apache License 2.0 + BSD 2-Clause License + 3-Clause BSD License + The MIT License + EDL 1.0 + The Go license + Bouncy Castle Licence + + test,provided,system + true + + Apache License 2.0 + |The Apache License, Version 2.0 + |The Apache Software License, Version 2.0 + |Apache-2.0 + |Apache License, Version 2.0 + |Apache 2.0 + |Apache License V2.0 + + BSD 2-Clause License + |The BSD License + + The MIT License|MIT License + 3-Clause BSD License|BSD-3-Clause + - - - + + + add-third-party + + add-third-party + + package + + + - - - + + + + + checkLinkageErrors + + + + not-shadeDep + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-linkage-checker + + enforce + + + none + + + + + true + ${basedir}/linkage-checker-exclusion-rules.xml + + WARN + + + + + + + + + + + + + + + + + + + checkShadedContent + + false + + + + + org.codehaus.mojo + exec-maven-plugin + + + check-shaded-content + + exec + + verify + + ${basedir}/scripts/check_content.sh + + + + + + + + + shadeDep + + + !not-shadeDep + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + + list + + generate-resources + + runtime + ${license.processing.dependencyListFile} + + + + + copy-dependencies + + copy-dependencies + + generate-resources + + ${license.processing.dependencyJarsDir} + false + false + true + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.2 + + + + net.snowflake:snowflake-jdbc + org.slf4j:slf4j-api + com.github.luben:zstd-jni + + + + + com.nimbusds + ${shadeBase}.com.nimbusds + + + org.bouncycastle + ${shadeBase}.org.bouncycastle + + + net.jcip + ${shadeBase}.net.jcip + + + net.minidev + ${shadeBase}.net.minidev + + + org.objectweb + ${shadeBase}.org.objectweb + + + com.fasterxml + ${shadeBase}.fasterxml + + + org.apache + ${shadeBase}.apache + + + org.xbill + ${shadeBase}.org.xbill + + + org.xerial + ${shadeBase}.org.xerial + + + io.netty + ${shadeBase}.io.netty + + + com.google + ${shadeBase}.com.google + + + com.github.benmanes + ${shadeBase}.com.github.benmanes + + + + shaded.parquet + ${shadeBase}.shaded.parquet + + + org.codehaus + ${shadeBase}.org.codehaus + + + com.jcraft + ${shadeBase}.com.jcraft + + + org.eclipse + ${shadeBase}.org.eclipse + + + org.checkerframework + ${shadeBase}.org.checkerframework + + + com.codahale + ${shadeBase}.com.codahale + + + com.ctc + ${shadeBase}.com.ctc + + + com.thoughtworks + ${shadeBase}.com.thoughtworks + + + + codegen + ${shadeBase}.codegen + + + javax.annotation + ${shadeBase}.javax.annotation + + + javax.activation + ${shadeBase}.javax.activation + + + io.airlift.compress + ${shadeBase}.io.airlift.compress + + + + + *:* + + + assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties + + about.html + mozilla/public-suffix-list.txt + + META-INF/LICENSE* + META-INF/NOTICE* + META-INF/DEPENDENCIES + META-INF/maven/** + META-INF/services/com.fasterxml.* + META-INF/*.xml + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + google/protobuf/**/*.proto + + + + commons-logging:commons-logging + + org/apache/commons/logging/impl/AvalonLogger.class + + + + org.slf4j:slf4j-simple + + org/slf4j/** + + + + + + + + + + + + shade + + package + + + + + + org.codehaus.mojo + exec-maven-plugin + + + process-third-party-licenses + + exec + + generate-resources + + python3 + + ${project.basedir}/scripts/process_licenses.py + ${license.processing.dependencyListFile} + ${license.processing.dependencyJarsDir} + ${license.processing.targetDir} + + + + + + + + + + ossrh-deploy + + + ossrh-deploy + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + + sign-and-deploy-file + + deploy + + target/${project.artifactId}.jar + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2 + generated_public_pom.xml + target/${project.artifactId}-javadoc.jar + target/${project.artifactId}-sources.jar + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + + + + + + + snapshot-deploy + + + snapshot-deploy + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + + sign-and-deploy-file + + deploy + + target/${project.artifactId}.jar + snapshot + https://nexus.int.snowflakecomputing.com/repository/Snapshots/ + generated_public_pom.xml + target/${project.artifactId}-javadoc.jar + target/${project.artifactId}-sources.jar + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + + + + + + + ghActionsIT + + + ghActionsIT + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + + + + verify_github_actions_it + + verify + + verify + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${jacoco.skip.instrument} + + + + pre-unit-test + + prepare-agent + + + target/jacoco-ut.exec + + + + post-unit-test + + report + + test + + target/jacoco-ut.exec + target/jacoco-ut + + + + pre-integration-test + + prepare-agent + + pre-integration-test + + target/jacoco-it.exec + + + + post-integration-test + + report + + post-integration-test + + target/jacoco-it.exec + target/jacoco-it + + + + + + + + diff --git a/src/main/java/net/snowflake/ingest/connection/RequestBuilder.java b/src/main/java/net/snowflake/ingest/connection/RequestBuilder.java index 25359ea62..0c03e7e40 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.2.1-SNAPSHOT"; + public static final String DEFAULT_VERSION = "2.2.2"; public static final String JAVA_USER_AGENT = "JAVA"; From 2c1a4aa3820b1abed28e1740b2379493634f6d69 Mon Sep 17 00:00:00 2001 From: Toby Zhang Date: Thu, 12 Sep 2024 16:54:02 +0000 Subject: [PATCH 2/4] format --- e2e-jar-test/pom.xml | 164 +-- pom.xml | 2689 +++++++++++++++++++++--------------------- 2 files changed, 1420 insertions(+), 1433 deletions(-) diff --git a/e2e-jar-test/pom.xml b/e2e-jar-test/pom.xml index cd8475e6d..325517bba 100644 --- a/e2e-jar-test/pom.xml +++ b/e2e-jar-test/pom.xml @@ -1,97 +1,97 @@ - 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 - - core - fips - standard - + + core + fips + standard + - + - + - - com.fasterxml.jackson.core - jackson-databind - 2.17.2 - + + com.fasterxml.jackson.core + jackson-databind + 2.17.2 + - - net.snowflake - snowflake-ingest-sdk - 2.2.2 - + + net.snowflake + snowflake-ingest-sdk + 2.2.2 + - - net.snowflake - snowflake-jdbc-fips - 3.18.0 - - - net.snowflake.snowflake-ingest-java-e2e-jar-test - core - ${project.version} - + + net.snowflake + snowflake-jdbc-fips + 3.18.0 + + + net.snowflake.snowflake-ingest-java-e2e-jar-test + core + ${project.version} + - - org.bouncycastle - bc-fips - 1.0.2.5 - + + org.bouncycastle + bc-fips + 1.0.2.5 + - - org.slf4j - slf4j-simple - 1.7.36 - + + org.slf4j + slf4j-simple + 1.7.36 + - - junit - junit - 4.13.2 - test - - - + + junit + junit + 4.13.2 + test + + + - - - - com.github.ekryd.sortpom - sortpom-maven-plugin - 3.0.1 - - false - false - true - scope,groupId,artifactId - groupId,artifactId - true - true - groupId,artifactId - true - stop - strict - - - - - verify - - validate - - - - - + + + + com.github.ekryd.sortpom + sortpom-maven-plugin + 3.0.1 + + false + false + true + scope,groupId,artifactId + groupId,artifactId + true + true + groupId,artifactId + true + stop + strict + + + + + verify + + validate + + + + + diff --git a/pom.xml b/pom.xml index d9948e408..243bbce34 100644 --- a/pom.xml +++ b/pom.xml @@ -1,1392 +1,1379 @@ - 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-sdk - 2.2.2 - jar - Snowflake Ingest SDK - Snowflake Ingest SDK - https://www.snowflake.net/ + + net.snowflake + snowflake-ingest-sdk + 2.2.2 + jar + Snowflake Ingest SDK + Snowflake Ingest SDK + https://www.snowflake.net/ - - - The Apache Software License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - + + + The Apache Software License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + - - - Snowflake Support Team - snowflake-java@snowflake.net - Snowflake Computing - https://www.snowflake.net - - + + + Snowflake Support Team + snowflake-java@snowflake.net + Snowflake Computing + https://www.snowflake.net + + - - scm:git:git://github.com/snowflakedb/snowflake-ingest-java - https://github.com/snowflakedb/snowflake-ingest-java/tree/master - + + scm:git:git://github.com/snowflakedb/snowflake-ingest-java + https://github.com/snowflakedb/snowflake-ingest-java/tree/master + - - - 1.78.1 - 1.9.13 - 1.15 - 3.2.2 - 1.26.0 - 2.10.1 - 2.15.1 - 3.14.0 - 1.3.3 - 1.11.0 - 2.17.2 - 32.0.1-jre - 3.3.6 - true - 0.8.5 - ${project.build.directory}/dependency-jars - - ${project.build.directory}/dependency-list.txt - - ${project.build.directory}/generated-licenses-info - - ${license.processing.resourcesRoot}/META-INF/third-party-licenses - - 1.8 - 1.8 - 2.4.9 - 4.1.94.Final - 9.37.3 - 3.1 - 1.14.1 - 2.0.9 - UTF-8 - 4.27.2 - net.snowflake.ingest.internal - 1.7.36 - 1.1.10.5 - 3.18.0 - 0.13.0 - + + + 1.78.1 + 1.9.13 + 1.15 + 3.2.2 + 1.26.0 + 2.10.1 + 2.15.1 + 3.14.0 + 1.3.3 + 1.11.0 + 2.17.2 + 32.0.1-jre + 3.3.6 + true + 0.8.5 + ${project.build.directory}/dependency-jars + ${project.build.directory}/dependency-list.txt + ${project.build.directory}/generated-licenses-info + ${license.processing.resourcesRoot}/META-INF/third-party-licenses + 1.8 + 1.8 + 2.4.9 + 4.1.94.Final + 9.37.3 + 3.1 + 1.14.1 + 2.0.9 + UTF-8 + 4.27.2 + net.snowflake.ingest.internal + 1.7.36 + 1.1.10.5 + 3.18.0 + 0.13.0 + - - - - com.fasterxml.jackson - jackson-bom - ${fasterxml.version} - pom - import - - - com.google.guava - guava - ${guava.version} - - - com.google.protobuf - protobuf-java - ${protobuf.version} - - - com.nimbusds - nimbus-jose-jwt - ${nimbusds.version} - - - commons-codec - commons-codec - ${commonscodec.version} - - - commons-collections - commons-collections - ${commonscollections.version} - - - commons-io - commons-io - ${commonsio.version} - - - commons-logging - commons-logging - ${commonslogging.version} - - - io.netty - netty-buffer - ${netty.version} - - - io.netty - netty-common - ${netty.version} - - - net.minidev - json-smart - ${net.minidev.version} - - - net.snowflake - snowflake-jdbc - ${snowjdbc.version} - - - org.apache.commons - commons-compress - ${commonscompress.version} - - - org.apache.commons - commons-configuration2 - ${commonsconfiguration2.version} - - - org.apache.commons - commons-lang3 - ${commonslang3.version} - - - org.apache.commons - commons-text - ${commonstext.version} - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - ch.qos.reload4j - reload4j - - - com.github.pjfanning - jersey-json - - - com.jcraft - jsch - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-server - - - com.sun.jersey - jersey-servlet - - - commons-logging - commons-logging - - - dnsjava - dnsjava - - - io.dropwizard.metrics - metrics-core - - - javax.activation - activation - - - javax.servlet - javax.servlet-api - - - javax.servlet.jsp - jsp-api - - - org.apache.avro - avro - - - org.apache.curator - curator-client - - - org.apache.curator - curator-recipes - - - org.apache.hadoop - hadoop-auth - - - org.apache.httpcomponents - httpclient - - - org.apache.kerby - kerb-core - - - org.apache.zookeeper - zookeeper - - - org.eclipse.jetty - jetty-server - - - org.eclipse.jetty - jetty-servlet - - - org.eclipse.jetty - jetty-util - - - org.eclipse.jetty - jetty-webapp - - - org.slf4j - slf4j-log4j12 - - - org.slf4j - slf4j-reload4j - - - - - org.apache.parquet - parquet-column - ${parquet.version} - - - org.apache.parquet - parquet-common - ${parquet.version} - - - org.apache.parquet - parquet-hadoop - ${parquet.version} - - - org.apache.yetus - audience-annotations - ${yetus.version} - - - org.bouncycastle - bcpkix-jdk18on - ${bouncycastle.version} - - - org.bouncycastle - bcprov-jdk18on - ${bouncycastle.version} - - - org.codehaus.jackson - jackson-core-asl - ${codehaus.version} - - - org.codehaus.jackson - jackson-jaxrs - ${codehaus.version} - - - org.codehaus.jackson - jackson-xc - ${codehaus.version} - - - org.codehaus.jettison - jettison - 1.5.4 - - - org.codehaus.woodstox - stax2-api - 4.2.1 - - - org.objenesis - objenesis - ${objenesis.version} - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.xerial.snappy - snappy-java - ${snappy.version} - + + + + com.fasterxml.jackson + jackson-bom + ${fasterxml.version} + pom + import + + + com.google.guava + guava + ${guava.version} + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + com.nimbusds + nimbus-jose-jwt + ${nimbusds.version} + + + commons-codec + commons-codec + ${commonscodec.version} + + + commons-collections + commons-collections + ${commonscollections.version} + + + commons-io + commons-io + ${commonsio.version} + + + commons-logging + commons-logging + ${commonslogging.version} + + + io.netty + netty-buffer + ${netty.version} + + + io.netty + netty-common + ${netty.version} + + + net.minidev + json-smart + ${net.minidev.version} + + + net.snowflake + snowflake-jdbc + ${snowjdbc.version} + + + org.apache.commons + commons-compress + ${commonscompress.version} + + + org.apache.commons + commons-configuration2 + ${commonsconfiguration2.version} + + + org.apache.commons + commons-lang3 + ${commonslang3.version} + + + org.apache.commons + commons-text + ${commonstext.version} + + + org.apache.hadoop + hadoop-common + ${hadoop.version} + + + ch.qos.reload4j + reload4j + + + com.github.pjfanning + jersey-json + + + com.jcraft + jsch + + + com.sun.jersey + jersey-core + + + com.sun.jersey + jersey-server + + + com.sun.jersey + jersey-servlet + + + commons-logging + commons-logging + + + dnsjava + dnsjava + + + io.dropwizard.metrics + metrics-core + + + javax.activation + activation + + + javax.servlet + javax.servlet-api + + + javax.servlet.jsp + jsp-api + + + org.apache.avro + avro + + + org.apache.curator + curator-client + + + org.apache.curator + curator-recipes + + + org.apache.hadoop + hadoop-auth + + + org.apache.httpcomponents + httpclient + + + org.apache.kerby + kerb-core + + + org.apache.zookeeper + zookeeper + + + org.eclipse.jetty + jetty-server + + + org.eclipse.jetty + jetty-servlet + + + org.eclipse.jetty + jetty-util + + + org.eclipse.jetty + jetty-webapp + + + org.slf4j + slf4j-log4j12 + + + org.slf4j + slf4j-reload4j + + + + + org.apache.parquet + parquet-column + ${parquet.version} + + + org.apache.parquet + parquet-common + ${parquet.version} + + + org.apache.parquet + parquet-hadoop + ${parquet.version} + + + org.apache.yetus + audience-annotations + ${yetus.version} + + + org.bouncycastle + bcpkix-jdk18on + ${bouncycastle.version} + + + org.bouncycastle + bcprov-jdk18on + ${bouncycastle.version} + + + org.codehaus.jackson + jackson-core-asl + ${codehaus.version} + + + org.codehaus.jackson + jackson-jaxrs + ${codehaus.version} + + + org.codehaus.jackson + jackson-xc + ${codehaus.version} + + + org.codehaus.jettison + jettison + 1.5.4 + + + org.codehaus.woodstox + stax2-api + 4.2.1 + + + org.objenesis + objenesis + ${objenesis.version} + + + org.slf4j + slf4j-api + ${slf4j.version} + + + org.xerial.snappy + snappy-java + ${snappy.version} + - - - junit - junit - 4.13.2 - test - - - net.bytebuddy - byte-buddy - 1.14.9 - test - - - net.bytebuddy - byte-buddy-agent - 1.14.9 - test - - - org.apache.hadoop - hadoop-mapreduce-client-core - ${hadoop.version} - test - - - jakarta.xml.bind - jakarta.xml.bind-api - - - javax.xml.bind - jaxb-api - - - org.slf4j - slf4j-reload4j - - - org.slf4j - slf4j-simple - - - - - org.mockito - mockito-core - 3.7.7 - test - - - org.openjdk.jmh - jmh-core - 1.34 - test - - - org.openjdk.jmh - jmh-generator-annprocess - 1.34 - test - - - + + + junit + junit + 4.13.2 + test + + + net.bytebuddy + byte-buddy + 1.14.9 + test + + + net.bytebuddy + byte-buddy-agent + 1.14.9 + test + + + org.apache.hadoop + hadoop-mapreduce-client-core + ${hadoop.version} + test + + + jakarta.xml.bind + jakarta.xml.bind-api + + + javax.xml.bind + jaxb-api + + + org.slf4j + slf4j-reload4j + + + org.slf4j + slf4j-simple + + + + + org.mockito + mockito-core + 3.7.7 + test + + + org.openjdk.jmh + jmh-core + 1.34 + test + + + org.openjdk.jmh + jmh-generator-annprocess + 1.34 + test + + + - - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-core - - - - com.fasterxml.jackson.core - jackson-databind - + + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-core + + + + com.fasterxml.jackson.core + jackson-databind + - - - - com.github.ben-manes.caffeine - caffeine - 2.9.3 - - - - com.google.errorprone - error_prone_annotations - - - org.checkerframework - checker-qual - - - - - com.google.code.findbugs - jsr305 - 3.0.2 - - - com.google.guava - guava - + + + + com.github.ben-manes.caffeine + caffeine + 2.9.3 + + + + com.google.errorprone + error_prone_annotations + + + org.checkerframework + checker-qual + + + + + com.google.code.findbugs + jsr305 + 3.0.2 + + + com.google.guava + guava + - - - com.nimbusds - nimbus-jose-jwt - - - commons-codec - commons-codec - - - commons-io - commons-io - + + + com.nimbusds + nimbus-jose-jwt + + + commons-codec + commons-codec + + + commons-io + commons-io + - - - io.dropwizard.metrics - metrics-core - 4.1.22 - + + + io.dropwizard.metrics + metrics-core + 4.1.22 + - - - io.dropwizard.metrics - metrics-jmx - 4.1.22 - + + + io.dropwizard.metrics + metrics-jmx + 4.1.22 + - - - io.dropwizard.metrics - metrics-jvm - 4.1.22 - - - io.netty - netty-common - - - net.bytebuddy - byte-buddy-agent - - - - net.snowflake - snowflake-jdbc - - - org.apache.commons - commons-compress - + + + io.dropwizard.metrics + metrics-jvm + 4.1.22 + + + io.netty + netty-common + + + net.bytebuddy + byte-buddy-agent + + + + net.snowflake + snowflake-jdbc + + + org.apache.commons + commons-compress + - - - org.apache.commons - commons-configuration2 - - - org.apache.hadoop - hadoop-common - - - org.apache.hadoop - hadoop-mapreduce-client-core - - - - org.apache.parquet - parquet-column - - - org.apache.parquet - parquet-common - - - - javax.annotation - javax.annotation-api - - - - - org.apache.parquet - parquet-hadoop - + + + org.apache.commons + commons-configuration2 + + + org.apache.hadoop + hadoop-common + + + org.apache.hadoop + hadoop-mapreduce-client-core + + + + org.apache.parquet + parquet-column + + + org.apache.parquet + parquet-common + + + + javax.annotation + javax.annotation-api + + + + + org.apache.parquet + parquet-hadoop + - - org.bouncycastle - bcpkix-jdk18on - - - org.bouncycastle - bcprov-jdk18on - - - org.slf4j - slf4j-api - - - com.github.luben - zstd-jni - 1.5.6-2 - runtime - - - com.google.protobuf - protobuf-java - runtime - - - org.xerial.snappy - snappy-java - runtime - + + org.bouncycastle + bcpkix-jdk18on + + + org.bouncycastle + bcprov-jdk18on + + + org.slf4j + slf4j-api + + + com.github.luben + zstd-jni + 1.5.6-2 + runtime + + + com.google.protobuf + protobuf-java + runtime + + + org.xerial.snappy + snappy-java + runtime + - - - junit - junit - test - - - org.apache.commons - commons-lang3 - test - - - org.hamcrest - hamcrest-core - 1.3 - test - - - org.mockito - mockito-core - test - - - org.openjdk.jmh - jmh-core - test - - - org.openjdk.jmh - jmh-generator-annprocess - test - - - org.powermock - powermock-api-mockito2 - ${powermock.version} - test - - - org.powermock - powermock-core - ${powermock.version} - test - - - org.powermock - powermock-module-junit4 - ${powermock.version} - test - - - - org.slf4j - slf4j-simple - ${slf4j.version} - test - - + + + junit + junit + test + + + org.apache.commons + commons-lang3 + test + + + org.hamcrest + hamcrest-core + 1.3 + test + + + org.mockito + mockito-core + test + + + org.openjdk.jmh + jmh-core + test + + + org.openjdk.jmh + jmh-generator-annprocess + test + + + org.powermock + powermock-api-mockito2 + ${powermock.version} + test + + + org.powermock + powermock-core + ${powermock.version} + test + + + org.powermock + powermock-module-junit4 + ${powermock.version} + test + + + + org.slf4j + slf4j-simple + ${slf4j.version} + test + + - - ${project.artifactId} - - - true - src/main/resources - - - ${license.processing.resourcesRoot} - - + + ${project.artifactId} + + + true + src/main/resources + + + ${license.processing.resourcesRoot} + + - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.6.0 - - - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.4.1 - - - com.google.cloud.tools - linkage-checker-enforcer-rules - 1.5.13 - - - org.codehaus.mojo - extra-enforcer-rules - 1.3 - - - org.eclipse.aether - aether-util - - - - - + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.6.0 + + + maven-deploy-plugin + + true + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.4.1 + + + com.google.cloud.tools + linkage-checker-enforcer-rules + 1.5.13 + + + org.codehaus.mojo + extra-enforcer-rules + 1.3 + + + org.eclipse.aether + aether-util + + + + + - - - - org.apache.maven.plugins - maven-failsafe-plugin - 3.0.0-M5 - - - org.apache.maven.plugins - maven-surefire-plugin - 3.2.5 - - - org.codehaus.mojo - exec-maven-plugin - 3.2.0 - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - ${jacoco.skip.instrument} - - **/*SnowflakeStreamingIngestExample* - **/*SnowflakeIngestBasicExample* - **/*IngestExampleHelper* - - - - - pre-unit-test - - prepare-agent - - - target/jacoco-ut.exec - - - - post-unit-test - - report - - test - - target/jacoco-ut.exec - target/jacoco-ut - - - - - - - - - com.github.ekryd.sortpom - sortpom-maven-plugin - 3.0.1 - - false - false - true - scope,groupId,artifactId - groupId,artifactId - true - true - groupId,artifactId - true - stop - strict - - - - - verify - - validate - - - - - maven-assembly-plugin - - - - true - net.snowflake.ingest.SimpleIngestManager - - - - jar-with-dependencies - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - true - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-dependency-plugin - - - analyze - - analyze-only - - - true - true - - + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0-M5 + + + org.apache.maven.plugins + maven-surefire-plugin + 3.2.5 + + + org.codehaus.mojo + exec-maven-plugin + 3.2.0 + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${jacoco.skip.instrument} + + **/*SnowflakeStreamingIngestExample* + **/*SnowflakeIngestBasicExample* + **/*IngestExampleHelper* + + + + + pre-unit-test + + prepare-agent + + + target/jacoco-ut.exec + + + + post-unit-test + + report + + test + + target/jacoco-ut.exec + target/jacoco-ut + + + + + + + + + com.github.ekryd.sortpom + sortpom-maven-plugin + 3.0.1 + + false + false + true + scope,groupId,artifactId + groupId,artifactId + true + true + groupId,artifactId + true + stop + strict + + + + + verify + + validate + + + + + maven-assembly-plugin + + + + true + net.snowflake.ingest.SimpleIngestManager + + + + jar-with-dependencies + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + true + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-dependency-plugin + + + analyze + + analyze-only + + + true + true + + - org.apache.commons:commons-compress - org.apache.commons:commons-configuration2 - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-best-practices - - enforce - - - - - - META-INF/versions/*/org/bouncycastle/* - META-INF/versions/*/com/fasterxml/jackson/core/io/doubleparser/* - - - true - true - - - - - - - - - - enforce-maven - - enforce - - - - - 3.5 - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - - jar - - - -Xdoclint:none - 8 - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/TestSimpleIngestLocal.java - - - - - org.codehaus.mojo - license-maven-plugin - 2.0.1 - - failFast - - - Apache License 2.0 - BSD 2-Clause License - 3-Clause BSD License - The MIT License - EDL 1.0 - The Go license - Bouncy Castle Licence - - test,provided,system - true - - Apache License 2.0 + + Apache License 2.0 + BSD 2-Clause License + 3-Clause BSD License + The MIT License + EDL 1.0 + The Go license + Bouncy Castle Licence + + test,provided,system + true + + Apache License 2.0 |The Apache License, Version 2.0 |The Apache Software License, Version 2.0 |Apache-2.0 |Apache License, Version 2.0 |Apache 2.0 - |Apache License V2.0 - - BSD 2-Clause License - |The BSD License - - The MIT License|MIT License - 3-Clause BSD License|BSD-3-Clause - - - - - add-third-party - - add-third-party - - package - - - - - + |Apache License V2.0 + BSD 2-Clause License + |The BSD License + The MIT License|MIT License + 3-Clause BSD License|BSD-3-Clause + + + + + add-third-party + + add-third-party + + package + + + + + - - - checkLinkageErrors - - - - not-shadeDep - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-linkage-checker - - enforce - - - none - - - - - true - ${basedir}/linkage-checker-exclusion-rules.xml - - WARN - - - - - - - - - - + + + checkLinkageErrors + + + + not-shadeDep + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-linkage-checker + + enforce + + + none + + + + + true + ${basedir}/linkage-checker-exclusion-rules.xml + WARN + + + + + + + + + + - - + + - - - - - checkShadedContent - - false - - - - - org.codehaus.mojo - exec-maven-plugin - - - check-shaded-content - - exec - - verify - - ${basedir}/scripts/check_content.sh - - - - - - - - - shadeDep - - - !not-shadeDep - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - - - list - - generate-resources - - runtime - ${license.processing.dependencyListFile} - - - - - copy-dependencies - - copy-dependencies - - generate-resources - - ${license.processing.dependencyJarsDir} - false - false - true - - - - + + + + + checkShadedContent + + false + + + + + org.codehaus.mojo + exec-maven-plugin + + + check-shaded-content + + exec + + verify + + ${basedir}/scripts/check_content.sh + + + + + + + + + shadeDep + + + !not-shadeDep + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + + list + + generate-resources + + runtime + ${license.processing.dependencyListFile} + + + + + copy-dependencies + + copy-dependencies + + generate-resources + + ${license.processing.dependencyJarsDir} + false + false + true + + + + - - - org.apache.maven.plugins - maven-shade-plugin - 3.5.2 - - - - net.snowflake:snowflake-jdbc - org.slf4j:slf4j-api - com.github.luben:zstd-jni - - - - - com.nimbusds - ${shadeBase}.com.nimbusds - - - org.bouncycastle - ${shadeBase}.org.bouncycastle - - - net.jcip - ${shadeBase}.net.jcip - - - net.minidev - ${shadeBase}.net.minidev - - - org.objectweb - ${shadeBase}.org.objectweb - - - com.fasterxml - ${shadeBase}.fasterxml - - - org.apache - ${shadeBase}.apache - - - org.xbill - ${shadeBase}.org.xbill - - - org.xerial - ${shadeBase}.org.xerial - - - io.netty - ${shadeBase}.io.netty - - - com.google - ${shadeBase}.com.google - - - com.github.benmanes - ${shadeBase}.com.github.benmanes - - - - shaded.parquet - ${shadeBase}.shaded.parquet - - - org.codehaus - ${shadeBase}.org.codehaus - - - com.jcraft - ${shadeBase}.com.jcraft - - - org.eclipse - ${shadeBase}.org.eclipse - - - org.checkerframework - ${shadeBase}.org.checkerframework - - - com.codahale - ${shadeBase}.com.codahale - - - com.ctc - ${shadeBase}.com.ctc - - - com.thoughtworks - ${shadeBase}.com.thoughtworks - - - - codegen - ${shadeBase}.codegen - - - javax.annotation - ${shadeBase}.javax.annotation - - - javax.activation - ${shadeBase}.javax.activation - - - io.airlift.compress - ${shadeBase}.io.airlift.compress - - - - - *:* - - - assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties - - about.html - mozilla/public-suffix-list.txt + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.2 + + + + net.snowflake:snowflake-jdbc + org.slf4j:slf4j-api + com.github.luben:zstd-jni + + + + + com.nimbusds + ${shadeBase}.com.nimbusds + + + org.bouncycastle + ${shadeBase}.org.bouncycastle + + + net.jcip + ${shadeBase}.net.jcip + + + net.minidev + ${shadeBase}.net.minidev + + + org.objectweb + ${shadeBase}.org.objectweb + + + com.fasterxml + ${shadeBase}.fasterxml + + + org.apache + ${shadeBase}.apache + + + org.xbill + ${shadeBase}.org.xbill + + + org.xerial + ${shadeBase}.org.xerial + + + io.netty + ${shadeBase}.io.netty + + + com.google + ${shadeBase}.com.google + + + com.github.benmanes + ${shadeBase}.com.github.benmanes + + + + shaded.parquet + ${shadeBase}.shaded.parquet + + + org.codehaus + ${shadeBase}.org.codehaus + + + com.jcraft + ${shadeBase}.com.jcraft + + + org.eclipse + ${shadeBase}.org.eclipse + + + org.checkerframework + ${shadeBase}.org.checkerframework + + + com.codahale + ${shadeBase}.com.codahale + + + com.ctc + ${shadeBase}.com.ctc + + + com.thoughtworks + ${shadeBase}.com.thoughtworks + + + + codegen + ${shadeBase}.codegen + + + javax.annotation + ${shadeBase}.javax.annotation + + + javax.activation + ${shadeBase}.javax.activation + + + io.airlift.compress + ${shadeBase}.io.airlift.compress + + + + + *:* + + assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties + about.html + mozilla/public-suffix-list.txt - META-INF/LICENSE* - META-INF/NOTICE* - META-INF/DEPENDENCIES - META-INF/maven/** - META-INF/services/com.fasterxml.* - META-INF/*.xml - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - google/protobuf/**/*.proto - - - - commons-logging:commons-logging - - org/apache/commons/logging/impl/AvalonLogger.class - - - - org.slf4j:slf4j-simple - - org/slf4j/** - - - - - - - - - - - - shade - - package - - - - - - org.codehaus.mojo - exec-maven-plugin - - - process-third-party-licenses - - exec - - generate-resources - - python3 - - ${project.basedir}/scripts/process_licenses.py - ${license.processing.dependencyListFile} - ${license.processing.dependencyJarsDir} - ${license.processing.targetDir} - - - - - - - - - - ossrh-deploy - - - ossrh-deploy - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - - sign-and-deploy-file - - deploy - - target/${project.artifactId}.jar - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2 - generated_public_pom.xml - target/${project.artifactId}-javadoc.jar - target/${project.artifactId}-sources.jar - ${env.GPG_KEY_ID} - ${env.GPG_KEY_PASSPHRASE} - - - - - - - - - snapshot-deploy - - - snapshot-deploy - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - - sign-and-deploy-file - - deploy - - target/${project.artifactId}.jar - snapshot - https://nexus.int.snowflakecomputing.com/repository/Snapshots/ - generated_public_pom.xml - target/${project.artifactId}-javadoc.jar - target/${project.artifactId}-sources.jar - ${env.GPG_KEY_ID} - ${env.GPG_KEY_PASSPHRASE} - - - - - - - - - ghActionsIT - - - ghActionsIT - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - integration-test - - - - verify_github_actions_it - - verify - - verify - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - ${jacoco.skip.instrument} - - - - pre-unit-test - - prepare-agent - - - target/jacoco-ut.exec - - - - post-unit-test - - report - - test - - target/jacoco-ut.exec - target/jacoco-ut - - - - pre-integration-test - - prepare-agent - - pre-integration-test - - target/jacoco-it.exec - - - - post-integration-test - - report - - post-integration-test - - target/jacoco-it.exec - target/jacoco-it - - - - - - - - + + org.codehaus.mojo + exec-maven-plugin + + + process-third-party-licenses + + exec + + generate-resources + + python3 + + ${project.basedir}/scripts/process_licenses.py + ${license.processing.dependencyListFile} + ${license.processing.dependencyJarsDir} + ${license.processing.targetDir} + + + + + + + + + + ossrh-deploy + + + ossrh-deploy + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + + sign-and-deploy-file + + deploy + + target/${project.artifactId}.jar + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2 + generated_public_pom.xml + target/${project.artifactId}-javadoc.jar + target/${project.artifactId}-sources.jar + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + + + + + + + snapshot-deploy + + + snapshot-deploy + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + + sign-and-deploy-file + + deploy + + target/${project.artifactId}.jar + snapshot + https://nexus.int.snowflakecomputing.com/repository/Snapshots/ + generated_public_pom.xml + target/${project.artifactId}-javadoc.jar + target/${project.artifactId}-sources.jar + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + + + + + + + ghActionsIT + + + ghActionsIT + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + + + + verify_github_actions_it + + verify + + verify + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${jacoco.skip.instrument} + + + + pre-unit-test + + prepare-agent + + + target/jacoco-ut.exec + + + + post-unit-test + + report + + test + + target/jacoco-ut.exec + target/jacoco-ut + + + + pre-integration-test + + prepare-agent + + pre-integration-test + + target/jacoco-it.exec + + + + post-integration-test + + report + + post-integration-test + + target/jacoco-it.exec + target/jacoco-it + + + + + + + + From 15ae405e46945cf377bb83a7333850be022c4f36 Mon Sep 17 00:00:00 2001 From: Toby Zhang Date: Mon, 30 Sep 2024 21:38:26 +0000 Subject: [PATCH 3/4] 2.2.2-unshaded release --- e2e-jar-test/pom.xml | 164 +- pom.xml | 2697 +++++++++-------- .../ingest/connection/UserAgentTest.java | 2 + 3 files changed, 1439 insertions(+), 1424 deletions(-) diff --git a/e2e-jar-test/pom.xml b/e2e-jar-test/pom.xml index 325517bba..acb4b08b7 100644 --- a/e2e-jar-test/pom.xml +++ b/e2e-jar-test/pom.xml @@ -1,97 +1,97 @@ - 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 - - core - fips - standard - + + core + fips + standard + - + - + - - com.fasterxml.jackson.core - jackson-databind - 2.17.2 - + + com.fasterxml.jackson.core + jackson-databind + 2.17.2 + - - net.snowflake - snowflake-ingest-sdk - 2.2.2 - + + net.snowflake + snowflake-ingest-sdk + 2.2.2-unshaded + - - net.snowflake - snowflake-jdbc-fips - 3.18.0 - - - net.snowflake.snowflake-ingest-java-e2e-jar-test - core - ${project.version} - + + net.snowflake + snowflake-jdbc-fips + 3.18.0 + + + net.snowflake.snowflake-ingest-java-e2e-jar-test + core + ${project.version} + - - org.bouncycastle - bc-fips - 1.0.2.5 - + + org.bouncycastle + bc-fips + 1.0.2.5 + - - org.slf4j - slf4j-simple - 1.7.36 - + + org.slf4j + slf4j-simple + 1.7.36 + - - junit - junit - 4.13.2 - test - - - + + junit + junit + 4.13.2 + test + + + - - - - com.github.ekryd.sortpom - sortpom-maven-plugin - 3.0.1 - - false - false - true - scope,groupId,artifactId - groupId,artifactId - true - true - groupId,artifactId - true - stop - strict - - - - - verify - - validate - - - - - + + + + com.github.ekryd.sortpom + sortpom-maven-plugin + 3.0.1 + + false + false + true + scope,groupId,artifactId + groupId,artifactId + true + true + groupId,artifactId + true + stop + strict + + + + + verify + + validate + + + + + diff --git a/pom.xml b/pom.xml index 243bbce34..49c309501 100644 --- a/pom.xml +++ b/pom.xml @@ -1,1379 +1,1392 @@ - 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-sdk - 2.2.2 - jar - Snowflake Ingest SDK - Snowflake Ingest SDK - https://www.snowflake.net/ + + net.snowflake + snowflake-ingest-sdk + 2.2.2-unshaded + jar + Snowflake Ingest SDK + Snowflake Ingest SDK + https://www.snowflake.net/ - - - The Apache Software License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - + + + The Apache Software License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + - - - Snowflake Support Team - snowflake-java@snowflake.net - Snowflake Computing - https://www.snowflake.net - - + + + Snowflake Support Team + snowflake-java@snowflake.net + Snowflake Computing + https://www.snowflake.net + + - - scm:git:git://github.com/snowflakedb/snowflake-ingest-java - https://github.com/snowflakedb/snowflake-ingest-java/tree/master - + + scm:git:git://github.com/snowflakedb/snowflake-ingest-java + https://github.com/snowflakedb/snowflake-ingest-java/tree/master + - - - 1.78.1 - 1.9.13 - 1.15 - 3.2.2 - 1.26.0 - 2.10.1 - 2.15.1 - 3.14.0 - 1.3.3 - 1.11.0 - 2.17.2 - 32.0.1-jre - 3.3.6 - true - 0.8.5 - ${project.build.directory}/dependency-jars - ${project.build.directory}/dependency-list.txt - ${project.build.directory}/generated-licenses-info - ${license.processing.resourcesRoot}/META-INF/third-party-licenses - 1.8 - 1.8 - 2.4.9 - 4.1.94.Final - 9.37.3 - 3.1 - 1.14.1 - 2.0.9 - UTF-8 - 4.27.2 - net.snowflake.ingest.internal - 1.7.36 - 1.1.10.5 - 3.18.0 - 0.13.0 - + + + 1.78.1 + 1.9.13 + 1.15 + 3.2.2 + 1.26.0 + 2.10.1 + 2.15.1 + 3.14.0 + 1.3.3 + 1.11.0 + 2.17.2 + 32.0.1-jre + 3.3.6 + true + 0.8.5 + ${project.build.directory}/dependency-jars + + ${project.build.directory}/dependency-list.txt + + ${project.build.directory}/generated-licenses-info + + ${license.processing.resourcesRoot}/META-INF/third-party-licenses + + 1.8 + 1.8 + 2.4.9 + 4.1.94.Final + 9.37.3 + 3.1 + 1.14.1 + 2.0.9 + UTF-8 + 4.27.2 + net.snowflake.ingest.internal + 1.7.36 + 1.1.10.5 + 3.18.0 + 0.13.0 + - - - - com.fasterxml.jackson - jackson-bom - ${fasterxml.version} - pom - import - - - com.google.guava - guava - ${guava.version} - - - com.google.protobuf - protobuf-java - ${protobuf.version} - - - com.nimbusds - nimbus-jose-jwt - ${nimbusds.version} - - - commons-codec - commons-codec - ${commonscodec.version} - - - commons-collections - commons-collections - ${commonscollections.version} - - - commons-io - commons-io - ${commonsio.version} - - - commons-logging - commons-logging - ${commonslogging.version} - - - io.netty - netty-buffer - ${netty.version} - - - io.netty - netty-common - ${netty.version} - - - net.minidev - json-smart - ${net.minidev.version} - - - net.snowflake - snowflake-jdbc - ${snowjdbc.version} - - - org.apache.commons - commons-compress - ${commonscompress.version} - - - org.apache.commons - commons-configuration2 - ${commonsconfiguration2.version} - - - org.apache.commons - commons-lang3 - ${commonslang3.version} - - - org.apache.commons - commons-text - ${commonstext.version} - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - ch.qos.reload4j - reload4j - - - com.github.pjfanning - jersey-json - - - com.jcraft - jsch - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-server - - - com.sun.jersey - jersey-servlet - - - commons-logging - commons-logging - - - dnsjava - dnsjava - - - io.dropwizard.metrics - metrics-core - - - javax.activation - activation - - - javax.servlet - javax.servlet-api - - - javax.servlet.jsp - jsp-api - - - org.apache.avro - avro - - - org.apache.curator - curator-client - - - org.apache.curator - curator-recipes - - - org.apache.hadoop - hadoop-auth - - - org.apache.httpcomponents - httpclient - - - org.apache.kerby - kerb-core - - - org.apache.zookeeper - zookeeper - - - org.eclipse.jetty - jetty-server - - - org.eclipse.jetty - jetty-servlet - - - org.eclipse.jetty - jetty-util - - - org.eclipse.jetty - jetty-webapp - - - org.slf4j - slf4j-log4j12 - - - org.slf4j - slf4j-reload4j - - - - - org.apache.parquet - parquet-column - ${parquet.version} - - - org.apache.parquet - parquet-common - ${parquet.version} - - - org.apache.parquet - parquet-hadoop - ${parquet.version} - - - org.apache.yetus - audience-annotations - ${yetus.version} - - - org.bouncycastle - bcpkix-jdk18on - ${bouncycastle.version} - - - org.bouncycastle - bcprov-jdk18on - ${bouncycastle.version} - - - org.codehaus.jackson - jackson-core-asl - ${codehaus.version} - - - org.codehaus.jackson - jackson-jaxrs - ${codehaus.version} - - - org.codehaus.jackson - jackson-xc - ${codehaus.version} - - - org.codehaus.jettison - jettison - 1.5.4 - - - org.codehaus.woodstox - stax2-api - 4.2.1 - - - org.objenesis - objenesis - ${objenesis.version} - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.xerial.snappy - snappy-java - ${snappy.version} - - - - - junit - junit - 4.13.2 - test - - - net.bytebuddy - byte-buddy - 1.14.9 - test - - - net.bytebuddy - byte-buddy-agent - 1.14.9 - test - - - org.apache.hadoop - hadoop-mapreduce-client-core - ${hadoop.version} - test - - - jakarta.xml.bind - jakarta.xml.bind-api - - - javax.xml.bind - jaxb-api - - - org.slf4j - slf4j-reload4j - - - org.slf4j - slf4j-simple - - - - - org.mockito - mockito-core - 3.7.7 - test - - - org.openjdk.jmh - jmh-core - 1.34 - test - - - org.openjdk.jmh - jmh-generator-annprocess - 1.34 - test - - - - - - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-core - - - - com.fasterxml.jackson.core - jackson-databind - - - - - - com.github.ben-manes.caffeine - caffeine - 2.9.3 - - - - com.google.errorprone - error_prone_annotations - - - org.checkerframework - checker-qual - - - - - com.google.code.findbugs - jsr305 - 3.0.2 - - - com.google.guava - guava - - - - - com.nimbusds - nimbus-jose-jwt - - - commons-codec - commons-codec - - - commons-io - commons-io - + + + + com.fasterxml.jackson + jackson-bom + ${fasterxml.version} + pom + import + + + com.google.guava + guava + ${guava.version} + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + com.nimbusds + nimbus-jose-jwt + ${nimbusds.version} + + + commons-codec + commons-codec + ${commonscodec.version} + + + commons-collections + commons-collections + ${commonscollections.version} + + + commons-io + commons-io + ${commonsio.version} + + + commons-logging + commons-logging + ${commonslogging.version} + + + io.netty + netty-buffer + ${netty.version} + + + io.netty + netty-common + ${netty.version} + + + net.minidev + json-smart + ${net.minidev.version} + + + net.snowflake + snowflake-jdbc + ${snowjdbc.version} + + + org.apache.commons + commons-compress + ${commonscompress.version} + + + org.apache.commons + commons-configuration2 + ${commonsconfiguration2.version} + + + org.apache.commons + commons-lang3 + ${commonslang3.version} + + + org.apache.commons + commons-text + ${commonstext.version} + + + org.apache.hadoop + hadoop-common + ${hadoop.version} + + + ch.qos.reload4j + reload4j + + + com.github.pjfanning + jersey-json + + + com.jcraft + jsch + + + com.sun.jersey + jersey-core + + + com.sun.jersey + jersey-server + + + com.sun.jersey + jersey-servlet + + + commons-logging + commons-logging + + + dnsjava + dnsjava + + + io.dropwizard.metrics + metrics-core + + + javax.activation + activation + + + javax.servlet + javax.servlet-api + + + javax.servlet.jsp + jsp-api + + + org.apache.avro + avro + + + org.apache.curator + curator-client + + + org.apache.curator + curator-recipes + + + org.apache.hadoop + hadoop-auth + + + org.apache.httpcomponents + httpclient + + + org.apache.kerby + kerb-core + + + org.apache.zookeeper + zookeeper + + + org.eclipse.jetty + jetty-server + + + org.eclipse.jetty + jetty-servlet + + + org.eclipse.jetty + jetty-util + + + org.eclipse.jetty + jetty-webapp + + + org.slf4j + slf4j-log4j12 + + + org.slf4j + slf4j-reload4j + + + + + org.apache.parquet + parquet-column + ${parquet.version} + + + org.apache.parquet + parquet-common + ${parquet.version} + + + org.apache.parquet + parquet-hadoop + ${parquet.version} + + + org.apache.yetus + audience-annotations + ${yetus.version} + + + org.bouncycastle + bcpkix-jdk18on + ${bouncycastle.version} + + + org.bouncycastle + bcprov-jdk18on + ${bouncycastle.version} + + + org.codehaus.jackson + jackson-core-asl + ${codehaus.version} + + + org.codehaus.jackson + jackson-jaxrs + ${codehaus.version} + + + org.codehaus.jackson + jackson-xc + ${codehaus.version} + + + org.codehaus.jettison + jettison + 1.5.4 + + + org.codehaus.woodstox + stax2-api + 4.2.1 + + + org.objenesis + objenesis + ${objenesis.version} + + + org.slf4j + slf4j-api + ${slf4j.version} + + + org.xerial.snappy + snappy-java + ${snappy.version} + - - - io.dropwizard.metrics - metrics-core - 4.1.22 - + + + junit + junit + 4.13.2 + test + + + net.bytebuddy + byte-buddy + 1.14.9 + test + + + net.bytebuddy + byte-buddy-agent + 1.14.9 + test + + + org.apache.hadoop + hadoop-mapreduce-client-core + ${hadoop.version} + test + + + jakarta.xml.bind + jakarta.xml.bind-api + + + javax.xml.bind + jaxb-api + + + org.slf4j + slf4j-reload4j + + + org.slf4j + slf4j-simple + + + + + org.mockito + mockito-core + 3.7.7 + test + + + org.openjdk.jmh + jmh-core + 1.34 + test + + + org.openjdk.jmh + jmh-generator-annprocess + 1.34 + test + + + - - - io.dropwizard.metrics - metrics-jmx - 4.1.22 - + + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-core + + + + com.fasterxml.jackson.core + jackson-databind + - - - io.dropwizard.metrics - metrics-jvm - 4.1.22 - - - io.netty - netty-common - - - net.bytebuddy - byte-buddy-agent - - - - net.snowflake - snowflake-jdbc - - - org.apache.commons - commons-compress - + + + + com.github.ben-manes.caffeine + caffeine + 2.9.3 + + + + com.google.errorprone + error_prone_annotations + + + org.checkerframework + checker-qual + + + + + com.google.code.findbugs + jsr305 + 3.0.2 + + + com.google.guava + guava + - - - org.apache.commons - commons-configuration2 - - - org.apache.hadoop - hadoop-common - - - org.apache.hadoop - hadoop-mapreduce-client-core - - - - org.apache.parquet - parquet-column - - - org.apache.parquet - parquet-common - - - - javax.annotation - javax.annotation-api - - - - - org.apache.parquet - parquet-hadoop - + + + com.nimbusds + nimbus-jose-jwt + + + commons-codec + commons-codec + + + commons-io + commons-io + - - org.bouncycastle - bcpkix-jdk18on - - - org.bouncycastle - bcprov-jdk18on - - - org.slf4j - slf4j-api - - - com.github.luben - zstd-jni - 1.5.6-2 - runtime - - - com.google.protobuf - protobuf-java - runtime - - - org.xerial.snappy - snappy-java - runtime - + + + io.dropwizard.metrics + metrics-core + 4.1.22 + - - - junit - junit - test - - - org.apache.commons - commons-lang3 - test - - - org.hamcrest - hamcrest-core - 1.3 - test - - - org.mockito - mockito-core - test - - - org.openjdk.jmh - jmh-core - test - - - org.openjdk.jmh - jmh-generator-annprocess - test - - - org.powermock - powermock-api-mockito2 - ${powermock.version} - test - - - org.powermock - powermock-core - ${powermock.version} - test - - - org.powermock - powermock-module-junit4 - ${powermock.version} - test - - - - org.slf4j - slf4j-simple - ${slf4j.version} - test - - + + + io.dropwizard.metrics + metrics-jmx + 4.1.22 + - - ${project.artifactId} - - - true - src/main/resources - - - ${license.processing.resourcesRoot} - - + + + io.dropwizard.metrics + metrics-jvm + 4.1.22 + + + io.netty + netty-common + + + net.bytebuddy + byte-buddy-agent + + + + net.snowflake + snowflake-jdbc + + + org.apache.commons + commons-compress + - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.6.0 - - - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.4.1 - - - com.google.cloud.tools - linkage-checker-enforcer-rules - 1.5.13 - - - org.codehaus.mojo - extra-enforcer-rules - 1.3 - + + + org.apache.commons + commons-configuration2 + + + org.apache.hadoop + hadoop-common + + + org.apache.hadoop + hadoop-mapreduce-client-core + + + + org.apache.parquet + parquet-column + + + org.apache.parquet + parquet-common + + - org.eclipse.aether - aether-util + javax.annotation + javax.annotation-api - - - - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - 3.0.0-M5 - - - org.apache.maven.plugins - maven-surefire-plugin - 3.2.5 - - - org.codehaus.mojo - exec-maven-plugin - 3.2.0 - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - ${jacoco.skip.instrument} - - **/*SnowflakeStreamingIngestExample* - **/*SnowflakeIngestBasicExample* - **/*IngestExampleHelper* - - - - - pre-unit-test - - prepare-agent - - - target/jacoco-ut.exec - - - - post-unit-test - - report - - test - - target/jacoco-ut.exec - target/jacoco-ut - - - - - - - - - com.github.ekryd.sortpom - sortpom-maven-plugin - 3.0.1 - - false - false - true - scope,groupId,artifactId - groupId,artifactId - true - true - groupId,artifactId - true - stop - strict - - - - - verify - - validate - - - - - maven-assembly-plugin - - - - true - net.snowflake.ingest.SimpleIngestManager - - - - jar-with-dependencies - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - true - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-dependency-plugin - - - analyze - - analyze-only - - - true - true - - - org.apache.commons:commons-compress - org.apache.commons:commons-configuration2 - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-best-practices - - enforce - - - - - - META-INF/versions/*/org/bouncycastle/* - META-INF/versions/*/com/fasterxml/jackson/core/io/doubleparser/* - - true - true - - - - - - - - - - enforce-maven - - enforce - - - - - 3.5 - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - - jar - - - -Xdoclint:none - 8 - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/TestSimpleIngestLocal.java - - - - - org.codehaus.mojo - license-maven-plugin - 2.0.1 - - failFast - - - Apache License 2.0 - BSD 2-Clause License - 3-Clause BSD License - The MIT License - EDL 1.0 - The Go license - Bouncy Castle Licence - - test,provided,system - true - - Apache License 2.0 - |The Apache License, Version 2.0 - |The Apache Software License, Version 2.0 - |Apache-2.0 - |Apache License, Version 2.0 - |Apache 2.0 - |Apache License V2.0 - BSD 2-Clause License - |The BSD License - The MIT License|MIT License - 3-Clause BSD License|BSD-3-Clause - - - - - add-third-party - - add-third-party - - package - - - - - + + + + org.apache.parquet + parquet-hadoop + - - - checkLinkageErrors - - - - not-shadeDep - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-linkage-checker - - enforce - - - none - - - - - true - ${basedir}/linkage-checker-exclusion-rules.xml - WARN - - - - - - - - - - + + org.bouncycastle + bcpkix-jdk18on + + + org.bouncycastle + bcprov-jdk18on + + + org.slf4j + slf4j-api + + + com.github.luben + zstd-jni + 1.5.6-2 + runtime + + + com.google.protobuf + protobuf-java + runtime + + + org.xerial.snappy + snappy-java + runtime + - - + + + junit + junit + test + + + org.apache.commons + commons-lang3 + test + + + org.hamcrest + hamcrest-core + 1.3 + test + + + org.mockito + mockito-core + test + + + org.openjdk.jmh + jmh-core + test + + + org.openjdk.jmh + jmh-generator-annprocess + test + + + org.powermock + powermock-api-mockito2 + ${powermock.version} + test + + + org.powermock + powermock-core + ${powermock.version} + test + + + org.powermock + powermock-module-junit4 + ${powermock.version} + test + + + + org.slf4j + slf4j-simple + ${slf4j.version} + test + + - - - - - checkShadedContent - - false - - - - - org.codehaus.mojo - exec-maven-plugin - - - check-shaded-content - - exec - - verify - - ${basedir}/scripts/check_content.sh - - - - - - - - - shadeDep - - - !not-shadeDep - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - - - list - - generate-resources - - runtime - ${license.processing.dependencyListFile} - - - - - copy-dependencies - - copy-dependencies - - generate-resources - - ${license.processing.dependencyJarsDir} - false - false - true - - - - + + ${project.artifactId} + + + true + src/main/resources + + + ${license.processing.resourcesRoot} + + - - - org.apache.maven.plugins - maven-shade-plugin - 3.5.2 - - - - net.snowflake:snowflake-jdbc - org.slf4j:slf4j-api - com.github.luben:zstd-jni - - - - - com.nimbusds - ${shadeBase}.com.nimbusds - - - org.bouncycastle - ${shadeBase}.org.bouncycastle - - - net.jcip - ${shadeBase}.net.jcip - - - net.minidev - ${shadeBase}.net.minidev - - - org.objectweb - ${shadeBase}.org.objectweb - - - com.fasterxml - ${shadeBase}.fasterxml - - - org.apache - ${shadeBase}.apache - - - org.xbill - ${shadeBase}.org.xbill - - - org.xerial - ${shadeBase}.org.xerial - - - io.netty - ${shadeBase}.io.netty - - - com.google - ${shadeBase}.com.google - - - com.github.benmanes - ${shadeBase}.com.github.benmanes - - - - shaded.parquet - ${shadeBase}.shaded.parquet - - - org.codehaus - ${shadeBase}.org.codehaus - - - com.jcraft - ${shadeBase}.com.jcraft - - - org.eclipse - ${shadeBase}.org.eclipse - - - org.checkerframework - ${shadeBase}.org.checkerframework - - - com.codahale - ${shadeBase}.com.codahale - - - com.ctc - ${shadeBase}.com.ctc - - - com.thoughtworks - ${shadeBase}.com.thoughtworks - - - - codegen - ${shadeBase}.codegen - - - javax.annotation - ${shadeBase}.javax.annotation - - - javax.activation - ${shadeBase}.javax.activation - - - io.airlift.compress - ${shadeBase}.io.airlift.compress - - - - - *:* - - assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties - about.html - mozilla/public-suffix-list.txt + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.6.0 + + + maven-deploy-plugin + + true + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.4.1 + + + com.google.cloud.tools + linkage-checker-enforcer-rules + 1.5.13 + + + org.codehaus.mojo + extra-enforcer-rules + 1.3 + + + org.eclipse.aether + aether-util + + + + + - META-INF/LICENSE* - META-INF/NOTICE* - META-INF/DEPENDENCIES - META-INF/maven/** - META-INF/services/com.fasterxml.* - META-INF/*.xml - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - google/protobuf/**/*.proto - - - - commons-logging:commons-logging - - org/apache/commons/logging/impl/AvalonLogger.class - - - - org.slf4j:slf4j-simple - - org/slf4j/** - - - - - - - - - - - - shade - - package - - - - - - org.codehaus.mojo - exec-maven-plugin - - - process-third-party-licenses - - exec - - generate-resources - - python3 - - ${project.basedir}/scripts/process_licenses.py - ${license.processing.dependencyListFile} - ${license.processing.dependencyJarsDir} - ${license.processing.targetDir} - - - - - - - - - - ossrh-deploy - - - ossrh-deploy - - - + + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0-M5 + + + org.apache.maven.plugins + maven-surefire-plugin + 3.2.5 + + + org.codehaus.mojo + exec-maven-plugin + 3.2.0 + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${jacoco.skip.instrument} + + **/*SnowflakeStreamingIngestExample* + **/*SnowflakeIngestBasicExample* + **/*IngestExampleHelper* + + + + + pre-unit-test + + prepare-agent + + + target/jacoco-ut.exec + + + + post-unit-test + + report + + test + + target/jacoco-ut.exec + target/jacoco-ut + + + + + + - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - - sign-and-deploy-file - - deploy + + com.github.ekryd.sortpom + sortpom-maven-plugin + 3.0.1 - target/${project.artifactId}.jar - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2 - generated_public_pom.xml - target/${project.artifactId}-javadoc.jar - target/${project.artifactId}-sources.jar - ${env.GPG_KEY_ID} - ${env.GPG_KEY_PASSPHRASE} + false + false + true + scope,groupId,artifactId + groupId,artifactId + true + true + groupId,artifactId + true + stop + strict - - - - - - - - snapshot-deploy - - - snapshot-deploy - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - - sign-and-deploy-file - - deploy + + + + verify + + validate + + + + + maven-assembly-plugin - target/${project.artifactId}.jar - snapshot - https://nexus.int.snowflakecomputing.com/repository/Snapshots/ - generated_public_pom.xml - target/${project.artifactId}-javadoc.jar - target/${project.artifactId}-sources.jar - ${env.GPG_KEY_ID} - ${env.GPG_KEY_PASSPHRASE} + + + true + net.snowflake.ingest.SimpleIngestManager + + + + jar-with-dependencies + - - - - - - - - ghActionsIT - - - ghActionsIT - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - integration-test - - - - verify_github_actions_it - - verify - - verify - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - ${jacoco.skip.instrument} - - - - pre-unit-test - - prepare-agent - - - target/jacoco-ut.exec - - - - post-unit-test - - report - - test + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + true - target/jacoco-ut.exec - target/jacoco-ut + 1.8 + 1.8 - - - pre-integration-test - - prepare-agent - - pre-integration-test + + + org.apache.maven.plugins + maven-dependency-plugin + + + analyze + + analyze-only + + + true + true + + + org.apache.commons:commons-compress + org.apache.commons:commons-configuration2 + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-best-practices + + enforce + + + + + + META-INF/versions/*/org/bouncycastle/* + META-INF/versions/*/com/fasterxml/jackson/core/io/doubleparser/* + + + true + true + + + + + + + + + + enforce-maven + + enforce + + + + + 3.5 + + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + -Xdoclint:none + 8 + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + + jar + + + + + + org.apache.maven.plugins + maven-surefire-plugin - target/jacoco-it.exec + + **/TestSimpleIngestLocal.java + - - - post-integration-test - - report - - post-integration-test + + + org.codehaus.mojo + license-maven-plugin + 2.0.1 - target/jacoco-it.exec - target/jacoco-it + failFast + + + Apache License 2.0 + BSD 2-Clause License + 3-Clause BSD License + The MIT License + EDL 1.0 + The Go license + Bouncy Castle Licence + + test,provided,system + true + + Apache License 2.0 + |The Apache License, Version 2.0 + |The Apache Software License, Version 2.0 + |Apache-2.0 + |Apache License, Version 2.0 + |Apache 2.0 + |Apache License V2.0 + + BSD 2-Clause License + |The BSD License + + The MIT License|MIT License + 3-Clause BSD License|BSD-3-Clause + - - - + + + add-third-party + + add-third-party + + package + + + - - - + + + + + checkLinkageErrors + + + + not-shadeDep + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-linkage-checker + + enforce + + + none + + + + + true + ${basedir}/linkage-checker-exclusion-rules.xml + + WARN + + + + + + + + + + + + + + + + + + + checkShadedContent + + false + + + + + org.codehaus.mojo + exec-maven-plugin + + + check-shaded-content + + exec + + verify + + ${basedir}/scripts/check_content.sh + + + + + + + + + shadeDep + + + !not-shadeDep + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + + list + + generate-resources + + runtime + ${license.processing.dependencyListFile} + + + + + copy-dependencies + + copy-dependencies + + generate-resources + + ${license.processing.dependencyJarsDir} + false + false + true + + + + + + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.2 + + + + net.snowflake:snowflake-jdbc + org.slf4j:slf4j-api + com.github.luben:zstd-jni + + + + + com.nimbusds + ${shadeBase}.com.nimbusds + + + org.bouncycastle + ${shadeBase}.org.bouncycastle + + + net.jcip + ${shadeBase}.net.jcip + + + net.minidev + ${shadeBase}.net.minidev + + + org.objectweb + ${shadeBase}.org.objectweb + + + com.fasterxml + ${shadeBase}.fasterxml + + + org.apache + ${shadeBase}.apache + + + org.xbill + ${shadeBase}.org.xbill + + + org.xerial + ${shadeBase}.org.xerial + + + io.netty + ${shadeBase}.io.netty + + + com.google + ${shadeBase}.com.google + + + com.github.benmanes + ${shadeBase}.com.github.benmanes + + + + shaded.parquet + ${shadeBase}.shaded.parquet + + + org.codehaus + ${shadeBase}.org.codehaus + + + com.jcraft + ${shadeBase}.com.jcraft + + + org.eclipse + ${shadeBase}.org.eclipse + + + org.checkerframework + ${shadeBase}.org.checkerframework + + + com.codahale + ${shadeBase}.com.codahale + + + com.ctc + ${shadeBase}.com.ctc + + + com.thoughtworks + ${shadeBase}.com.thoughtworks + + + + codegen + ${shadeBase}.codegen + + + javax.annotation + ${shadeBase}.javax.annotation + + + javax.activation + ${shadeBase}.javax.activation + + + io.airlift.compress + ${shadeBase}.io.airlift.compress + + + + + *:* + + + assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties + + about.html + mozilla/public-suffix-list.txt + + META-INF/LICENSE* + META-INF/NOTICE* + META-INF/DEPENDENCIES + META-INF/maven/** + META-INF/services/com.fasterxml.* + META-INF/*.xml + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + google/protobuf/**/*.proto + + + + commons-logging:commons-logging + + org/apache/commons/logging/impl/AvalonLogger.class + + + + org.slf4j:slf4j-simple + + org/slf4j/** + + + + + + + + + + + + shade + + package + + + + + + org.codehaus.mojo + exec-maven-plugin + + + process-third-party-licenses + + exec + + generate-resources + + python3 + + ${project.basedir}/scripts/process_licenses.py + ${license.processing.dependencyListFile} + ${license.processing.dependencyJarsDir} + ${license.processing.targetDir} + + + + + + + + + + ossrh-deploy + + + ossrh-deploy + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + + sign-and-deploy-file + + deploy + + target/${project.artifactId}.jar + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2 + generated_public_pom.xml + target/${project.artifactId}-javadoc.jar + target/${project.artifactId}-sources.jar + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + + + + + + + snapshot-deploy + + + snapshot-deploy + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + + sign-and-deploy-file + + deploy + + target/${project.artifactId}.jar + snapshot + https://nexus.int.snowflakecomputing.com/repository/Snapshots/ + generated_public_pom.xml + target/${project.artifactId}-javadoc.jar + target/${project.artifactId}-sources.jar + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + + + + + + + ghActionsIT + + + ghActionsIT + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + + + + verify_github_actions_it + + verify + + verify + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${jacoco.skip.instrument} + + + + pre-unit-test + + prepare-agent + + + target/jacoco-ut.exec + + + + post-unit-test + + report + + test + + target/jacoco-ut.exec + target/jacoco-ut + + + + pre-integration-test + + prepare-agent + + pre-integration-test + + target/jacoco-it.exec + + + + post-integration-test + + report + + post-integration-test + + target/jacoco-it.exec + target/jacoco-it + + + + + + + + diff --git a/src/test/java/net/snowflake/ingest/connection/UserAgentTest.java b/src/test/java/net/snowflake/ingest/connection/UserAgentTest.java index 396dfa9ae..3ca7f66f1 100644 --- a/src/test/java/net/snowflake/ingest/connection/UserAgentTest.java +++ b/src/test/java/net/snowflake/ingest/connection/UserAgentTest.java @@ -5,10 +5,12 @@ import java.util.Properties; import net.snowflake.ingest.SimpleIngestManager; import org.junit.Assert; +import org.junit.Ignore; import org.junit.Test; public class UserAgentTest { @Test + @Ignore public void testDefaultSdkVersionMatchesProjectVersion() throws IOException { Properties properties = new Properties(); try (InputStream is = From 856fc2517c557d2004fb2a35af44c135f5d7bd4f Mon Sep 17 00:00:00 2001 From: Toby Zhang Date: Mon, 30 Sep 2024 21:39:07 +0000 Subject: [PATCH 4/4] unshaded release --- e2e-jar-test/pom.xml | 164 +-- pom.xml | 2689 +++++++++++++++++++++--------------------- 2 files changed, 1420 insertions(+), 1433 deletions(-) diff --git a/e2e-jar-test/pom.xml b/e2e-jar-test/pom.xml index acb4b08b7..430ca3c84 100644 --- a/e2e-jar-test/pom.xml +++ b/e2e-jar-test/pom.xml @@ -1,97 +1,97 @@ - 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 - - core - fips - standard - + + core + fips + standard + - + - + - - com.fasterxml.jackson.core - jackson-databind - 2.17.2 - + + com.fasterxml.jackson.core + jackson-databind + 2.17.2 + - - net.snowflake - snowflake-ingest-sdk - 2.2.2-unshaded - + + net.snowflake + snowflake-ingest-sdk + 2.2.2-unshaded + - - net.snowflake - snowflake-jdbc-fips - 3.18.0 - - - net.snowflake.snowflake-ingest-java-e2e-jar-test - core - ${project.version} - + + net.snowflake + snowflake-jdbc-fips + 3.18.0 + + + net.snowflake.snowflake-ingest-java-e2e-jar-test + core + ${project.version} + - - org.bouncycastle - bc-fips - 1.0.2.5 - + + org.bouncycastle + bc-fips + 1.0.2.5 + - - org.slf4j - slf4j-simple - 1.7.36 - + + org.slf4j + slf4j-simple + 1.7.36 + - - junit - junit - 4.13.2 - test - - - + + junit + junit + 4.13.2 + test + + + - - - - com.github.ekryd.sortpom - sortpom-maven-plugin - 3.0.1 - - false - false - true - scope,groupId,artifactId - groupId,artifactId - true - true - groupId,artifactId - true - stop - strict - - - - - verify - - validate - - - - - + + + + com.github.ekryd.sortpom + sortpom-maven-plugin + 3.0.1 + + false + false + true + scope,groupId,artifactId + groupId,artifactId + true + true + groupId,artifactId + true + stop + strict + + + + + verify + + validate + + + + + diff --git a/pom.xml b/pom.xml index 49c309501..9d6250277 100644 --- a/pom.xml +++ b/pom.xml @@ -1,1392 +1,1379 @@ - 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-sdk - 2.2.2-unshaded - jar - Snowflake Ingest SDK - Snowflake Ingest SDK - https://www.snowflake.net/ + + net.snowflake + snowflake-ingest-sdk + 2.2.2-unshaded + jar + Snowflake Ingest SDK + Snowflake Ingest SDK + https://www.snowflake.net/ - - - The Apache Software License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - - + + + The Apache Software License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + + - - - Snowflake Support Team - snowflake-java@snowflake.net - Snowflake Computing - https://www.snowflake.net - - + + + Snowflake Support Team + snowflake-java@snowflake.net + Snowflake Computing + https://www.snowflake.net + + - - scm:git:git://github.com/snowflakedb/snowflake-ingest-java - https://github.com/snowflakedb/snowflake-ingest-java/tree/master - + + scm:git:git://github.com/snowflakedb/snowflake-ingest-java + https://github.com/snowflakedb/snowflake-ingest-java/tree/master + - - - 1.78.1 - 1.9.13 - 1.15 - 3.2.2 - 1.26.0 - 2.10.1 - 2.15.1 - 3.14.0 - 1.3.3 - 1.11.0 - 2.17.2 - 32.0.1-jre - 3.3.6 - true - 0.8.5 - ${project.build.directory}/dependency-jars - - ${project.build.directory}/dependency-list.txt - - ${project.build.directory}/generated-licenses-info - - ${license.processing.resourcesRoot}/META-INF/third-party-licenses - - 1.8 - 1.8 - 2.4.9 - 4.1.94.Final - 9.37.3 - 3.1 - 1.14.1 - 2.0.9 - UTF-8 - 4.27.2 - net.snowflake.ingest.internal - 1.7.36 - 1.1.10.5 - 3.18.0 - 0.13.0 - + + + 1.78.1 + 1.9.13 + 1.15 + 3.2.2 + 1.26.0 + 2.10.1 + 2.15.1 + 3.14.0 + 1.3.3 + 1.11.0 + 2.17.2 + 32.0.1-jre + 3.3.6 + true + 0.8.5 + ${project.build.directory}/dependency-jars + ${project.build.directory}/dependency-list.txt + ${project.build.directory}/generated-licenses-info + ${license.processing.resourcesRoot}/META-INF/third-party-licenses + 1.8 + 1.8 + 2.4.9 + 4.1.94.Final + 9.37.3 + 3.1 + 1.14.1 + 2.0.9 + UTF-8 + 4.27.2 + net.snowflake.ingest.internal + 1.7.36 + 1.1.10.5 + 3.18.0 + 0.13.0 + - - - - com.fasterxml.jackson - jackson-bom - ${fasterxml.version} - pom - import - - - com.google.guava - guava - ${guava.version} - - - com.google.protobuf - protobuf-java - ${protobuf.version} - - - com.nimbusds - nimbus-jose-jwt - ${nimbusds.version} - - - commons-codec - commons-codec - ${commonscodec.version} - - - commons-collections - commons-collections - ${commonscollections.version} - - - commons-io - commons-io - ${commonsio.version} - - - commons-logging - commons-logging - ${commonslogging.version} - - - io.netty - netty-buffer - ${netty.version} - - - io.netty - netty-common - ${netty.version} - - - net.minidev - json-smart - ${net.minidev.version} - - - net.snowflake - snowflake-jdbc - ${snowjdbc.version} - - - org.apache.commons - commons-compress - ${commonscompress.version} - - - org.apache.commons - commons-configuration2 - ${commonsconfiguration2.version} - - - org.apache.commons - commons-lang3 - ${commonslang3.version} - - - org.apache.commons - commons-text - ${commonstext.version} - - - org.apache.hadoop - hadoop-common - ${hadoop.version} - - - ch.qos.reload4j - reload4j - - - com.github.pjfanning - jersey-json - - - com.jcraft - jsch - - - com.sun.jersey - jersey-core - - - com.sun.jersey - jersey-server - - - com.sun.jersey - jersey-servlet - - - commons-logging - commons-logging - - - dnsjava - dnsjava - - - io.dropwizard.metrics - metrics-core - - - javax.activation - activation - - - javax.servlet - javax.servlet-api - - - javax.servlet.jsp - jsp-api - - - org.apache.avro - avro - - - org.apache.curator - curator-client - - - org.apache.curator - curator-recipes - - - org.apache.hadoop - hadoop-auth - - - org.apache.httpcomponents - httpclient - - - org.apache.kerby - kerb-core - - - org.apache.zookeeper - zookeeper - - - org.eclipse.jetty - jetty-server - - - org.eclipse.jetty - jetty-servlet - - - org.eclipse.jetty - jetty-util - - - org.eclipse.jetty - jetty-webapp - - - org.slf4j - slf4j-log4j12 - - - org.slf4j - slf4j-reload4j - - - - - org.apache.parquet - parquet-column - ${parquet.version} - - - org.apache.parquet - parquet-common - ${parquet.version} - - - org.apache.parquet - parquet-hadoop - ${parquet.version} - - - org.apache.yetus - audience-annotations - ${yetus.version} - - - org.bouncycastle - bcpkix-jdk18on - ${bouncycastle.version} - - - org.bouncycastle - bcprov-jdk18on - ${bouncycastle.version} - - - org.codehaus.jackson - jackson-core-asl - ${codehaus.version} - - - org.codehaus.jackson - jackson-jaxrs - ${codehaus.version} - - - org.codehaus.jackson - jackson-xc - ${codehaus.version} - - - org.codehaus.jettison - jettison - 1.5.4 - - - org.codehaus.woodstox - stax2-api - 4.2.1 - - - org.objenesis - objenesis - ${objenesis.version} - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.xerial.snappy - snappy-java - ${snappy.version} - + + + + com.fasterxml.jackson + jackson-bom + ${fasterxml.version} + pom + import + + + com.google.guava + guava + ${guava.version} + + + com.google.protobuf + protobuf-java + ${protobuf.version} + + + com.nimbusds + nimbus-jose-jwt + ${nimbusds.version} + + + commons-codec + commons-codec + ${commonscodec.version} + + + commons-collections + commons-collections + ${commonscollections.version} + + + commons-io + commons-io + ${commonsio.version} + + + commons-logging + commons-logging + ${commonslogging.version} + + + io.netty + netty-buffer + ${netty.version} + + + io.netty + netty-common + ${netty.version} + + + net.minidev + json-smart + ${net.minidev.version} + + + net.snowflake + snowflake-jdbc + ${snowjdbc.version} + + + org.apache.commons + commons-compress + ${commonscompress.version} + + + org.apache.commons + commons-configuration2 + ${commonsconfiguration2.version} + + + org.apache.commons + commons-lang3 + ${commonslang3.version} + + + org.apache.commons + commons-text + ${commonstext.version} + + + org.apache.hadoop + hadoop-common + ${hadoop.version} + + + ch.qos.reload4j + reload4j + + + com.github.pjfanning + jersey-json + + + com.jcraft + jsch + + + com.sun.jersey + jersey-core + + + com.sun.jersey + jersey-server + + + com.sun.jersey + jersey-servlet + + + commons-logging + commons-logging + + + dnsjava + dnsjava + + + io.dropwizard.metrics + metrics-core + + + javax.activation + activation + + + javax.servlet + javax.servlet-api + + + javax.servlet.jsp + jsp-api + + + org.apache.avro + avro + + + org.apache.curator + curator-client + + + org.apache.curator + curator-recipes + + + org.apache.hadoop + hadoop-auth + + + org.apache.httpcomponents + httpclient + + + org.apache.kerby + kerb-core + + + org.apache.zookeeper + zookeeper + + + org.eclipse.jetty + jetty-server + + + org.eclipse.jetty + jetty-servlet + + + org.eclipse.jetty + jetty-util + + + org.eclipse.jetty + jetty-webapp + + + org.slf4j + slf4j-log4j12 + + + org.slf4j + slf4j-reload4j + + + + + org.apache.parquet + parquet-column + ${parquet.version} + + + org.apache.parquet + parquet-common + ${parquet.version} + + + org.apache.parquet + parquet-hadoop + ${parquet.version} + + + org.apache.yetus + audience-annotations + ${yetus.version} + + + org.bouncycastle + bcpkix-jdk18on + ${bouncycastle.version} + + + org.bouncycastle + bcprov-jdk18on + ${bouncycastle.version} + + + org.codehaus.jackson + jackson-core-asl + ${codehaus.version} + + + org.codehaus.jackson + jackson-jaxrs + ${codehaus.version} + + + org.codehaus.jackson + jackson-xc + ${codehaus.version} + + + org.codehaus.jettison + jettison + 1.5.4 + + + org.codehaus.woodstox + stax2-api + 4.2.1 + + + org.objenesis + objenesis + ${objenesis.version} + + + org.slf4j + slf4j-api + ${slf4j.version} + + + org.xerial.snappy + snappy-java + ${snappy.version} + - - - junit - junit - 4.13.2 - test - - - net.bytebuddy - byte-buddy - 1.14.9 - test - - - net.bytebuddy - byte-buddy-agent - 1.14.9 - test - - - org.apache.hadoop - hadoop-mapreduce-client-core - ${hadoop.version} - test - - - jakarta.xml.bind - jakarta.xml.bind-api - - - javax.xml.bind - jaxb-api - - - org.slf4j - slf4j-reload4j - - - org.slf4j - slf4j-simple - - - - - org.mockito - mockito-core - 3.7.7 - test - - - org.openjdk.jmh - jmh-core - 1.34 - test - - - org.openjdk.jmh - jmh-generator-annprocess - 1.34 - test - - - + + + junit + junit + 4.13.2 + test + + + net.bytebuddy + byte-buddy + 1.14.9 + test + + + net.bytebuddy + byte-buddy-agent + 1.14.9 + test + + + org.apache.hadoop + hadoop-mapreduce-client-core + ${hadoop.version} + test + + + jakarta.xml.bind + jakarta.xml.bind-api + + + javax.xml.bind + jaxb-api + + + org.slf4j + slf4j-reload4j + + + org.slf4j + slf4j-simple + + + + + org.mockito + mockito-core + 3.7.7 + test + + + org.openjdk.jmh + jmh-core + 1.34 + test + + + org.openjdk.jmh + jmh-generator-annprocess + 1.34 + test + + + - - - - com.fasterxml.jackson.core - jackson-annotations - - - com.fasterxml.jackson.core - jackson-core - - - - com.fasterxml.jackson.core - jackson-databind - + + + + com.fasterxml.jackson.core + jackson-annotations + + + com.fasterxml.jackson.core + jackson-core + + + + com.fasterxml.jackson.core + jackson-databind + - - - - com.github.ben-manes.caffeine - caffeine - 2.9.3 - - - - com.google.errorprone - error_prone_annotations - - - org.checkerframework - checker-qual - - - - - com.google.code.findbugs - jsr305 - 3.0.2 - - - com.google.guava - guava - + + + + com.github.ben-manes.caffeine + caffeine + 2.9.3 + + + + com.google.errorprone + error_prone_annotations + + + org.checkerframework + checker-qual + + + + + com.google.code.findbugs + jsr305 + 3.0.2 + + + com.google.guava + guava + - - - com.nimbusds - nimbus-jose-jwt - - - commons-codec - commons-codec - - - commons-io - commons-io - + + + com.nimbusds + nimbus-jose-jwt + + + commons-codec + commons-codec + + + commons-io + commons-io + - - - io.dropwizard.metrics - metrics-core - 4.1.22 - + + + io.dropwizard.metrics + metrics-core + 4.1.22 + - - - io.dropwizard.metrics - metrics-jmx - 4.1.22 - + + + io.dropwizard.metrics + metrics-jmx + 4.1.22 + - - - io.dropwizard.metrics - metrics-jvm - 4.1.22 - - - io.netty - netty-common - - - net.bytebuddy - byte-buddy-agent - - - - net.snowflake - snowflake-jdbc - - - org.apache.commons - commons-compress - + + + io.dropwizard.metrics + metrics-jvm + 4.1.22 + + + io.netty + netty-common + + + net.bytebuddy + byte-buddy-agent + + + + net.snowflake + snowflake-jdbc + + + org.apache.commons + commons-compress + - - - org.apache.commons - commons-configuration2 - - - org.apache.hadoop - hadoop-common - - - org.apache.hadoop - hadoop-mapreduce-client-core - - - - org.apache.parquet - parquet-column - - - org.apache.parquet - parquet-common - - - - javax.annotation - javax.annotation-api - - - - - org.apache.parquet - parquet-hadoop - + + + org.apache.commons + commons-configuration2 + + + org.apache.hadoop + hadoop-common + + + org.apache.hadoop + hadoop-mapreduce-client-core + + + + org.apache.parquet + parquet-column + + + org.apache.parquet + parquet-common + + + + javax.annotation + javax.annotation-api + + + + + org.apache.parquet + parquet-hadoop + - - org.bouncycastle - bcpkix-jdk18on - - - org.bouncycastle - bcprov-jdk18on - - - org.slf4j - slf4j-api - - - com.github.luben - zstd-jni - 1.5.6-2 - runtime - - - com.google.protobuf - protobuf-java - runtime - - - org.xerial.snappy - snappy-java - runtime - + + org.bouncycastle + bcpkix-jdk18on + + + org.bouncycastle + bcprov-jdk18on + + + org.slf4j + slf4j-api + + + com.github.luben + zstd-jni + 1.5.6-2 + runtime + + + com.google.protobuf + protobuf-java + runtime + + + org.xerial.snappy + snappy-java + runtime + - - - junit - junit - test - - - org.apache.commons - commons-lang3 - test - - - org.hamcrest - hamcrest-core - 1.3 - test - - - org.mockito - mockito-core - test - - - org.openjdk.jmh - jmh-core - test - - - org.openjdk.jmh - jmh-generator-annprocess - test - - - org.powermock - powermock-api-mockito2 - ${powermock.version} - test - - - org.powermock - powermock-core - ${powermock.version} - test - - - org.powermock - powermock-module-junit4 - ${powermock.version} - test - - - - org.slf4j - slf4j-simple - ${slf4j.version} - test - - + + + junit + junit + test + + + org.apache.commons + commons-lang3 + test + + + org.hamcrest + hamcrest-core + 1.3 + test + + + org.mockito + mockito-core + test + + + org.openjdk.jmh + jmh-core + test + + + org.openjdk.jmh + jmh-generator-annprocess + test + + + org.powermock + powermock-api-mockito2 + ${powermock.version} + test + + + org.powermock + powermock-core + ${powermock.version} + test + + + org.powermock + powermock-module-junit4 + ${powermock.version} + test + + + + org.slf4j + slf4j-simple + ${slf4j.version} + test + + - - ${project.artifactId} - - - true - src/main/resources - - - ${license.processing.resourcesRoot} - - + + ${project.artifactId} + + + true + src/main/resources + + + ${license.processing.resourcesRoot} + + - - - - - org.apache.maven.plugins - maven-dependency-plugin - 3.6.0 - - - maven-deploy-plugin - - true - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.4.1 - - - com.google.cloud.tools - linkage-checker-enforcer-rules - 1.5.13 - - - org.codehaus.mojo - extra-enforcer-rules - 1.3 - - - org.eclipse.aether - aether-util - - - - - + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.6.0 + + + maven-deploy-plugin + + true + + + + org.apache.maven.plugins + maven-enforcer-plugin + 3.4.1 + + + com.google.cloud.tools + linkage-checker-enforcer-rules + 1.5.13 + + + org.codehaus.mojo + extra-enforcer-rules + 1.3 + + + org.eclipse.aether + aether-util + + + + + - - - - org.apache.maven.plugins - maven-failsafe-plugin - 3.0.0-M5 - - - org.apache.maven.plugins - maven-surefire-plugin - 3.2.5 - - - org.codehaus.mojo - exec-maven-plugin - 3.2.0 - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - ${jacoco.skip.instrument} - - **/*SnowflakeStreamingIngestExample* - **/*SnowflakeIngestBasicExample* - **/*IngestExampleHelper* - - - - - pre-unit-test - - prepare-agent - - - target/jacoco-ut.exec - - - - post-unit-test - - report - - test - - target/jacoco-ut.exec - target/jacoco-ut - - - - - - - - - com.github.ekryd.sortpom - sortpom-maven-plugin - 3.0.1 - - false - false - true - scope,groupId,artifactId - groupId,artifactId - true - true - groupId,artifactId - true - stop - strict - - - - - verify - - validate - - - - - maven-assembly-plugin - - - - true - net.snowflake.ingest.SimpleIngestManager - - - - jar-with-dependencies - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - true - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-dependency-plugin - - - analyze - - analyze-only - - - true - true - - + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0-M5 + + + org.apache.maven.plugins + maven-surefire-plugin + 3.2.5 + + + org.codehaus.mojo + exec-maven-plugin + 3.2.0 + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${jacoco.skip.instrument} + + **/*SnowflakeStreamingIngestExample* + **/*SnowflakeIngestBasicExample* + **/*IngestExampleHelper* + + + + + pre-unit-test + + prepare-agent + + + target/jacoco-ut.exec + + + + post-unit-test + + report + + test + + target/jacoco-ut.exec + target/jacoco-ut + + + + + + + + + com.github.ekryd.sortpom + sortpom-maven-plugin + 3.0.1 + + false + false + true + scope,groupId,artifactId + groupId,artifactId + true + true + groupId,artifactId + true + stop + strict + + + + + verify + + validate + + + + + maven-assembly-plugin + + + + true + net.snowflake.ingest.SimpleIngestManager + + + + jar-with-dependencies + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + true + + 1.8 + 1.8 + + + + org.apache.maven.plugins + maven-dependency-plugin + + + analyze + + analyze-only + + + true + true + + - org.apache.commons:commons-compress - org.apache.commons:commons-configuration2 - - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-best-practices - - enforce - - - - - - META-INF/versions/*/org/bouncycastle/* - META-INF/versions/*/com/fasterxml/jackson/core/io/doubleparser/* - - - true - true - - - - - - - - - - enforce-maven - - enforce - - - - - 3.5 - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - - attach-javadocs - - jar - - - -Xdoclint:none - 8 - - - - - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - - jar - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/TestSimpleIngestLocal.java - - - - - org.codehaus.mojo - license-maven-plugin - 2.0.1 - - failFast - - - Apache License 2.0 - BSD 2-Clause License - 3-Clause BSD License - The MIT License - EDL 1.0 - The Go license - Bouncy Castle Licence - - test,provided,system - true - - Apache License 2.0 + + Apache License 2.0 + BSD 2-Clause License + 3-Clause BSD License + The MIT License + EDL 1.0 + The Go license + Bouncy Castle Licence + + test,provided,system + true + + Apache License 2.0 |The Apache License, Version 2.0 |The Apache Software License, Version 2.0 |Apache-2.0 |Apache License, Version 2.0 |Apache 2.0 - |Apache License V2.0 - - BSD 2-Clause License - |The BSD License - - The MIT License|MIT License - 3-Clause BSD License|BSD-3-Clause - - - - - add-third-party - - add-third-party - - package - - - - - + |Apache License V2.0 + BSD 2-Clause License + |The BSD License + The MIT License|MIT License + 3-Clause BSD License|BSD-3-Clause + + + + + add-third-party + + add-third-party + + package + + + + + - - - checkLinkageErrors - - - - not-shadeDep - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - - - enforce-linkage-checker - - enforce - - - none - - - - - true - ${basedir}/linkage-checker-exclusion-rules.xml - - WARN - - - - - - - - - - + + + checkLinkageErrors + + + + not-shadeDep + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-linkage-checker + + enforce + + + none + + + + + true + ${basedir}/linkage-checker-exclusion-rules.xml + WARN + + + + + + + + + + - - + + - - - - - checkShadedContent - - false - - - - - org.codehaus.mojo - exec-maven-plugin - - - check-shaded-content - - exec - - verify - - ${basedir}/scripts/check_content.sh - - - - - - - - - shadeDep - - - !not-shadeDep - - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - - - list - - generate-resources - - runtime - ${license.processing.dependencyListFile} - - - - - copy-dependencies - - copy-dependencies - - generate-resources - - ${license.processing.dependencyJarsDir} - false - false - true - - - - + + + + + checkShadedContent + + false + + + + + org.codehaus.mojo + exec-maven-plugin + + + check-shaded-content + + exec + + verify + + ${basedir}/scripts/check_content.sh + + + + + + + + + shadeDep + + + !not-shadeDep + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + + + list + + generate-resources + + runtime + ${license.processing.dependencyListFile} + + + + + copy-dependencies + + copy-dependencies + + generate-resources + + ${license.processing.dependencyJarsDir} + false + false + true + + + + - - - org.apache.maven.plugins - maven-shade-plugin - 3.5.2 - - - - net.snowflake:snowflake-jdbc - org.slf4j:slf4j-api - com.github.luben:zstd-jni - - - - - com.nimbusds - ${shadeBase}.com.nimbusds - - - org.bouncycastle - ${shadeBase}.org.bouncycastle - - - net.jcip - ${shadeBase}.net.jcip - - - net.minidev - ${shadeBase}.net.minidev - - - org.objectweb - ${shadeBase}.org.objectweb - - - com.fasterxml - ${shadeBase}.fasterxml - - - org.apache - ${shadeBase}.apache - - - org.xbill - ${shadeBase}.org.xbill - - - org.xerial - ${shadeBase}.org.xerial - - - io.netty - ${shadeBase}.io.netty - - - com.google - ${shadeBase}.com.google - - - com.github.benmanes - ${shadeBase}.com.github.benmanes - - - - shaded.parquet - ${shadeBase}.shaded.parquet - - - org.codehaus - ${shadeBase}.org.codehaus - - - com.jcraft - ${shadeBase}.com.jcraft - - - org.eclipse - ${shadeBase}.org.eclipse - - - org.checkerframework - ${shadeBase}.org.checkerframework - - - com.codahale - ${shadeBase}.com.codahale - - - com.ctc - ${shadeBase}.com.ctc - - - com.thoughtworks - ${shadeBase}.com.thoughtworks - - - - codegen - ${shadeBase}.codegen - - - javax.annotation - ${shadeBase}.javax.annotation - - - javax.activation - ${shadeBase}.javax.activation - - - io.airlift.compress - ${shadeBase}.io.airlift.compress - - - - - *:* - - - assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties - - about.html - mozilla/public-suffix-list.txt + + + org.apache.maven.plugins + maven-shade-plugin + 3.5.2 + + + + net.snowflake:snowflake-jdbc + org.slf4j:slf4j-api + com.github.luben:zstd-jni + + + + + com.nimbusds + ${shadeBase}.com.nimbusds + + + org.bouncycastle + ${shadeBase}.org.bouncycastle + + + net.jcip + ${shadeBase}.net.jcip + + + net.minidev + ${shadeBase}.net.minidev + + + org.objectweb + ${shadeBase}.org.objectweb + + + com.fasterxml + ${shadeBase}.fasterxml + + + org.apache + ${shadeBase}.apache + + + org.xbill + ${shadeBase}.org.xbill + + + org.xerial + ${shadeBase}.org.xerial + + + io.netty + ${shadeBase}.io.netty + + + com.google + ${shadeBase}.com.google + + + com.github.benmanes + ${shadeBase}.com.github.benmanes + + + + shaded.parquet + ${shadeBase}.shaded.parquet + + + org.codehaus + ${shadeBase}.org.codehaus + + + com.jcraft + ${shadeBase}.com.jcraft + + + org.eclipse + ${shadeBase}.org.eclipse + + + org.checkerframework + ${shadeBase}.org.checkerframework + + + com.codahale + ${shadeBase}.com.codahale + + + com.ctc + ${shadeBase}.com.ctc + + + com.thoughtworks + ${shadeBase}.com.thoughtworks + + + + codegen + ${shadeBase}.codegen + + + javax.annotation + ${shadeBase}.javax.annotation + + + javax.activation + ${shadeBase}.javax.activation + + + io.airlift.compress + ${shadeBase}.io.airlift.compress + + + + + *:* + + assets/org/apache/commons/math3/exception/util/LocalizedFormats_fr.properties + about.html + mozilla/public-suffix-list.txt - META-INF/LICENSE* - META-INF/NOTICE* - META-INF/DEPENDENCIES - META-INF/maven/** - META-INF/services/com.fasterxml.* - META-INF/*.xml - META-INF/*.SF - META-INF/*.DSA - META-INF/*.RSA - google/protobuf/**/*.proto - - - - commons-logging:commons-logging - - org/apache/commons/logging/impl/AvalonLogger.class - - - - org.slf4j:slf4j-simple - - org/slf4j/** - - - - - - - - - - - - shade - - package - - - - - - org.codehaus.mojo - exec-maven-plugin - - - process-third-party-licenses - - exec - - generate-resources - - python3 - - ${project.basedir}/scripts/process_licenses.py - ${license.processing.dependencyListFile} - ${license.processing.dependencyJarsDir} - ${license.processing.targetDir} - - - - - - - - - - ossrh-deploy - - - ossrh-deploy - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - - sign-and-deploy-file - - deploy - - target/${project.artifactId}.jar - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2 - generated_public_pom.xml - target/${project.artifactId}-javadoc.jar - target/${project.artifactId}-sources.jar - ${env.GPG_KEY_ID} - ${env.GPG_KEY_PASSPHRASE} - - - - - - - - - snapshot-deploy - - - snapshot-deploy - - - - - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - - sign-and-deploy-file - - deploy - - target/${project.artifactId}.jar - snapshot - https://nexus.int.snowflakecomputing.com/repository/Snapshots/ - generated_public_pom.xml - target/${project.artifactId}-javadoc.jar - target/${project.artifactId}-sources.jar - ${env.GPG_KEY_ID} - ${env.GPG_KEY_PASSPHRASE} - - - - - - - - - ghActionsIT - - - ghActionsIT - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - - - integration-test - - - - verify_github_actions_it - - verify - - verify - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - ${jacoco.skip.instrument} - - - - pre-unit-test - - prepare-agent - - - target/jacoco-ut.exec - - - - post-unit-test - - report - - test - - target/jacoco-ut.exec - target/jacoco-ut - - - - pre-integration-test - - prepare-agent - - pre-integration-test - - target/jacoco-it.exec - - - - post-integration-test - - report - - post-integration-test - - target/jacoco-it.exec - target/jacoco-it - - - - - - - - + + org.codehaus.mojo + exec-maven-plugin + + + process-third-party-licenses + + exec + + generate-resources + + python3 + + ${project.basedir}/scripts/process_licenses.py + ${license.processing.dependencyListFile} + ${license.processing.dependencyJarsDir} + ${license.processing.targetDir} + + + + + + + + + + ossrh-deploy + + + ossrh-deploy + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + + sign-and-deploy-file + + deploy + + target/${project.artifactId}.jar + ossrh + https://oss.sonatype.org/service/local/staging/deploy/maven2 + generated_public_pom.xml + target/${project.artifactId}-javadoc.jar + target/${project.artifactId}-sources.jar + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + + + + + + + snapshot-deploy + + + snapshot-deploy + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.6 + + + + sign-and-deploy-file + + deploy + + target/${project.artifactId}.jar + snapshot + https://nexus.int.snowflakecomputing.com/repository/Snapshots/ + generated_public_pom.xml + target/${project.artifactId}-javadoc.jar + target/${project.artifactId}-sources.jar + ${env.GPG_KEY_ID} + ${env.GPG_KEY_PASSPHRASE} + + + + + + + + + ghActionsIT + + + ghActionsIT + + + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + integration-test + + + + verify_github_actions_it + + verify + + verify + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${jacoco.skip.instrument} + + + + pre-unit-test + + prepare-agent + + + target/jacoco-ut.exec + + + + post-unit-test + + report + + test + + target/jacoco-ut.exec + target/jacoco-ut + + + + pre-integration-test + + prepare-agent + + pre-integration-test + + target/jacoco-it.exec + + + + post-integration-test + + report + + post-integration-test + + target/jacoco-it.exec + target/jacoco-it + + + + + + + +