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+
14+ <dependency >
15+ <groupId >log4j</groupId >
16+ <artifactId >log4j</artifactId >
17+ <version >1.2.17</version >
18+ </dependency >
19+
20+
21+ <!-- log4j2 dependencies-->
22+
23+
24+ <!-- <dependency>-->
25+ <!-- <groupId>org.apache.logging.log4j</groupId>-->
26+ <!-- <artifactId>log4j-api</artifactId>-->
27+ <!-- <version>2.6</version>-->
28+ <!-- </dependency>-->
29+ <!-- <dependency>-->
30+ <!-- <groupId>org.apache.logging.log4j</groupId>-->
31+ <!-- <artifactId>log4j-core</artifactId>-->
32+ <!-- <version>2.6</version>-->
33+ <!-- </dependency>-->
34+
35+ <!-- logback dependencies-->
36+
37+ <!-- <dependency>-->
38+ <!-- <groupId>ch.qos.logback</groupId>-->
39+ <!-- <artifactId>logback-classic</artifactId>-->
40+ <!-- <version>1.1.7</version>-->
41+ <!-- </dependency>-->
42+ </dependencies >
43+ <build >
44+ <plugins >
45+ <plugin >
46+ <artifactId >maven-compiler-plugin</artifactId >
47+ <version >3.3</version >
48+ <configuration >
49+ <debug >true</debug >
50+ <optimize >true</optimize >
51+ <source >1.8</source >
52+ <target >1.8</target >
53+ <encoding >UTF-8</encoding >
54+ <showDeprecation >true</showDeprecation >
55+ <showWarnings >true</showWarnings >
56+ </configuration >
57+ </plugin >
58+ </plugins >
59+ </build >
60+
61+ </project >
0 commit comments