56 lines
1.4 KiB
XML
56 lines
1.4 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>
|
||
|
|
||
|
<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>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<version>4.12</version>
|
||
|
</dependency>
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources/</directory>
|
||
|
<excludes>
|
||
|
<exclude>**/*.java</exclude>
|
||
|
</excludes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.5</version>
|
||
|
<configuration>
|
||
|
<source>1.8</source>
|
||
|
<target>1.8</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
<properties>
|
||
|
<jackson.version>2.8.8.1</jackson.version>
|
||
|
<log4j-core.version>2.8.2</log4j-core.version>
|
||
|
</properties>
|
||
|
|
||
|
</project>
|