Skip to content

Commit

Permalink
HIVE-28164: Remove log4j:log4j transitive dependency
Browse files Browse the repository at this point in the history
* Bump accumulo version to 1.10.4
* Exclude log4j:log4j from slf4j-log4j12 in standalone-metastore
  • Loading branch information
Aggarwal-Raghav committed Oct 15, 2024
1 parent 8b28786 commit 81e8f92
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 8 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<maven.cyclonedx.plugin.version>2.7.10</maven.cyclonedx.plugin.version>
<maven.license.plugin.version>2.3.0</maven.license.plugin.version>
<!-- Library Dependency Versions -->
<accumulo.version>1.10.1</accumulo.version>
<accumulo.version>1.10.4</accumulo.version>
<ant.version>1.10.13</ant.version>
<antlr.version>3.5.2</antlr.version>
<!-- Make sure to sync it with standalone-metastore/pom.xml -->
Expand Down Expand Up @@ -1607,12 +1607,18 @@
<excludes>
<!-- Move to SLF4J -->
<exclude>commons-logging:commons-logging</exclude>
<exclude>log4j:log4j</exclude>
<exclude>ch.qos.reload4j:reload4j</exclude>
</excludes>
<searchTransitive>false</searchTransitive>
<message>A banned logging dependency was found!</message>
</bannedDependencies>
<bannedDependencies>
<excludes>
<exclude>log4j:log4j</exclude>
</excludes>
<searchTransitive>true</searchTransitive>
<message>Banned log4j:log4j dependency/transitive dependency was found!</message>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12 -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
Expand Down

0 comments on commit 81e8f92

Please sign in to comment.