How To Install Java Artifact org.apache.logging.log4j.samples.log4j-samples v2.0-beta4

org.apache.logging.log4j.samples log4j-samples 2.0-beta4

Introduction

In this article, we'll learn how to install Java artifact log4j-samples from org.apache.logging.log4j.samples group in version 2.0-beta4. The artifact is available in 4 versions: 2.0.1 2.0-rc1 2.0-beta5 2.0-beta4 The log4j-samples project has its own website at: http://maven.apache.org. The parent project is: org.apache.logging.log4j::log4j::2.0-beta4

How To Install Java Artifact org.apache.logging.log4j.samples.log4j-samples In Version 2.0-beta4

To install the log4j-samples artifact in version 2.0-beta4 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-samples 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.

Managed dependencies (9)