Skip to content
Snippets Groups Projects
Commit fd2f2cda authored by srosse's avatar srosse
Browse files

OO-3295: update spring framework to version 5.0.3 and slf4j to version 1.7.25

parent 3416e94d
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<targetJdk>1.8</targetJdk>
<org.springframework.version>4.3.14.RELEASE</org.springframework.version>
<org.springframework.version>5.0.3.RELEASE</org.springframework.version>
<org.hibernate.version>5.2.13.Final</org.hibernate.version>
<com.sun.jersey.version>1.19.4</com.sun.jersey.version>
<jackson.version>1.9.2</jackson.version>
......@@ -2075,23 +2075,23 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.11</version>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.11</version>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jul-to-slf4j</artifactId>
<version>1.5.8</version>
<version>1.7.25</version>
</dependency>
<!-- Replace commons-logging -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.5.8</version>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
......@@ -2270,6 +2270,12 @@
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>2.2.3</version>
<exclusions>
<exclusion>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
......@@ -2350,9 +2356,9 @@
<artifactId>spring-core</artifactId>
<version>${org.springframework.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<exclusion><!-- use jlc-over-slfj because we still use log4j version 1.2 -->
<groupId>org.springframework</groupId>
<artifactId>spring-jlc</artifactId>
</exclusion>
</exclusions>
</dependency>
......@@ -2365,23 +2371,11 @@
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${org.springframework.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${org.springframework.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
......@@ -2570,6 +2564,10 @@
<groupId>org.mortbay.jetty</groupId>
<artifactId>servlet-api-2.5</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- End test dependencies -->
......
......@@ -98,15 +98,6 @@
</listener-class>
</listener>
<!-- this only works in an expanded war file: Comment on spring website:
If you want to keep your WAR unexpanded or don't need application-specific log files within the WAR directory,
don't use log4j setup within the application (thus, don't use Log4jConfigListener or Log4jConfigServlet).
Instead, use a global, VM-wide log4j setup (for example, in JBoss) or JDK 1.4's java.util.logging (which is global too). -->
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<listener>
<listener-class>org.olat.restapi.security.RestApiSessionListener</listener-class>
</listener>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment