2016-10-31 11:43:48 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2018-07-12 03:04:54 -04:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2017-05-12 14:32:54 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>log-mdc</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>log-mdc</name>
|
2016-12-16 13:29:32 -05:00
|
|
|
<packaging>war</packaging>
|
2017-05-12 14:32:54 -04:00
|
|
|
<description>tutorial on logging with MDC and NDC</description>
|
2016-11-06 11:39:06 -05:00
|
|
|
|
2017-05-09 16:37:43 -04:00
|
|
|
<parent>
|
2018-07-12 03:04:54 -04:00
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-spring-4</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../../parent-spring-4</relativePath>
|
|
|
|
</parent>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
<dependencies>
|
2016-12-16 13:29:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
2018-05-05 16:30:00 -04:00
|
|
|
<version>${spring.version}</version>
|
2016-12-16 13:29:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
2018-05-05 16:30:00 -04:00
|
|
|
<version>${spring.version}</version>
|
2016-12-16 13:29:32 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2019-05-05 15:04:04 -04:00
|
|
|
<version>${javax.servlet-api.version}</version>
|
2016-12-16 13:29:32 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2019-05-05 15:04:04 -04:00
|
|
|
<version>${jackson.version}</version>
|
2016-12-16 13:29:32 -05:00
|
|
|
</dependency>
|
2016-11-06 11:39:06 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<!--log4j dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>${log4j.version}</version>
|
|
|
|
</dependency>
|
2016-11-06 11:39:06 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<!--log4j2 dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
</dependency>
|
2016-11-06 11:39:06 -05:00
|
|
|
|
2017-05-12 14:32:54 -04:00
|
|
|
<!--disruptor for log4j2 async logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.lmax</groupId>
|
|
|
|
<artifactId>disruptor</artifactId>
|
|
|
|
<version>${disruptor.version}</version>
|
|
|
|
</dependency>
|
2016-12-16 13:29:32 -05:00
|
|
|
|
|
|
|
<!-- JBoss Logging (bridge) dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
<version>${jbosslogging.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
2018-05-05 16:30:00 -04:00
|
|
|
<version>${spring.version}</version>
|
2016-12-16 13:29:32 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-05-12 14:32:54 -04:00
|
|
|
|
|
|
|
</dependencies>
|
2016-10-31 11:43:48 -04:00
|
|
|
|
2016-12-16 13:29:32 -05:00
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2018-07-12 03:04:54 -04:00
|
|
|
<version>${maven-war-plugin.version}</version>
|
2016-12-16 13:29:32 -05:00
|
|
|
<configuration>
|
|
|
|
<warSourceDirectory>src/main/webapp</warSourceDirectory>
|
|
|
|
<warName>logging-service</warName>
|
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<finalName>logging-service</finalName>
|
|
|
|
</build>
|
2018-07-12 03:04:54 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<log4j2.version>2.7</log4j2.version>
|
|
|
|
<disruptor.version>3.3.6</disruptor.version>
|
|
|
|
<jbosslogging.version>3.3.0.Final</jbosslogging.version>
|
|
|
|
<maven-war-plugin.version>2.4</maven-war-plugin.version>
|
|
|
|
</properties>
|
|
|
|
|
2016-12-16 13:29:32 -05:00
|
|
|
</project>
|