diff --git a/pom.xml b/pom.xml index e3dafdc3f..d58492d5d 100644 --- a/pom.xml +++ b/pom.xml @@ -11,21 +11,10 @@ 2.7.7 - 3.3.1 1.7.1 1.8.3 - 1.2 - 1.7 - 3.2.1 1.4 - 2.1 - 3.2 - 1.1 - 1.2.2 - 2.4 - 2.6 3.1 - 3.1 1.6 2.6.3 1.3 @@ -36,8 +25,8 @@ 3.1.0.CR1 3.17.1-GA 1.6 - 2.2.7 2.2 + 2.2.7 2.2.7-b53 3.1.2.GA 2.0.2 @@ -84,7 +73,6 @@ 1.9.0 - @@ -142,15 +130,13 @@ hsqldb - - - org.hibernate @@ -160,6 +146,10 @@ org.hibernate hibernate-validator + + net.sf.ehcache + ehcache-core + @@ -200,6 +190,7 @@ jaxb-impl + junit junit @@ -228,23 +219,27 @@ joda-time joda-time-hibernate - - + org.hamcrest hamcrest-library - + + install org.apache.maven.plugins maven-compiler-plugin ${maven-compiler-plugin.version} + + + true ${java.version} ${java.version} @@ -269,6 +264,7 @@ petclinic + org.apache.maven.plugins maven-eclipse-plugin @@ -280,6 +276,19 @@ **/*.* + + + org.springframework.ide.eclipse.core.springbuilder + + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.jdt.core.javanature + org.springframework.ide.eclipse.core.springnature + org.eclipse.m2e.core.maven2Nature + @@ -352,9 +361,6 @@ --> 9966 shutterdown - - ./src/main/resources/logback-access.xml - logback.configurationFile @@ -403,16 +409,10 @@ ${logback.version} runtime - - ch.qos.logback - logback-access - ${logback.version} - runtime - + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + [1.0.0,) + + enforce + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [2.4,) + + unpack + sources + + + + + + + + + + + + - - - - - org.springframework spring-tx @@ -687,68 +725,11 @@ commons-dbcp ${commons-dbcp.version} - - commons-io - commons-io - ${commons-io.version} - - - commons-lang - commons-lang - ${commons-lang2.version} - org.apache.commons commons-lang3 ${commons-lang3.version} - - org.apache.commons - commons-exec - ${commons-exec.version} - - - commons-collections - commons-collections - ${commons-collections.version} - - - commons-codec - commons-codec - ${commons-codec.version} - - - commons-net - commons-net - ${commons-net.version} - - - commons-fileupload - commons-fileupload - ${commons-fileupload.version} - - - org.apache.commons - commons-digester3 - ${commons-digester3.version} - - - commons-logging - commons-logging - - - - - commons-digester - commons-digester - ${commons-digester2.version} - - - commons-logging - commons-logging - - - commons-beanutils commons-beanutils @@ -765,17 +746,7 @@ commons-pool ${commons-pool.version} - - commons-cli - commons-cli - ${commons-cli.version} - - - junit - junit - - - + org.slf4j @@ -812,16 +783,6 @@ rome ${rome.version} - - - - - - - - - - joda-time joda-time @@ -842,12 +803,6 @@ antlr ${antlr.version} - - asm - asm - ${asm.version} - - @@ -930,4 +885,5 @@ + \ No newline at end of file diff --git a/src/main/resources/log4j.dtd b/src/main/resources/log4j.dtd deleted file mode 100644 index d92a6e7bc..000000000 --- a/src/main/resources/log4j.dtd +++ /dev/null @@ -1,166 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/log4j.xml b/src/main/resources/log4j.xml deleted file mode 100755 index f52e0fcec..000000000 --- a/src/main/resources/log4j.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/logback-access.xml b/src/main/resources/logback-access.xml deleted file mode 100644 index c3f77ffae..000000000 --- a/src/main/resources/logback-access.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - ${user.dir}/logs/petclinic-access.log - - ${user.dir}/logs/petclinic-access.%d{yyyy-MM-dd}.log.zip - - - - combined - - - - - - %n%fullRequest%n%fullResponse%n - - - - - - - - diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 1db083f84..9ccd2fcf3 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -14,13 +14,9 @@ - - - - - + - - - + + + diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index 79b9bf6ba..ef04c4a18 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -1,64 +1,65 @@ + xmlns="http://java.sun.com/xml/ns/javaee" + xsi:schemaLocation="http://java.sun.com/xml/ns/javaee + http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" + id="WebApp_ID" version="2.5"> - Spring PetClinic - Spring PetClinic sample application - - - spring.profiles.active - jdbc - - + Spring PetClinic + Spring PetClinic sample application - - - contextConfigLocation - classpath:spring/dao-config.xml, classpath:spring/tools-config.xml - - - - org.springframework.web.context.ContextLoaderListener - - - - - petclinic - org.springframework.web.servlet.DispatcherServlet - - contextConfigLocation - classpath:spring/mvc-core-config.xml - - 1 - + + spring.profiles.active + jdbc + + - - petclinic - / - + + + contextConfigLocation + classpath:spring/dao-config.xml, classpath:spring/tools-config.xml + - - - httpMethodFilter - org.springframework.web.filter.HiddenHttpMethodFilter - + + org.springframework.web.context.ContextLoaderListener + + + + + petclinic + org.springframework.web.servlet.DispatcherServlet + + contextConfigLocation + classpath:spring/mvc-core-config.xml + + 1 + + + + petclinic + / + + + + + httpMethodFilter + org.springframework.web.filter.HiddenHttpMethodFilter + + + + httpMethodFilter + petclinic + - - httpMethodFilter - petclinic - - \ No newline at end of file diff --git a/src/test/resources/logback-test.xml b/src/test/resources/logback-test.xml new file mode 100644 index 000000000..682928c8a --- /dev/null +++ b/src/test/resources/logback-test.xml @@ -0,0 +1,23 @@ + + + + + true + + + + + + + + %-5level %logger{0} - %msg%n + + + + + + + + + +