Update Logback Article

Added logbak-core-1.3.5 to pom
Updated logback.version to 1.3.5
Added slf4j - 2.0.4 to pom
Updated javax.mail from 1.4.7 to javax.mail-api 1.6.2
Updated javax.activation to javax.activation-api 1.2.0
Ran both mvn clean verify and
mvn exec:java -Dexec.mainClass="com.baeldung.logback.Example" without
errors
This commit is contained in:
TomVerkon 2022-12-22 15:28:28 -05:00
parent ba7371baac
commit 51965c1ecc
1 changed files with 18 additions and 5 deletions

View File

@ -24,6 +24,11 @@
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback.contrib</groupId>
<artifactId>logback-json-classic</artifactId>
@ -34,6 +39,11 @@
<artifactId>logback-jackson</artifactId>
<version>${logback.contrib.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
@ -56,15 +66,16 @@
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>${javax.mail.version}</version>
<artifactId>javax.mail-api</artifactId>
<version>${javax.mail.version}</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<artifactId>javax.activation-api</artifactId>
<version>${javax.activation.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<profiles>
@ -106,8 +117,10 @@
<json.version>20180130</json.version>
<logback.contrib.version>0.1.5</logback.contrib.version>
<docx4j.version>3.3.5</docx4j.version>
<javax.mail.version>1.4.7</javax.mail.version>
<javax.activation.version>1.1.1</javax.activation.version>
<javax.mail.version>1.6.2</javax.mail.version>
<javax.activation.version>1.2.0</javax.activation.version>
<logback.version>1.3.5</logback.version>
<slf4j.version>2.0.4</slf4j.version>
</properties>
</project>