MVN

org.powermock.examples : powermock-examples-log4j

Maven & Gradle

Dec 11, 2015
3.7k stars

log4j · Example of using Log4jMockPolicy.

<dependency>
    <groupId>org.powermock.examples</groupId>
    <artifactId>powermock-examples-log4j</artifactId>
    <version>1.6.4</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.powermock.examples : powermock-examples-log4j to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.6.4

All Versions

Choose a version of org.powermock.examples : powermock-examples-log4j to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.6.x
powermock-examples-log4j-1.6.4
powermock-examples-log4j-1.6.3
powermock-examples-log4j-1.6.2
powermock-examples-log4j-1.6.1
powermock-examples-log4j-1.6.0
1.5.x
powermock-examples-log4j-1.5.6
powermock-examples-log4j-1.5.5
powermock-examples-log4j-1.5.4
powermock-examples-log4j-1.5.3
powermock-examples-log4j-1.5.2
powermock-examples-log4j-1.5.1
1.5
powermock-examples-log4j-1.5
1.4.x
powermock-examples-log4j-1.4.12
powermock-examples-log4j-1.4.11
powermock-examples-log4j-1.4.10
powermock-examples-log4j-1.4.9
powermock-examples-log4j-1.4.8
powermock-examples-log4j-1.4.7
powermock-examples-log4j-1.4.6

How to add a dependency to Maven

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

<dependency>
    <groupId>org.powermock.examples</groupId>
    <artifactId>powermock-examples-log4j</artifactId>
    <version>1.6.4</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.powermock.examples : powermock-examples-log4j gradle dependency to your build.gradle file:

implementation 'org.powermock.examples:powermock-examples-log4j:1.6.4'

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

implementation("org.powermock.examples:powermock-examples-log4j:1.6.4")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.powermock.examples : powermock-examples-log4j sbt scala dependency to your build.sbt file:

libraryDependencies += "org.powermock.examples" % "powermock-examples-log4j" % "1.6.4"