How To Install Java Artifact org.apache.logging.log4j.adapters.log4j12-api v2.0-beta1

org.apache.logging.log4j.adapters log4j12-api 2.0-beta1

Introduction

In this article, we'll learn how to install Java artifact log4j12-api from org.apache.logging.log4j.adapters group in version 2.0-beta1. The artifact is available in 3 versions: 2.0-beta3 2.0-beta2 2.0-beta1 The parent project is: org.apache.logging.log4j::log4j::2.0-beta1

How To Install Java Artifact org.apache.logging.log4j.adapters.log4j12-api In Version 2.0-beta1

To install the Log4J Compatibility API artifact in version 2.0-beta1 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 Log4J Compatibility API 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)

Test dependencies (2)