48 lines
1.5 KiB
XML
48 lines
1.5 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>log4j2-example</groupId>
|
|
<artifactId>log4j2-example</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>log4j2-example</name>
|
|
|
|
<parent>
|
|
<groupId>com.baeldung</groupId>
|
|
<artifactId>parent-modules</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<relativePath>../../</relativePath>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<!-- This is the needed core component. -->
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-core</artifactId>
|
|
<version>${log4j-core.version}</version>
|
|
</dependency>
|
|
|
|
<!-- This is used by JSONLayout. -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${jackson.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources/</directory>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<properties>
|
|
<jackson.version>2.8.8.1</jackson.version>
|
|
<log4j-core.version>2.8.2</log4j-core.version>
|
|
</properties>
|
|
|
|
</project> |