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
<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>
<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>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
- <artifactId>mail</artifactId>
+ <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>
<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>
\ No newline at end of file
