MVN

log4j : log4j

Maven & Gradle

May 26, 2012
13k usages

Apache Log4j · Apache Log4j 1.2

<dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.17</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of log4j : log4j to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.2.17

All Versions

Choose a version of log4j : log4j to add to Maven or Gradle - All Versions:

  • Version Updated
  • log4j-1.2.17

    May 26, 2012
  • log4j-1.2.16

    Mar 31, 2010
  • log4j-1.2.15

    Aug 30, 2007
  • log4j-1.2.14

    Dec 01, 2006
  • log4j-1.2.13

    Jan 03, 2006
  • log4j-1.2.12

    Sep 23, 2005
  • log4j-1.1.3

    Sep 20, 2005
  • log4j-1.2.11

    Sep 20, 2005
  • log4j-1.2.4

    Sep 20, 2005
  • log4j-1.2.5

    Sep 20, 2005
  • log4j-1.2.6

    Sep 20, 2005
  • log4j-1.2.7

    Sep 20, 2005
  • log4j-1.2.8

    Sep 20, 2005
  • log4j-1.2.9

    Sep 20, 2005

How to add a dependency to Maven

Add the following log4j : log4j maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.17</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following log4j : log4j gradle dependency to your build.gradle file:

implementation 'log4j:log4j:1.2.17'

Gradle Kotlin DSL: Add the following log4j : log4j gradle kotlin dependency to your build.gradle.kts file:

implementation("log4j:log4j:1.2.17")

How to add a dependency to SBT Scala

SBT Scala: Add the following log4j : log4j sbt scala dependency to your build.sbt file:

libraryDependencies += "log4j" % "log4j" % "1.2.17"

Advertisement

Dependencies from Group

May 26, 2012
13k usages
Oct 14, 2013
199 usages

Discover Dependencies

Jul 31, 2022
12k usages
20k stars
Jun 21, 2022
9.3k usages
1.6k stars
poi
Sep 09, 2022
1.9k usages
Sep 27, 2022
3.4k usages
4.8k stars
Sep 24, 2022
3.7k usages
3.9k stars
Jul 10, 2021
20k usages
Sep 25, 2022
10k usages
2k stars
Apr 17, 2008
8k usages
Sep 25, 2022
20k usages
2.9k stars
Sep 15, 2022
4.4k usages
image

Maven Repository

Search Maven dependencies with Maven Repository Chrome Extension

Add to Chrome