From 43564883c804c3b49c26fd68a5934f8bff56a155 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Sun, 7 Apr 2013 13:40:56 +0200 Subject: [PATCH 1/4] Updated plugin dependencies in booking-mvc example. - Compiler plugin 2.3.2 -> 3.0 - Tomcat plugin 2.0-SNAPSHOT -> 2.1 - Surefire plugin 2.12 -> 2.14 --- booking-mvc/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/booking-mvc/pom.xml b/booking-mvc/pom.xml index 3c17ea0..38eaef5 100644 --- a/booking-mvc/pom.xml +++ b/booking-mvc/pom.xml @@ -280,7 +280,7 @@ org.apache.maven.plugins maven-compiler-plugin - 2.3.2 + 3.0 1.6 1.6 @@ -289,7 +289,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.12 + 2.14 junit:junit @@ -300,7 +300,7 @@ org.apache.tomcat.maven tomcat7-maven-plugin - 2.0-SNAPSHOT + 2.1 org.apache.maven.plugins From d76d897fb6558d0222d7a1efaa90b56acb504427 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Sun, 7 Apr 2013 13:44:40 +0200 Subject: [PATCH 2/4] Upgraded dependency versions. - Spring 3.2.1 -> 3.2.2 - Slf4j 1.6.1 -> 1.7.5 - Log4j 1.2.15 -> 1.2.16 (allows getting rid of exclusions) - HSQLDB 1.8.0.10 -> 2.2.9 - Hibernate 3.5.0 -> 4.2.0 - JodaTime 1.6 -> 2.2 - JodaTime JPS Tags 1.0.2 -> 1.1.1 - Easymock 2.5.2 -> 3.1 - JUnit 3.8.2 -> 4.11 --- booking-mvc/pom.xml | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/booking-mvc/pom.xml b/booking-mvc/pom.xml index 38eaef5..794ed22 100644 --- a/booking-mvc/pom.xml +++ b/booking-mvc/pom.xml @@ -9,10 +9,10 @@ 1.0.0.BUILD-SNAPSHOT - 3.2.1.RELEASE + 3.2.2.RELEASE 3.1.3.RELEASE 2.4.0.M1 - 1.6.1 + 1.7.5 2.0.15 2.0.0 2.0.0 @@ -142,25 +142,7 @@ log4j log4j - 1.2.15 - - - javax.mail - mail - - - javax.jms - jms - - - com.sun.jdmk - jmxtools - - - com.sun.jmx - jmxri - - + 1.2.16 runtime @@ -168,13 +150,13 @@ org.hsqldb hsqldb - 1.8.0.10 + 2.2.9 runtime org.hibernate hibernate-entitymanager - 3.5.0-Final + 4.2.0.Final @@ -244,12 +226,12 @@ joda-time joda-time - 1.6 + 2.2 joda-time joda-time-jsptags - 1.0.2 + 1.1.1 runtime @@ -257,13 +239,13 @@ org.easymock easymock - 2.5.2 + 3.1 test junit junit - 3.8.2 + 4.11 test From 5782d44467ec9db0045314f9cf3f5f0bc8374df0 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Sun, 7 Apr 2013 13:52:10 +0200 Subject: [PATCH 3/4] Added current Jetty plugin to enable mvn jetty:run. --- booking-mvc/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/booking-mvc/pom.xml b/booking-mvc/pom.xml index 794ed22..1178a3a 100644 --- a/booking-mvc/pom.xml +++ b/booking-mvc/pom.xml @@ -284,6 +284,11 @@ tomcat7-maven-plugin 2.1 + + org.eclipse.jetty + jetty-maven-plugin + 9.0.0.v20130308 + org.apache.maven.plugins maven-eclipse-plugin From 0495da665ca6a78e83466d4035ac5861627502f0 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Sun, 7 Apr 2013 14:01:35 +0200 Subject: [PATCH 4/4] Polished dependency declaration. Explicitly declare spring-sop to avoid unnecessary exclusions. Excluded Commons Logging explicitly to make sure the Slf4j bridge kicks in. --- booking-mvc/pom.xml | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/booking-mvc/pom.xml b/booking-mvc/pom.xml index 1178a3a..a323fea 100644 --- a/booking-mvc/pom.xml +++ b/booking-mvc/pom.xml @@ -62,6 +62,12 @@ org.springframework spring-web ${springframework-version} + + + commons-logging + commons-logging + + org.springframework @@ -78,48 +84,47 @@ spring-orm ${springframework-version} + + org.springframework + spring-aop + ${springframework-version} + org.springframework.webflow spring-webflow ${webflow-version} + + + commons-logging + commons-logging + + org.springframework.webflow spring-js ${webflow-version} + + + commons-logging + commons-logging + + org.springframework.security spring-security-web ${springsecurity-version} - - - org.springframework - spring-aop - - org.springframework.security spring-security-taglibs ${springsecurity-version} - - - org.springframework - spring-aop - - org.springframework.security spring-security-config - ${springsecurity-version} - - - org.springframework - spring-aop - - + ${springsecurity-version}