11<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3- <modelVersion >4.0.0</modelVersion >
4- <groupId >com.baeldung</groupId >
5- <version >0.0.1-SNAPSHOT</version >
6- <artifactId >disabling-console-log4j2</artifactId >
7- <parent >
8- <groupId >org.springframework.boot</groupId >
9- <artifactId >spring-boot-starter-parent</artifactId >
10- <version >2.0.4.RELEASE</version >
11- </parent >
2+ xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+ <artifactId >disabling-console-log4j2</artifactId >
125
13- <dependencies >
14- <dependency >
15- <groupId >org.springframework.boot</groupId >
16- <artifactId >spring-boot-starter-web</artifactId >
17- </dependency >
18- <dependency >
19- <groupId >org.springframework.boot</groupId >
20- <artifactId >spring-boot-starter</artifactId >
21- <exclusions >
22- <exclusion >
23- <groupId >org.springframework.boot</groupId >
24- <artifactId >spring-boot-starter-logging</artifactId >
25- </exclusion >
26- </exclusions >
27- </dependency >
28- <dependency >
29- <groupId >org.springframework.boot</groupId >
30- <artifactId >spring-boot-starter-log4j2</artifactId >
31- </dependency >
32- </dependencies >
6+ <parent >
7+ <groupId >com.baeldung</groupId >
8+ <artifactId >disabling-console-logging</artifactId >
9+ <version >0.0.1-SNAPSHOT</version >
10+ </parent >
3311
34- <build >
35- <plugins >
36- <plugin >
37- <groupId >org.springframework.boot</groupId >
38- <artifactId >spring-boot-maven-plugin</artifactId >
39- </plugin >
40- </plugins >
41- </build >
12+ <dependencies >
13+ <dependency >
14+ <groupId >org.springframework.boot</groupId >
15+ <artifactId >spring-boot-starter-web</artifactId >
16+ </dependency >
17+ <dependency >
18+ <groupId >org.springframework.boot</groupId >
19+ <artifactId >spring-boot-starter</artifactId >
20+ <exclusions >
21+ <exclusion >
22+ <groupId >org.springframework.boot</groupId >
23+ <artifactId >spring-boot-starter-logging</artifactId >
24+ </exclusion >
25+ </exclusions >
26+ </dependency >
27+ <dependency >
28+ <groupId >org.springframework.boot</groupId >
29+ <artifactId >spring-boot-starter-log4j2</artifactId >
30+ </dependency >
31+ </dependencies >
4232
43- <properties >
44- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
45- <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
46- <java .version>1.8</java .version>
47- </properties >
33+ <build >
34+ <plugins >
35+ <plugin >
36+ <groupId >org.springframework.boot</groupId >
37+ <artifactId >spring-boot-maven-plugin</artifactId >
38+ </plugin >
39+ </plugins >
40+ </build >
4841
4942</project >
0 commit comments