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"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2016-09-16 19:29:51 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>log4j2</artifactId>
|
|
|
|
|
2016-10-28 15:04:41 -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
|
|
|
<dependencies>
|
2016-10-28 15:04:41 -04:00
|
|
|
<!-- This is the needed core component. -->
|
2016-09-16 19:29:51 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
2016-12-10 14:42:50 -05:00
|
|
|
<version>${log4j-core.version}</version>
|
2016-09-16 19:29:51 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- This is used by JSONLayout. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2016-12-10 14:42:50 -05:00
|
|
|
<version>${jackson.version}</version>
|
2016-09-16 19:29:51 -04:00
|
|
|
</dependency>
|
|
|
|
|
2016-10-02 14:50:41 -04:00
|
|
|
<!-- This is used by XMLLayout. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.dataformat</groupId>
|
|
|
|
<artifactId>jackson-dataformat-xml</artifactId>
|
2016-12-10 14:42:50 -05:00
|
|
|
<version>${jackson.version}</version>
|
2016-10-02 14:50:41 -04:00
|
|
|
</dependency>
|
|
|
|
|
2016-10-03 05:27:05 -04:00
|
|
|
<!-- This is used by JDBC Appender. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
2016-12-10 14:42:50 -05:00
|
|
|
<version>${h2.version}</version>
|
2016-10-03 05:27:05 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-dbcp2</artifactId>
|
2016-12-10 14:42:50 -05:00
|
|
|
<version>${commons-dbcp2.version}</version>
|
2016-10-03 05:27:05 -04:00
|
|
|
</dependency>
|
|
|
|
|
2016-09-16 19:29:51 -04:00
|
|
|
<!-- This is used for testing only. -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
2016-12-10 14:42:50 -05:00
|
|
|
<version>${log4j-core.version}</version>
|
2016-09-16 19:29:51 -04:00
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2016-12-10 14:42:50 -05:00
|
|
|
<version>${junit.version}</version>
|
2016-09-16 19:29:51 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2016-12-26 11:09:10 -05:00
|
|
|
|
2016-09-16 19:29:51 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2016-12-10 14:42:50 -05:00
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
2016-10-28 15:04:41 -04:00
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
</configuration>
|
2016-09-16 19:29:51 -04:00
|
|
|
</plugin>
|
2016-12-26 11:09:10 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>${maven-surefire-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
|
|
<exclude>**/*LongRunningUnitTest.java</exclude>
|
|
|
|
<exclude>**/*ManualTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<testFailureIgnore>true</testFailureIgnore>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2016-09-16 19:29:51 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
2016-12-26 11:09:10 -05:00
|
|
|
|
2016-12-10 14:42:50 -05:00
|
|
|
<properties>
|
|
|
|
<jackson.version>2.8.5</jackson.version>
|
|
|
|
<h2.version>1.4.193</h2.version>
|
|
|
|
<commons-dbcp2.version>2.1.1</commons-dbcp2.version>
|
|
|
|
<log4j-core.version>2.7</log4j-core.version>
|
|
|
|
<junit.version>4.12</junit.version>
|
2016-12-27 06:00:01 -05:00
|
|
|
|
2016-12-10 14:42:50 -05:00
|
|
|
<maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version>
|
2016-12-27 06:00:01 -05:00
|
|
|
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
2016-12-10 14:42:50 -05:00
|
|
|
</properties>
|
2016-12-27 06:00:01 -05:00
|
|
|
|
2016-09-16 19:29:51 -04:00
|
|
|
</project>
|