-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-989128 Rollback Parent Pom (#75)
* Revert "SNOW-989128 Create Parent POM (#73)" This reverts commit 5456174. * update fips-pom * update
- Loading branch information
1 parent
5456174
commit a920b69
Showing
4 changed files
with
330 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,7 @@ | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<groupId>com.snowflake</groupId> | ||
<artifactId>snowpark-parent</artifactId> | ||
<version>1.10.0-SNAPSHOT</version> | ||
<relativePath>./parent-pom.xml</relativePath> | ||
</parent> | ||
|
||
<groupId>com.snowflake</groupId> | ||
<artifactId>snowpark-fips</artifactId> | ||
<version>1.10.0-SNAPSHOT</version> | ||
<name>${project.artifactId}</name> | ||
|
@@ -24,12 +17,12 @@ | |
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>Snowflake Support Team</name> | ||
<email>[email protected]</email> | ||
<organization>Snowflake Computing</organization> | ||
<organizationUrl>https://www.snowflake.com</organizationUrl> | ||
</developer> | ||
<developer> | ||
<name>Snowflake Support Team</name> | ||
<email>[email protected]</email> | ||
<organization>Snowflake Computing</organization> | ||
<organizationUrl>https://www.snowflake.com</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
|
@@ -38,11 +31,60 @@ | |
</scm> | ||
|
||
<properties> | ||
<bc.fips.version>1.0.2.1</bc.fips.version> | ||
<bcpkix.fips.version>1.0.5</bcpkix.fips.version> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<encoding>UTF-8</encoding> | ||
<scala.version>2.12.18</scala.version> | ||
<scala.compat.version>2.12</scala.compat.version> | ||
<spec2.version>4.2.0</spec2.version> | ||
<snowflake.jdbc.version>3.14.4</snowflake.jdbc.version> | ||
<version.scala.binary>${scala.compat.version}</version.scala.binary> | ||
<doctitle>Snowpark ${project.version}</doctitle> | ||
<bouncycastle.version>1.64</bouncycastle.version> | ||
<scalaPluginVersion>4.3.0</scalaPluginVersion> | ||
<jackson.version>2.13.2</jackson.version> | ||
<jackson.databind.version>2.13.4.2</jackson.databind.version> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.scala-lang</groupId> | ||
<artifactId>scala-library</artifactId> | ||
<version>${scala.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.scala-lang</groupId> | ||
<artifactId>scala-compiler</artifactId> | ||
<version>${scala.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>2.11.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>javax.xml.bind</groupId> | ||
<artifactId>jaxb-api</artifactId> | ||
<version>2.2.2</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>1.7.32</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-simple</artifactId> | ||
<version>1.7.32</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-codec</groupId> | ||
<artifactId>commons-codec</artifactId> | ||
<version>1.15</version> | ||
</dependency> | ||
|
||
|
||
<!-- https://mvnrepository.com/artifact/net.snowflake/snowflake-jdbc --> | ||
<dependency> | ||
<groupId>net.snowflake</groupId> | ||
<artifactId>snowflake-jdbc-fips</artifactId> | ||
|
@@ -51,13 +93,70 @@ | |
<dependency> | ||
<groupId>org.bouncycastle</groupId> | ||
<artifactId>bc-fips</artifactId> | ||
<version>${bc.fips.version}</version> | ||
<version>1.0.2.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.bouncycastle</groupId> | ||
<artifactId>bcpkix-fips</artifactId> | ||
<version>${bcpkix.fips.version}</version> | ||
<version>1.0.5</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<!-- SQL formatter--> | ||
<dependency> | ||
<groupId>com.github.vertical-blank</groupId> | ||
<artifactId>sql-formatter</artifactId> | ||
<version>1.0.2</version> | ||
</dependency> | ||
|
||
|
||
<!-- Dependency for Variant UDF --> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>${jackson.databind.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-core</artifactId> | ||
<version>${jackson.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-annotations</artifactId> | ||
<version>${jackson.version}</version> | ||
</dependency> | ||
|
||
<!-- Test --> | ||
<dependency> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.13.1</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.mockito</groupId> | ||
<artifactId>mockito-core</artifactId> | ||
<version>2.23.0</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.scalatest</groupId> | ||
<artifactId>scalatest_${scala.compat.version}</artifactId> | ||
<version>3.0.5</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.specs2</groupId> | ||
<artifactId>specs2-core_${scala.compat.version}</artifactId> | ||
<version>${spec2.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.specs2</groupId> | ||
<artifactId>specs2-junit_${scala.compat.version}</artifactId> | ||
<version>${spec2.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
@@ -74,7 +173,7 @@ | |
<plugin> | ||
<groupId>org.antipathy</groupId> | ||
<artifactId>mvn-scalafmt_${version.scala.binary}</artifactId> | ||
<version>${mvn.scalafmt.version}</version> | ||
<version>1.0.2</version> | ||
<configuration> | ||
<configLocation>${project.basedir}/.scalafmt.conf</configLocation> | ||
<skipTestSources>false</skipTestSources> | ||
|
@@ -101,7 +200,7 @@ | |
<plugin> | ||
<groupId>com.coveo</groupId> | ||
<artifactId>fmt-maven-plugin</artifactId> | ||
<version>${fmt.maven.plugin.version}</version> | ||
<version>2.9.1</version> | ||
<executions> | ||
<execution> | ||
<phase>compile</phase> | ||
|
@@ -114,7 +213,7 @@ | |
<plugin> | ||
<groupId>org.scalastyle</groupId> | ||
<artifactId>scalastyle-maven-plugin</artifactId> | ||
<version>${scalastyle.maven.plugin.version}</version> | ||
<version>1.0.0</version> | ||
<configuration> | ||
<verbose>false</verbose> | ||
<failOnViolation>true</failOnViolation> | ||
|
@@ -185,7 +284,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>${maven.compiler.version}</version> | ||
<version>3.8.1</version> | ||
<configuration> | ||
<source>${java.version}</source> | ||
<target>${java.version}</target> | ||
|
@@ -196,7 +295,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>${maven.surefire.version}</version> | ||
<version>2.21.0</version> | ||
<configuration> | ||
<skip>true</skip> | ||
<includes> | ||
|
@@ -207,7 +306,7 @@ | |
<plugin> | ||
<groupId>org.scalatest</groupId> | ||
<artifactId>scalatest-maven-plugin</artifactId> | ||
<version>${scalatest.maven.plugin.version}</version> | ||
<version>2.2.0</version> | ||
<configuration> | ||
<reportsDirectory>${project.build.directory}/surefire-reports | ||
</reportsDirectory> | ||
|
@@ -264,7 +363,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>${maven.assembly.version}</version> | ||
<version>3.3.0</version> | ||
<executions> | ||
<!-- We are building three packages with the following executions: | ||
1. snowpark-version.jar - snowpark + udf dependency jars | ||
|
@@ -330,23 +429,23 @@ | |
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>${maven.gpg.version}</version> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.6</version> | ||
<executions> | ||
<execution> | ||
<id>sign-deploy-artifacts</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>sign-deploy-artifacts</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>net.nicoulaj.maven.plugins</groupId> | ||
<artifactId>checksum-maven-plugin</artifactId> | ||
<version>${checksum.maven.version}</version> | ||
<version>1.10</version> | ||
<executions> | ||
<execution> | ||
<phase>package</phase> | ||
|
@@ -379,29 +478,6 @@ | |
</build> | ||
|
||
<profiles> | ||
<profile> | ||
<id>java-9</id> | ||
<activation> | ||
<jdk>(9,)</jdk> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.scalatest</groupId> | ||
<artifactId>scalatest-maven-plugin</artifactId> | ||
<configuration> | ||
<argLine>--add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED</argLine> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<argLine>--add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED</argLine> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>test-coverage</id> | ||
<properties> | ||
|
@@ -420,7 +496,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<version>${maven.assembly.version}</version> | ||
<version>3.3.0</version> | ||
<executions> | ||
<execution> | ||
<id>generate-tar-zip</id> | ||
|
@@ -438,7 +514,7 @@ | |
</plugin> | ||
<plugin> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>${maven.jar.version}</version> | ||
<version>3.3.0</version> | ||
<executions> | ||
<execution> | ||
<id>empty-javadoc-jar</id> | ||
|
@@ -456,7 +532,7 @@ | |
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>${maven.gpg.version}</version> | ||
<version>1.6</version> | ||
<executions> | ||
<execution> | ||
<id>sign-deploy-artifacts</id> | ||
|
@@ -483,5 +559,40 @@ | |
</plugins> | ||
</build> | ||
</profile> | ||
<profile> | ||
<id>java-9</id> | ||
<activation> | ||
<jdk>(9,)</jdk> | ||
</activation> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.scalatest</groupId> | ||
<artifactId>scalatest-maven-plugin</artifactId> | ||
<configuration> | ||
<argLine>--add-opens=java.base/java.io=ALL-UNNAMED | ||
--add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED | ||
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED | ||
--add-opens=java.base/java.util=ALL-UNNAMED | ||
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED | ||
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED | ||
</argLine> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<configuration> | ||
<argLine>--add-opens=java.base/java.io=ALL-UNNAMED | ||
--add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED | ||
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED | ||
--add-opens=java.base/java.util=ALL-UNNAMED | ||
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED | ||
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED | ||
</argLine> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.