1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+
7+ <groupId >com.baeldung</groupId >
8+ <artifactId >log4j</artifactId >
9+ <version >1.0-SNAPSHOT</version >
10+
11+ <dependencies >
12+ <!-- log4j dependencies-->
13+ <dependency >
14+ <groupId >log4j</groupId >
15+ <artifactId >log4j</artifactId >
16+ <version >1.2.17</version >
17+ </dependency >
18+
19+
20+ <!-- log4j2 dependencies-->
21+ <dependency >
22+ <groupId >org.apache.logging.log4j</groupId >
23+ <artifactId >log4j-api</artifactId >
24+ <version >2.6</version >
25+ </dependency >
26+ <dependency >
27+ <groupId >org.apache.logging.log4j</groupId >
28+ <artifactId >log4j-core</artifactId >
29+ <version >2.6</version >
30+ </dependency >
31+
32+ <!-- disruptor for log4j2 async logging-->
33+ <dependency >
34+ <groupId >com.lmax</groupId >
35+ <artifactId >disruptor</artifactId >
36+ <version >3.3.4</version >
37+ </dependency >
38+
39+
40+ <!-- logback dependencies-->
41+
42+ <dependency >
43+ <groupId >ch.qos.logback</groupId >
44+ <artifactId >logback-classic</artifactId >
45+ <version >1.1.7</version >
46+ </dependency >
47+ </dependencies >
48+ <build >
49+ <plugins >
50+ <plugin >
51+ <artifactId >maven-compiler-plugin</artifactId >
52+ <version >3.3</version >
53+ <configuration >
54+ <debug >true</debug >
55+ <optimize >true</optimize >
56+ <source >1.8</source >
57+ <target >1.8</target >
58+ <encoding >UTF-8</encoding >
59+ <showDeprecation >true</showDeprecation >
60+ <showWarnings >true</showWarnings >
61+ </configuration >
62+ </plugin >
63+ </plugins >
64+ </build >
65+
66+ </project >
0 commit comments