How To Install Java Artifact org.apache.logging.log4j.log4j-web v2.11.1

org.apache.logging.log4j log4j-web 2.11.1

Introduction

In this article, we'll learn how to install Java artifact log4j-web from org.apache.logging.log4j group in version 2.11.1. The artifact is available in 54 versions: 3.0.0-alpha1 2.23.1 2.23.0 2.22.1 2.22.0 2.21.1 2.21.0 2.20.0 2.19.0 2.18.0 2.17.2 2.17.1 2.17.0 2.16.0 2.15.0 2.14.1 2.14.0 2.13.3 2.13.2 2.13.1 2.13.0 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.2 2.11.1 2.11.0 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.8 2.7 2.6.2 2.6.1 2.6 2.5 2.4.1 2.4 2.3.2 2.3.1 2.3 2.2 2.1 2.0.2 2.0.1 2.0-rc2 2.0-beta7 2.0-beta6 2.0-beta5 2.0 The parent project is: org.apache.logging.log4j::log4j::2.11.1

How To Install Java Artifact org.apache.logging.log4j.log4j-web In Version 2.11.1

To install the Apache Log4j Web artifact in version 2.11.1 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Apache Log4j Web dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (2)

Provided dependencies (1)

Test dependencies (4)