Add optional Logback and Log4j (to SLF4J) dependencies to the runtime classpath for testing.
This commit is contained in:
15
pom.xml
15
pom.xml
@@ -85,6 +85,7 @@
|
|||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<assertj.version>3.13.2</assertj.version>
|
<assertj.version>3.13.2</assertj.version>
|
||||||
<junit.version>4.12</junit.version>
|
<junit.version>4.12</junit.version>
|
||||||
|
<log4j.version>2.12.1</log4j.version>
|
||||||
<logback.version>1.2.3</logback.version>
|
<logback.version>1.2.3</logback.version>
|
||||||
<lombok.version>1.18.10</lombok.version>
|
<lombok.version>1.18.10</lombok.version>
|
||||||
<mockito.version>3.1.0</mockito.version>
|
<mockito.version>3.1.0</mockito.version>
|
||||||
@@ -179,6 +180,7 @@
|
|||||||
<groupId>org.springframework.data</groupId>
|
<groupId>org.springframework.data</groupId>
|
||||||
<artifactId>spring-data-geode</artifactId>
|
<artifactId>spring-data-geode</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<!-- Spring Shell and Logging (Log4j and Logback) dependencies only required for Testing -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.shell</groupId>
|
<groupId>org.springframework.shell</groupId>
|
||||||
<artifactId>spring-shell</artifactId>
|
<artifactId>spring-shell</artifactId>
|
||||||
@@ -186,6 +188,19 @@
|
|||||||
<optional>true</optional>
|
<optional>true</optional>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.logging.log4j</groupId>
|
||||||
|
<artifactId>log4j-to-slf4j</artifactId>
|
||||||
|
<version>${log4j.version}</version>
|
||||||
|
<optional>true</optional>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>ch.qos.logback</groupId>
|
||||||
|
<artifactId>logback-classic</artifactId>
|
||||||
|
<optional>true</optional>
|
||||||
|
<scope>runtime</scope>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
Reference in New Issue
Block a user