[JAVA-25150] Logback upgrade (#16288)

This commit is contained in:
Kasra Madadipouya 2024-04-12 17:41:02 +02:00 committed by GitHub
parent b98194040b
commit abdddad3b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 28 additions and 15 deletions

View File

@ -35,6 +35,8 @@
</modules> </modules>
<properties> <properties>
<org.slf4j.version>1.7.32</org.slf4j.version>
<logback.version>1.2.7</logback.version>
<!-- Can't update to the recent mockito version, without updating the spring boot version--> <!-- Can't update to the recent mockito version, without updating the spring boot version-->
<mockito.version>4.4.0</mockito.version> <mockito.version>4.4.0</mockito.version>
</properties> </properties>

View File

@ -60,7 +60,7 @@
<properties> <properties>
<h2.version>2.1.214</h2.version> <h2.version>2.1.214</h2.version>
<json-path.version>5.4.0</json-path.version> <json-path.version>5.4.0</json-path.version>
<spring-boot.version>2.5.0</spring-boot.version> <spring-boot.version>3.1.5</spring-boot.version>
</properties> </properties>
</project> </project>

View File

@ -1,9 +1,9 @@
package com.baeldung.jackson.jsonignorevstransient; package com.baeldung.jackson.jsonignorevstransient;
import javax.persistence.Entity; import jakarta.persistence.Entity;
import javax.persistence.Id; import jakarta.persistence.Id;
import javax.persistence.Table; import jakarta.persistence.Table;
import javax.persistence.Transient; import jakarta.persistence.Transient;
import java.io.Serializable; import java.io.Serializable;
@Entity @Entity

View File

@ -107,6 +107,8 @@
<spring-boot.version>2.7.11</spring-boot.version> <spring-boot.version>2.7.11</spring-boot.version>
<aspectj.version>1.9.20.1</aspectj.version> <aspectj.version>1.9.20.1</aspectj.version>
<mysql-connector-java.version>8.2.0</mysql-connector-java.version> <mysql-connector-java.version>8.2.0</mysql-connector-java.version>
<org.slf4j.version>1.7.32</org.slf4j.version>
<logback.version>1.2.7</logback.version>
</properties> </properties>
</project> </project>

View File

@ -47,12 +47,12 @@
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version> <version>${org.slf4j.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId> <artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version> <version>${org.slf4j.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -232,8 +232,6 @@
<spring-boot.version>3.1.5</spring-boot.version> <spring-boot.version>3.1.5</spring-boot.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version> <junit-jupiter.version>5.8.2</junit-jupiter.version>
<native-build-tools-plugin.version>0.9.17</native-build-tools-plugin.version> <native-build-tools-plugin.version>0.9.17</native-build-tools-plugin.version>
<logback.version>1.4.4</logback.version>
<slf4j.version>2.0.3</slf4j.version>
</properties> </properties>
</project> </project>

View File

@ -72,6 +72,8 @@
<spring-integration-test.version>5.5.14</spring-integration-test.version> <spring-integration-test.version>5.5.14</spring-integration-test.version>
<camel-core.version>3.20.4</camel-core.version> <camel-core.version>3.20.4</camel-core.version>
<camel-test-junit5.version>3.14.0</camel-test-junit5.version> <camel-test-junit5.version>3.14.0</camel-test-junit5.version>
<org.slf4j.version>1.7.32</org.slf4j.version>
<logback.version>1.2.7</logback.version>
</properties> </properties>
</project> </project>

View File

@ -3,7 +3,6 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>monkey-patching</artifactId> <artifactId>monkey-patching</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
<name>monkey-patching</name> <name>monkey-patching</name>
@ -19,12 +18,12 @@
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<version>2.7.0</version> <version>${spring-boot.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<version>2.7.0</version> <version>${spring-boot.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -45,5 +44,7 @@
<properties> <properties>
<spring-boot.version>2.7.0</spring-boot.version> <spring-boot.version>2.7.0</spring-boot.version>
<org.slf4j.version>1.7.32</org.slf4j.version>
<logback.version>1.2.7</logback.version>
</properties> </properties>
</project> </project>

View File

@ -48,6 +48,8 @@
<properties> <properties>
<spring-boot.version>2.7.14</spring-boot.version> <spring-boot.version>2.7.14</spring-boot.version>
<neo4j-harness.version>5.10.0</neo4j-harness.version> <neo4j-harness.version>5.10.0</neo4j-harness.version>
<org.slf4j.version>1.7.32</org.slf4j.version>
<logback.version>1.2.7</logback.version>
</properties> </properties>
</project> </project>

View File

@ -101,6 +101,8 @@
<spring-data-jpa.version>2.2.7.RELEASE</spring-data-jpa.version> <spring-data-jpa.version>2.2.7.RELEASE</spring-data-jpa.version>
<simple-jndi.version>0.23.0</simple-jndi.version> <simple-jndi.version>0.23.0</simple-jndi.version>
<hsqldb.version>2.5.2</hsqldb.version> <hsqldb.version>2.5.2</hsqldb.version>
<org.slf4j.version>1.7.32</org.slf4j.version>
<logback.version>1.2.7</logback.version>
</properties> </properties>
</project> </project>

View File

@ -1156,8 +1156,8 @@
<!-- logging --> <!-- logging -->
<!-- overwriting in the slf4j and logback in the hibernate-jpa, spring-data-eclipselink. When updated to the latest version remove the version from that module--> <!-- overwriting in the slf4j and logback in the hibernate-jpa, spring-data-eclipselink. When updated to the latest version remove the version from that module-->
<org.slf4j.version>1.7.32</org.slf4j.version> <org.slf4j.version>2.0.12</org.slf4j.version>
<logback.version>1.2.7</logback.version> <logback.version>1.5.3</logback.version>
<!-- plugins --> <!-- plugins -->
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>

View File

@ -75,6 +75,8 @@
<properties> <properties>
<spring-cloud.version>Camden.SR7</spring-cloud.version> <spring-cloud.version>Camden.SR7</spring-cloud.version>
<feign-ok.version>8.18.0</feign-ok.version> <feign-ok.version>8.18.0</feign-ok.version>
<org.slf4j.version>1.7.32</org.slf4j.version>
<logback.version>1.2.7</logback.version>
</properties> </properties>
</project> </project>

View File

@ -21,7 +21,7 @@
</parent> </parent>
<modules> <modules>
<module>remoting-hessian-burlap</module> <!-- <module>remoting-hessian-burlap</module>-->
<module>remoting-http</module> <module>remoting-http</module>
<module>remoting-amqp</module> <module>remoting-amqp</module>
<module>remoting-jms</module> <module>remoting-jms</module>

View File

@ -106,6 +106,8 @@
<hystrix.version>1.5.12</hystrix.version> <hystrix.version>1.5.12</hystrix.version>
<groovy-sql.version>2.4.15</groovy-sql.version> <groovy-sql.version>2.4.15</groovy-sql.version>
<ratpack.test.latest.version>1.6.1</ratpack.test.latest.version> <ratpack.test.latest.version>1.6.1</ratpack.test.latest.version>
<org.slf4j.version>1.7.32</org.slf4j.version>
<logback.version>1.2.7</logback.version>
</properties> </properties>
</project> </project>