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

47 lines
1.7 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"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2019-12-05 09:56:52 -05:00
<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.spring-boot-modules</groupId>
<artifactId>spring-boot-disable-logging</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../</relativePath>
</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>