From 930c34c8d3bbb61485664d3a953e22c8b231954f Mon Sep 17 00:00:00 2001 From: eugenp Date: Fri, 6 Dec 2013 11:26:26 +0200 Subject: [PATCH] Eclipse cleanup and maven build fix --- spring-mvc-java/.classpath | 11 +- .../.settings/org.eclipse.jdt.core.prefs | 6 +- .../org.eclipse.wst.common.component | 2 +- ....eclipse.wst.common.project.facet.core.xml | 2 +- .../org.eclipse.wst.validation.prefs | 3 +- spring-mvc-java/pom.xml | 277 ++++++++++-------- 6 files changed, 162 insertions(+), 139 deletions(-) diff --git a/spring-mvc-java/.classpath b/spring-mvc-java/.classpath index efc51b414b..26784dcaf4 100644 --- a/spring-mvc-java/.classpath +++ b/spring-mvc-java/.classpath @@ -22,14 +22,15 @@ - - - - - + + + + + + diff --git a/spring-mvc-java/.settings/org.eclipse.jdt.core.prefs b/spring-mvc-java/.settings/org.eclipse.jdt.core.prefs index 0924ed68cf..0f5e334907 100644 --- a/spring-mvc-java/.settings/org.eclipse.jdt.core.prefs +++ b/spring-mvc-java/.settings/org.eclipse.jdt.core.prefs @@ -5,8 +5,8 @@ org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annota org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.autoboxing=ignore @@ -88,4 +88,4 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disa org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.7 +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/spring-mvc-java/.settings/org.eclipse.wst.common.component b/spring-mvc-java/.settings/org.eclipse.wst.common.component index 73770253ee..386dfc1dcd 100644 --- a/spring-mvc-java/.settings/org.eclipse.wst.common.component +++ b/spring-mvc-java/.settings/org.eclipse.wst.common.component @@ -4,7 +4,7 @@ - + diff --git a/spring-mvc-java/.settings/org.eclipse.wst.common.project.facet.core.xml b/spring-mvc-java/.settings/org.eclipse.wst.common.project.facet.core.xml index a67649dfa5..546ff4ce8c 100644 --- a/spring-mvc-java/.settings/org.eclipse.wst.common.project.facet.core.xml +++ b/spring-mvc-java/.settings/org.eclipse.wst.common.project.facet.core.xml @@ -1,6 +1,6 @@ - + diff --git a/spring-mvc-java/.settings/org.eclipse.wst.validation.prefs b/spring-mvc-java/.settings/org.eclipse.wst.validation.prefs index cacf5451ae..0d0aee4f72 100644 --- a/spring-mvc-java/.settings/org.eclipse.wst.validation.prefs +++ b/spring-mvc-java/.settings/org.eclipse.wst.validation.prefs @@ -1,7 +1,8 @@ DELEGATES_PREFERENCE=delegateValidatorList USER_BUILD_PREFERENCE=enabledBuildValidatorListorg.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator; USER_MANUAL_PREFERENCE=enabledManualValidatorListorg.eclipse.jst.j2ee.internal.classpathdep.ClasspathDependencyValidator; -USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationfalseversion1.2.303.v201202090300 +USER_PREFERENCE=overrideGlobalPreferencestruedisableAllValidationfalseversion1.2.402.v201212031633 +disabled=06target eclipse.preferences.version=1 override=true suspend=false diff --git a/spring-mvc-java/pom.xml b/spring-mvc-java/pom.xml index 038e70b845..0cf687e6f7 100644 --- a/spring-mvc-java/pom.xml +++ b/spring-mvc-java/pom.xml @@ -1,158 +1,179 @@ - 4.0.0 - org.baeldung - spring-mvc-java - 0.1-SNAPSHOT + 4.0.0 + org.baeldung + spring-mvc-java + 0.1-SNAPSHOT - spring-mvc-java - war + spring-mvc-java + war - + - + - - org.springframework - spring-web - ${org.springframework.version} - - - org.springframework - spring-webmvc - ${org.springframework.version} - + + org.springframework + spring-web + ${org.springframework.version} + + + org.springframework + spring-webmvc + ${org.springframework.version} + - + - - javax.servlet - javax.servlet-api - 3.0.1 - provided - + + javax.servlet + javax.servlet-api + 3.0.1 + provided + - - javax.servlet - jstl - 1.2 - runtime - + + javax.servlet + jstl + 1.2 + runtime + - + - - junit - junit-dep - ${junit.version} - test - + + junit + junit-dep + ${junit.version} + test + - - org.hamcrest - hamcrest-core - ${org.hamcrest.version} - test - - - org.hamcrest - hamcrest-library - ${org.hamcrest.version} - test - + + org.hamcrest + hamcrest-core + ${org.hamcrest.version} + test + + + org.hamcrest + hamcrest-library + ${org.hamcrest.version} + test + - - org.mockito - mockito-core - ${mockito.version} - test - + + org.mockito + mockito-core + ${mockito.version} + test + - + - - spring-mvc - - - src/main/resources - true - - + + spring-mvc + + + src/main/resources + true + + - + - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - - - - - - + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + + + + + + + - - org.codehaus.cargo - cargo-maven2-plugin - ${cargo-maven2-plugin.version} - - true - - jetty8x - embedded - - - - - - - 8082 - - - - + + org.codehaus.cargo + cargo-maven2-plugin + ${cargo-maven2-plugin.version} + + true + + jetty8x + embedded + + + + + + + 8082 + + + + - + + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.6 + 1.6 + + - + + org.apache.maven.plugins + maven-war-plugin + 2.4 + + false + + - - - 3.2.4.RELEASE - 3.1.4.RELEASE + - - 4.2.4.Final - 5.1.26 + - - 1.7.5 - 1.0.11 + + + 3.2.5.RELEASE + 3.1.4.RELEASE - - 5.0.1.Final + + 4.2.8.Final + 5.1.27 - - 14.0.1 - 3.1 + + 1.7.5 + 1.0.11 - - 1.3 - 4.11 - 1.9.5 + + 5.0.1.Final - 4.2.4 - 4.2.5 + + 15.0 + 3.1 - 1.8.1 - 1.8.9 + + 1.3 + 4.11 + 1.9.5 - - 1.4.3 - 2.16 - + 4.3 + 4.3.1 + + 2.0.1 + 1.8.9 + + + 1.4.5 + 3.1 + 2.6 + 2.16 + + \ No newline at end of file