Apache logging services logo Apache log4j logo

Dependency Information

Apache Maven

<dependency>
  <groupId>org.apache.logging.log4j</groupId>
  <artifactId>log4j-1.2-api</artifactId>
  <version>2.0.2</version>
  <type>bundle</type>
</dependency>

Apache Buildr

'org.apache.logging.log4j:log4j-1.2-api:bundle:2.0.2'

Apache Ant

<dependency org="org.apache.logging.log4j" name="log4j-1.2-api" rev="2.0.2">
  <artifact name="log4j-1.2-api" type="bundle" />
</dependency>

Groovy Grape

@Grapes(
@Grab(group='org.apache.logging.log4j', module='log4j-1.2-api', version='2.0.2')
)

Grails

compile 'org.apache.logging.log4j:log4j-1.2-api:2.0.2'

Leiningen

[org.apache.logging.log4j/log4j-1.2-api "2.0.2"]

SBT

libraryDependencies += "org.apache.logging.log4j" %% "log4j-1.2-api" % "2.0.2"