Skip to content

Commit

Permalink
[SNOW-859796] Get rid of SFL4J logging messages (#1474)
Browse files Browse the repository at this point in the history
* [SNOW-859796] Get rid of SFL4J logging messages

* 2. Exclude slf4j-api artifact

* use custom arrow jars

* re-arrange dependencies
  • Loading branch information
sfc-gh-skumbham authored Jul 21, 2023
1 parent 15a45ac commit 1fa0074
Showing 1 changed file with 124 additions and 10 deletions.
134 changes: 124 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@
<artifactId>asm</artifactId>
<version>9.3</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>org.threeten</groupId>
<artifactId>threetenbp</artifactId>
Expand All @@ -213,12 +218,6 @@
<artifactId>xz</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.6</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down Expand Up @@ -366,10 +365,6 @@
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
Expand All @@ -382,6 +377,11 @@
<version>${jna.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
Expand Down Expand Up @@ -834,6 +834,120 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.0.0-M1</version>
<executions>
<execution>
<id>install-arrow-format</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>validate</phase>
<configuration>
<file>${project.basedir}/dependencies/arrow-format-${arrow.version}.jar</file>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-format</artifactId>
<version>${arrow.version}</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>
<execution>
<id>install-arrow-memory-core</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>validate</phase>
<configuration>
<file>${project.basedir}/dependencies/arrow-memory-core-${arrow.version}.jar</file>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-memory-core</artifactId>
<version>${arrow.version}</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>
<execution>
<id>install-arrow-memory-netty</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>validate</phase>
<configuration>
<file>${project.basedir}/dependencies/arrow-memory-netty-${arrow.version}.jar</file>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-memory-netty</artifactId>
<version>${arrow.version}</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>
<execution>
<id>install-arrow-memory-pom</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>validate</phase>
<configuration>
<file>${project.basedir}/dependencies/arrow-memory-${arrow.version}.pom</file>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-memory</artifactId>
<version>${arrow.version}</version>
<packaging>pom</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>

<execution>
<id>install-arrow-memory-unsafe</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>validate</phase>
<configuration>
<file>${project.basedir}/dependencies/arrow-memory-unsafe-${arrow.version}.jar</file>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-memory-unsafe</artifactId>
<version>${arrow.version}</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>

<execution>
<id>install-arrow-vector</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>validate</phase>
<configuration>
<file>${project.basedir}/dependencies/arrow-vector-${arrow.version}.jar</file>
<groupId>org.apache.arrow</groupId>
<artifactId>arrow-vector</artifactId>
<version>${arrow.version}</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>
<execution>
<id>install-tika-core</id>
<goals>
<goal>install-file</goal>
</goals>
<phase>validate</phase>
<configuration>
<file>${project.basedir}/dependencies/tika-core-${tika.version}.jar</file>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
<version>${tika.version}</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down

0 comments on commit 1fa0074

Please sign in to comment.