From 2499509ada6e437823c0b5af0171b43e01446ed4 Mon Sep 17 00:00:00 2001 From: eugenp Date: Sun, 9 Nov 2014 20:11:22 +0200 Subject: [PATCH] cleanup work --- handling-spring-static-resources/pom.xml | 215 +++++++++++------- .../AsynchronousSpringEventsConfig.java | 3 +- .../CustomSpringEventPublisher.java | 1 + 3 files changed, 140 insertions(+), 79 deletions(-) diff --git a/handling-spring-static-resources/pom.xml b/handling-spring-static-resources/pom.xml index fb29bf1a3d..2a78e4cc98 100644 --- a/handling-spring-static-resources/pom.xml +++ b/handling-spring-static-resources/pom.xml @@ -1,84 +1,91 @@ - + 4.0.0 org.baeldung handling-spring-static-resources handling-spring-static-resources + 0.1-SNAPSHOT war - 1.0.0-BUILD-SNAPSHOT - - 1.7 - 4.1.0.RELEASE - 3.2.0.RELEASE - 1.8.1 - 1.6.1 - - 2.3.2-b01 - + + + + + org.springframework.security + spring-security-web + ${org.springframework.security.version} + + + org.springframework.security + spring-security-config + ${org.springframework.security.version} + + + org.springframework.security + spring-security-taglibs + ${org.springframework.security.version} + + org.springframework - spring-context - 4.1.0.RELEASE + spring-core + ${org.springframework.version} - - commons-logging commons-logging + commons-logging org.springframework - spring-webmvc - ${org.springframework-version} - - - org.springframework.security - spring-security-config - 3.2.5.RELEASE - runtime + spring-context + ${org.springframework.version} org.springframework - spring-context-support - 4.1.0.RELEASE + spring-jdbc + ${org.springframework.version} - + + org.springframework + spring-beans + ${org.springframework.version} + + + org.springframework + spring-aop + ${org.springframework.version} + + + org.springframework + spring-tx + ${org.springframework.version} + + + org.springframework + spring-expression + ${org.springframework.version} + + + + org.springframework + spring-web + ${org.springframework.version} + + + org.springframework + spring-webmvc + ${org.springframework.version} + + + org.aspectj aspectjrt ${org.aspectj-version} - - - - org.slf4j - slf4j-api - ${org.slf4j-version} - - - org.slf4j - jcl-over-slf4j - ${org.slf4j-version} - runtime - - - org.slf4j - slf4j-log4j12 - ${org.slf4j-version} - runtime - - - log4j - log4j - 1.2.16 - runtime - - - javax.inject javax.inject @@ -101,31 +108,15 @@ jstl 1.2 - - - org.springframework.security - spring-security-taglibs - 3.2.5.RELEASE - - com.fasterxml.jackson.core jackson-databind - 2.4.1 - - - - - - - javax.validation - validation-api - 1.0.0.GA + ${jackson.version} org.hibernate hibernate-validator - 4.1.0.Final + ${hibernate-validator.version} @@ -141,13 +132,31 @@ handlebars 1.3.2 - - - org.springframework.security - spring-security-web - ${org.springframework.security-version} - + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + + org.slf4j + jcl-over-slf4j + ${org.slf4j.version} + + + + org.slf4j + log4j-over-slf4j + ${org.slf4j.version} + @@ -160,4 +169,54 @@ + + + 1.7 + 4.1.0.RELEASE + 3.2.0.RELEASE + 1.8.1 + 1.6.1 + 2.3.2-b01 + + + 4.1.1.RELEASE + 3.2.5.RELEASE + + + 4.3.7.Final + 5.1.32 + 1.6.2.RELEASE + + + + 2.4.2 + + + 1.7.7 + 1.1.2 + + + 5.1.3.Final + + + 18.0 + 3.3.2 + + + 1.3 + 4.11 + 1.10.8 + + 4.3.3 + 4.3.5 + + 2.3.4 + + + 3.2 + 2.5 + 2.17 + 1.4.10 + + \ No newline at end of file diff --git a/spring-all/src/main/java/org/baeldung/springevents/asynchronous/AsynchronousSpringEventsConfig.java b/spring-all/src/main/java/org/baeldung/springevents/asynchronous/AsynchronousSpringEventsConfig.java index 93f61bf517..082a986974 100644 --- a/spring-all/src/main/java/org/baeldung/springevents/asynchronous/AsynchronousSpringEventsConfig.java +++ b/spring-all/src/main/java/org/baeldung/springevents/asynchronous/AsynchronousSpringEventsConfig.java @@ -12,9 +12,10 @@ import org.springframework.core.task.SimpleAsyncTaskExecutor; public class AsynchronousSpringEventsConfig { @Bean(name = "applicationEventMulticaster") - public static ApplicationEventMulticaster simpleApplicationEventMulticaster() { + public ApplicationEventMulticaster simpleApplicationEventMulticaster() { final SimpleApplicationEventMulticaster simpleApplicationEventMulticaster = new SimpleApplicationEventMulticaster(); simpleApplicationEventMulticaster.setTaskExecutor(new SimpleAsyncTaskExecutor()); return simpleApplicationEventMulticaster; } + } diff --git a/spring-all/src/main/java/org/baeldung/springevents/synchronous/CustomSpringEventPublisher.java b/spring-all/src/main/java/org/baeldung/springevents/synchronous/CustomSpringEventPublisher.java index decbcf446a..4569de1d5e 100644 --- a/spring-all/src/main/java/org/baeldung/springevents/synchronous/CustomSpringEventPublisher.java +++ b/spring-all/src/main/java/org/baeldung/springevents/synchronous/CustomSpringEventPublisher.java @@ -15,4 +15,5 @@ public class CustomSpringEventPublisher { final CustomSpringEvent customSpringEvent = new CustomSpringEvent(this, message); applicationEventPublisher.publishEvent(customSpringEvent); } + }