java-tutorials/spring-boot-modules/spring-boot-runtime/disabling-console-log4j2/pom.xml

45 lines
1.6 KiB
XML
Raw Normal View History

2019-12-05 09:56:52 -05:00
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2019-12-05 09:56:52 -05:00
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>
<artifactId>disabling-console-log4j2</artifactId>
<name>disabling-console-log4j2</name>
<!-- this needs to use the boot parent directly in order to not inherit logback dependencies -->
2019-12-05 09:56:52 -05:00
<parent>
<groupId>com.baeldung</groupId>
<artifactId>spring-boot-runtime</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
2019-12-05 09:56:52 -05:00
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-log4j2</artifactId>
</dependency>
</dependencies>
2019-12-05 09:56:52 -05:00
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>