2016-09-16 19:29:51 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2016-12-26 11:09:10 -05: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">
|
2018-04-26 08:37:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>log4j2</artifactId>
|
2016-09-16 19:29:51 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<relativePath>../../</relativePath>
|
|
|
|
</parent>
|
2016-09-16 19:29:51 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<dependencies>
|
|
|
|
<!-- This is the needed core component. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>${log4j-core.version}</version>
|
|
|
|
</dependency>
|
2018-07-26 16:57:19 -04:00
|
|
|
|
|
|
|
<!-- This is the needed API component. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<version>${log4j-core.version}</version>
|
|
|
|
</dependency>
|
2016-10-28 15:04:41 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- This is used by JSONLayout. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
2016-09-16 19:29:51 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- This is used by XMLLayout. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
2016-09-16 19:29:51 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- This is used by JDBC Appender. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-dbcp2</artifactId>
|
|
|
|
<version>${commons-dbcp2.version}</version>
|
|
|
|
</dependency>
|
2016-10-02 14:50:41 -04:00
|
|
|
|
2018-04-26 08:37:47 -04:00
|
|
|
<!-- This is used for testing only. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>${log4j-core.version}</version>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-07-12 03:04:54 -04:00
|
|
|
</dependencies>
|
2016-12-27 06:00:01 -05:00
|
|
|
|
2018-05-20 00:07:54 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2018-07-12 03:04:54 -04:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2018-05-20 00:07:54 -04:00
|
|
|
<configuration>
|
|
|
|
<proc>none</proc>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2018-07-12 03:04:54 -04:00
|
|
|
|
2018-06-27 03:15:09 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*ManualTest.java</exclude>
|
|
|
|
<exclude>**/*LiveTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
<include>**/*IntTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
<logging.folder.path>${java.io.tmpdir}/${maven.build.timestamp}/logfile.json</logging.folder.path>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
2018-07-12 03:04:54 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<jackson.version>2.9.5</jackson.version>
|
|
|
|
<h2.version>1.4.193</h2.version>
|
|
|
|
<commons-dbcp2.version>2.1.1</commons-dbcp2.version>
|
|
|
|
<log4j-core.version>2.11.0</log4j-core.version>
|
|
|
|
<maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
|
|
|
|
</properties>
|
|
|
|
|
2018-07-26 16:57:19 -04:00
|
|
|
</project>
|