diff --git a/spring-hibernate3/.classpath b/spring-hibernate3/.classpath
index eed10d8a8b..efc51b414b 100644
--- a/spring-hibernate3/.classpath
+++ b/spring-hibernate3/.classpath
@@ -30,7 +30,6 @@
-
diff --git a/spring-hibernate3/pom.xml b/spring-hibernate3/pom.xml
index e426ee4817..fcb39ceee7 100644
--- a/spring-hibernate3/pom.xml
+++ b/spring-hibernate3/pom.xml
@@ -6,22 +6,11 @@
0.1-SNAPSHOT
spring-hibernate3
- war
-
- org.springframework
- spring-web
- ${org.springframework.version}
-
-
- org.springframework
- spring-orm
- ${org.springframework.version}
-
org.springframework
spring-context
@@ -29,7 +18,13 @@
-
+
+
+ org.springframework
+ spring-orm
+ ${org.springframework.version}
+
+
org.hibernate
hibernate-core
@@ -46,13 +41,13 @@
${mysql-connector-java.version}
runtime
-
+
org.apache.tomcat
tomcat-dbcp
${tomcat-dbcp.version}
-
+
@@ -127,12 +122,6 @@
-
- org.apache.maven.plugins
- maven-war-plugin
- ${maven-war-plugin.version}
-
-
org.apache.maven.plugins
maven-surefire-plugin
@@ -206,7 +195,6 @@
3.1
- 2.4
2.17
2.6
1.4.8
diff --git a/spring-hibernate4/.classpath b/spring-hibernate4/.classpath
index ca257cf1f9..15b58ba46e 100644
--- a/spring-hibernate4/.classpath
+++ b/spring-hibernate4/.classpath
@@ -30,7 +30,6 @@
-
diff --git a/spring-hibernate4/pom.xml b/spring-hibernate4/pom.xml
index 847b0b5b79..94632e2225 100644
--- a/spring-hibernate4/pom.xml
+++ b/spring-hibernate4/pom.xml
@@ -4,19 +4,13 @@
org.baeldung
spring-hibernate4
0.1-SNAPSHOT
-
+
spring-hibernate4
- war
-
- org.springframework
- spring-web
- ${org.springframework.version}
-
org.springframework
spring-context
@@ -135,12 +129,6 @@
-
- org.apache.maven.plugins
- maven-war-plugin
- ${maven-war-plugin.version}
-
-
org.apache.maven.plugins
maven-surefire-plugin
@@ -212,10 +200,8 @@
2.3.1
-
3.1
- 2.4
2.17
2.6
1.4.8
diff --git a/spring-hibernate4/src/main/webapp/WEB-INF/web.xml b/spring-hibernate4/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 64b5f6826d..0000000000
--- a/spring-hibernate4/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
- Spring Hibernate 4 Application
-
- contextClass
-
- org.springframework.web.context.support.AnnotationConfigWebApplicationContext
-
-
-
- contextConfigLocation
- org.baeldung.spring
-
-
- org.springframework.web.context.ContextLoaderListener
-
-
\ No newline at end of file
diff --git a/spring-jpa/.classpath b/spring-jpa/.classpath
index 6cb510b80c..1210cf3d11 100644
--- a/spring-jpa/.classpath
+++ b/spring-jpa/.classpath
@@ -25,7 +25,6 @@
-
diff --git a/spring-jpa/.springBeans b/spring-jpa/.springBeans
index 7623a7e888..fc808d21d4 100644
--- a/spring-jpa/.springBeans
+++ b/spring-jpa/.springBeans
@@ -1,14 +1,15 @@
1
-
+
- src/main/webapp/WEB-INF/mvc-servlet.xml
+
+
diff --git a/spring-jpa/pom.xml b/spring-jpa/pom.xml
index 6eb0155a58..71887c0eee 100644
--- a/spring-jpa/pom.xml
+++ b/spring-jpa/pom.xml
@@ -6,18 +6,12 @@
spring-jpa
0.1-SNAPSHOT
- war
spring-jpa
-
- org.springframework
- spring-web
- ${org.springframework.version}
-
org.springframework
spring-orm
@@ -130,12 +124,6 @@
-
- org.apache.maven.plugins
- maven-war-plugin
- ${maven-war-plugin.version}
-
-
org.apache.maven.plugins
maven-surefire-plugin
@@ -205,13 +193,12 @@
2.3.1
-
3.1
- 2.4
2.17
2.6
1.4.8
+
diff --git a/spring-jpa/src/main/webapp/WEB-INF/mvc-servlet.xml b/spring-jpa/src/main/webapp/WEB-INF/mvc-servlet.xml
deleted file mode 100644
index a675fc6d95..0000000000
--- a/spring-jpa/src/main/webapp/WEB-INF/mvc-servlet.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/spring-jpa/src/main/webapp/WEB-INF/view/sample.jsp b/spring-jpa/src/main/webapp/WEB-INF/view/sample.jsp
deleted file mode 100644
index 7cc14b5dcd..0000000000
--- a/spring-jpa/src/main/webapp/WEB-INF/view/sample.jsp
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
- This is the body of the sample view
-
-
\ No newline at end of file
diff --git a/spring-jpa/src/main/webapp/WEB-INF/web.xml b/spring-jpa/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 881018134e..0000000000
--- a/spring-jpa/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
- Spring JPA Application
-
-
- contextClass
-
- org.springframework.web.context.support.AnnotationConfigWebApplicationContext
-
-
-
- contextConfigLocation
- org.baeldung.config
-
-
- org.springframework.web.context.ContextLoaderListener
-
-
-