Apache Log4j Maven Dependency

This page gives you a quick reference to get Apache Commons BeanUtils dependency for Maven or Gradle projects. You can also download the Apache Commons BeanUtils jar dependency, the link given at the "Download JAR File" section.

Apache Log4j 1.2.

Apache Log4j Maven Dependency

Copy below Apache Log4j maven dependency and paste in your project pom.xml file:
<!-- https://mvnrepository.com/artifact/log4j/log4j -->
<dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.17</version>
</dependency>
For more details about the proper version to use, check out the following Maven Central link.

Apache Log4j Gradle Dependency

Copy below Apache Log4j gradle dependency and paste in your project build.gradle file:
// https://mvnrepository.com/artifact/log4j/log4j
compile group: 'log4j', name: 'log4j', version: '1.2.17'

Download JAR File

Check for Latest Release

Reference


Comments